PHP Класс Foundationpress_Comments

Наследование: extends Walker_Comment
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
$db_fields Comment ID
$tree_type Init classwide variables.

Открытые методы

Метод Описание
__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.

Описание методов

__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
public __construct ( )

__destruct() публичный Метод

DESTRUCTOR
public __destruct ( )

end_el() публичный Метод

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

end_lvl() публичный Метод

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

start_el() публичный Метод

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

start_lvl() публичный Метод

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

Описание свойств

$db_fields публичное свойство

Comment ID
public $db_fields

$tree_type публичное свойство

Init classwide variables.
public $tree_type