PHP Класс Carbon_Fields\Container\Comment_Meta_Container

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

Защищенные свойства (Protected)

Свойство Тип Описание
$comment_id

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

Метод Описание
__construct ( string $title ) Create a new comment meta container
attach ( ) Add meta box to the comment
detach ( ) Revert the result of attach()
init ( ) Perform instance initialization after calling setup()
is_valid_save ( ) : boolean Checks whether the current request is valid
render ( ) Output the container markup
save ( integer $comment_id ) Perform save operation after successful is_valid_save() check.
set_comment_id ( integer $comment_id ) Set the comment ID the container will operate with.

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

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

Create a new comment meta container
public __construct ( string $title )
$title string Unique title of the container

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

Add meta box to the comment
public attach ( )

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

Revert the result of attach()
public detach ( )

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

Perform instance initialization after calling setup()
public init ( )

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

Checks whether the current request is valid
public is_valid_save ( ) : boolean
Результат boolean

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

Output the container markup
public render ( )

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

The call is propagated to all fields in the container.
public save ( integer $comment_id )
$comment_id integer ID of the comment against which save() is ran

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

Set the comment ID the container will operate with.
public set_comment_id ( integer $comment_id )
$comment_id integer

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

$comment_id защищенное свойство

protected $comment_id