PHP Класс _Beans_Anonymous_Filters, Beans

Показать файл Открыть проект

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

Свойство Тип Описание
$callback Callback.

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

Метод Описание
__construct ( string $id, string $callback, integer $priority, integer $args ) : boolean Constructor.
callback ( ) Get filter content and set it as the callback.

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

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

Constructor.
public __construct ( string $id, string $callback, integer $priority, integer $args ) : boolean
$id string The filter ID.
$callback string Content to add to the anonymous function.
$priority integer Optional. Used to specify the order in which the functions associated with a particular action are executed. Default 10. Lower numbers correspond with earlier execution, and functions with the same priority are executed in the order in which they were added to the action.
$args integer Optional. The number of arguments the function accepts. Default 1.
Результат boolean Will always return true.

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

Get filter content and set it as the callback.
public callback ( )

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

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

Callback.
public $callback