PHP Class Foundationpress_Comments

Inheritance: extends Walker_Comment
Datei anzeigen Open project: olefredrik/foundationpress

Public Properties

Property Type Description
$db_fields Comment ID
$tree_type Init classwide variables.

Public Methods

Method Description
__construct ( ) CONSTRUCTOR You'll have to use this if you plan to get to the top of the comments list, as start_lvl() only goes as high as 1 deep nested comments
__destruct ( ) DESTRUCTOR
end_el ( &$output, $comment, $depth, $args = [] )
end_lvl ( &$output, $depth, $args = [] ) END_LVL Ends the children list of after the elements are added.
start_el ( &$output, $comment, $depth, $args = [], $id ) START_EL
start_lvl ( &$output, $depth, $args = [] ) START_LVL Starts the list before the CHILD elements are added.

Method Details

__construct() public method

CONSTRUCTOR You'll have to use this if you plan to get to the top of the comments list, as start_lvl() only goes as high as 1 deep nested comments
public __construct ( )

__destruct() public method

DESTRUCTOR
public __destruct ( )

end_el() public method

public end_el ( &$output, $comment, $depth, $args = [] )

end_lvl() public method

END_LVL Ends the children list of after the elements are added.
public end_lvl ( &$output, $depth, $args = [] )

start_el() public method

START_EL
public start_el ( &$output, $comment, $depth, $args = [], $id )

start_lvl() public method

START_LVL Starts the list before the CHILD elements are added.
public start_lvl ( &$output, $depth, $args = [] )

Property Details

$db_fields public_oe property

Comment ID
public $db_fields

$tree_type public_oe property

Init classwide variables.
public $tree_type