PHP Class MockAction

Afficher le fichier Open project: lucatume/wp-browser Class Usage Examples

Méthodes publiques

Свойство Type Description
$debug
$events

Méthodes publiques

Méthode Description
__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 ( )

Method Details

__construct() public méthode

PHP5 constructor.
public __construct ( $debug )

action() public méthode

public action ( $arg )

action2() public méthode

public action2 ( $arg )

current_filter() public méthode

public current_filter ( )

filter() public méthode

public filter ( $arg )

filter2() public méthode

public filter2 ( $arg )

filter_append() public méthode

public filter_append ( $arg )

filterall() public méthode

public filterall ( $tag, $arg = null )

get_args() public méthode

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

get_call_count() public méthode

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

get_events() public méthode

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

get_tags() public méthode

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

reset() public méthode

public reset ( )

Property Details

$debug public_oe property

public $debug

$events public_oe property

public $events