PHP 클래스 MockAction

파일 보기 프로젝트 열기: lucatume/wp-browser 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$debug
$events

공개 메소드들

메소드 설명
__construct ( $debug ) PHP5 constructor.
action ( $arg )
action2 ( $arg )
current_filter ( )
filter ( $arg )
filter2 ( $arg )
filter_append ( $arg )
filterall ( $tag, $arg = null )
get_args ( ) return an array of args passed in calls to this action
get_call_count ( $tag = '' ) return a count of the number of times the action was called since the last reset
get_events ( ) return a list of all the actions, tags and args
get_tags ( ) return an array of the tags that triggered calls to this action
reset ( )

메소드 상세

__construct() 공개 메소드

PHP5 constructor.
public __construct ( $debug )

action() 공개 메소드

public action ( $arg )

action2() 공개 메소드

public action2 ( $arg )

current_filter() 공개 메소드

public current_filter ( )

filter() 공개 메소드

public filter ( $arg )

filter2() 공개 메소드

public filter2 ( $arg )

filter_append() 공개 메소드

public filter_append ( $arg )

filterall() 공개 메소드

public filterall ( $tag, $arg = null )

get_args() 공개 메소드

return an array of args passed in calls to this action
public get_args ( )

get_call_count() 공개 메소드

return a count of the number of times the action was called since the last reset
public get_call_count ( $tag = '' )

get_events() 공개 메소드

return a list of all the actions, tags and args
public get_events ( )

get_tags() 공개 메소드

return an array of the tags that triggered calls to this action
public get_tags ( )

reset() 공개 메소드

public reset ( )

프로퍼티 상세

$debug 공개적으로 프로퍼티

public $debug

$events 공개적으로 프로퍼티

public $events