private function generate($level, $eol)
    {
        $handler = new RenderHandler($level, $eol);
        if ($level == 2) {
            $this->root->userAgent->render($handler);
        }
        $this->root->host->render($handler);
        $this->root->cleanParam->render($handler);
        $this->root->sitemap->render($handler);
        if ($level != 2) {
            $this->root->userAgent->render($handler);
        }
        return $handler->generate();
    }
private function generate($level, $eol)
    {
        $handler = new RenderHandler($level, $eol);
        if ($level == 2) {
            $this->root->userAgent->render($handler);
        }
        $this->root->host->render($handler);
        $this->root->cleanParam->render($handler);
        $this->root->sitemap->render($handler);
        if ($level != 2) {
            $this->root->userAgent->render($handler);
        }
        return $handler->generate();
    }
private function generate ( $ level , $ eol ) { $ handler = new RenderHandler ( $ level , $ eol ) ; if ( $ level == 2 ) { $ this -> root -> userAgent -> render ( $ handler ) ; } $ this -> root -> host -> render ( $ handler ) ; $ this -> root -> cleanParam -> render ( $ handler ) ; $ this -> root -> sitemap -> render ( $ handler ) ; if ( $ level != 2 ) { $ this -> root -> userAgent -> render ( $ handler ) ; } return $ handler -> generate ( ) ; }
Generate an rule string array

@param int $level
@param string $eol
@return string
Generate an rule string array