PHP 클래스 _Beans_Anonymous_Actions, Beans

파일 보기 프로젝트 열기: Getbeans/Beans

공개 프로퍼티들

프로퍼티 타입 설명
$callback Callback.

공개 메소드들

메소드 설명
__construct ( string $hook, string $callback, integer $priority, integer $args ) : boolean Constructor.
callback ( ) Get action content and set it as the callback.

메소드 상세

__construct() 공개 메소드

Constructor.
public __construct ( string $hook, string $callback, integer $priority, integer $args ) : boolean
$hook string The name of the action to which the $callback is hooked.
$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 action content and set it as the callback.
public callback ( )

프로퍼티 상세

$callback 공개적으로 프로퍼티

Callback.
public $callback