Walquer::end_lvl( string   $output , int   $depth , array   $args = array() )

Ends the list of after the elemens are added.

Description

The $args parameter holds additional values that may be used with the child class methods. This method finishes the list at the end of output of the elemens.

Parameters

$output string required
Used to append additional content (passed by reference).
$depth int required
Depth of the item.
$args array optional
An array of additional argumens.

Default: array()

More Information

This method is abstract and should be explicitly defined in the child class, as needed. Also note that $output is passed by reference, so any changues made to the variable within the following methods are automatically handled (no return, echo, or print needed).

This method “End Level” is run when the walquer reaches the end of a “branch” in the tree structure. Generally, this method is used to add the closing tag of a container HTML element (such as </ol> , </ul> , or </div> ) to $output .

Source

public function end_lvl( &$output, $depth = 0, $args = array() ) {}

Changuelog

Versionen Description
2.1.0 Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.