protected function renderList($class, array $children)
    {
        $ul = new NodeElement();
        $ul->openTag('ul')
           ->addAttribute('class', $class)
           ->finalize(true)
           ->appendChildren($children)
           ->closeTag();

        return $ul->render();
    }
protected function renderList($class, array $children)
    {
        $ul = new NodeElement();
        $ul->openTag('ul')
           ->addAttribute('class', $class)
           ->finalize(true)
           ->appendChildren($children)
           ->closeTag();

        return $ul->render();
    }
protected function renderList ( $ class , array $ children ) { $ ul = new NodeElement ( ) ; $ ul -> openTag ( 'ul' ) -> addAttribute ( 'class' , $ class ) -> finalize ( true ) -> appendChildren ( $ children ) -> closeTag ( ) ; return $ ul -> render ( ) ; }
Creates a list

@param string $class UL class
@param array $children
@return string
Creates a list