PHP 클래스 Falcon_Autohooker, Falcon

파일 보기 프로젝트 열기: rmccue/Falcon

공개 메소드들

메소드 설명
register_hooks ( boolean | array $prefixes = false ) Register hooks

보호된 메소드들

메소드 설명
add_action ( string $hook, string $method = null, integer $priority = 10, $params = null, string $class = null ) Add a method as a action
add_filter ( string $hook, string $method = null, integer $priority = 10, $params = null, string $class = null ) Add a method as a filter

비공개 메소드들

메소드 설명
check_eaccelerator_saneness ( ) : boolean Check if eAccelerator is loaded, and if so, is sane

메소드 상세

add_action() 보호된 정적인 메소드

This is exactly the same as {@see \add_action()} but instead of passing a full callback, only the method needs to be passed in.
protected static add_action ( string $hook, string $method = null, integer $priority = 10, $params = null, string $class = null )
$hook string Action name
$method string Method name on current class, or priority (as an int)
$priority integer Specify the order in which the functions associated with a particular action are executed (default: 10)
$class string Internal use only

add_filter() 보호된 정적인 메소드

This is exactly the same as {@see \add_filter()} but instead of passing a full callback, only the method needs to be passed in.
protected static add_filter ( string $hook, string $method = null, integer $priority = 10, $params = null, string $class = null )
$hook string Filter name
$method string Method name on current class, or priority (as an int)
$priority integer Specify the order in which the functions associated with a particular action are executed (default: 10)
$class string Internal use only

register_hooks() 공개 정적인 메소드

Register hooks
또한 보기: Sputnik_Library_Plugin::register_hooks
또한 보기: Sputnik_Library_Plugin_Dynamic::register_hooks
public static register_hooks ( boolean | array $prefixes = false )
$prefixes boolean | array True for default (`action_`/`filter_`), array with keys "action" & "filter" or false