private function get_external_links_ul() { $welcome_div = new HTMLTags_Div(); $welcome_div->set_attribute_str('class', 'external-links'); $welcome_div->append_tag_to_content(Navigation_HTMLListsHelper::get_1d_ul('External Links')); return $welcome_div; }
public function get_features_navigation_div() { $div = new HTMLTags_Div(); $div->set_id('features_navigation'); $ul = Navigation_HTMLListsHelper::get_1d_ul('features'); $div->append($ul); return $div; }
public static function render_ul($tree_name, $class_name = NULL) { //$nodes = Navigation_1DTreeRetriever::get_tree_nodes($tree_name); // //#print_r($nodes); // //echo "<!-- $tree_name navigation UL -->\n"; // //echo "<ul class=\"$class_name\">\n"; // //foreach ($nodes as $node) { // echo "<li>\n"; // // Navigation_NodeRenderer::render_node($node); // // echo "</li>\n"; //} // //echo "</ul>\n"; $ul = Navigation_HTMLListsHelper::get_1d_ul($tree_name, $class_name); echo $ul->get_as_string(); }