Class KB_At

Description

Syntactic sugar for adding functions to actions/filters.

In any class extending KB_At, adding phpdoc variables:

  • @hook <hook name>
  • [@priority <priority>]
will add that particular function to the specified hook.

The number of arguments to be passed will be picked up automatically by reflection based on the arguments added in the function.

Located in /includes/kb-at.php (line 25)


	
			
Method Summary
 KB_At __construct ()
Methods
Constructor __construct (line 39)

Hooks based on docs

Obtains the docblocks for each method of the class, and checks both for the existence of at @hook and that the function is publically accessible.

  • access: public
KB_At __construct ()

Documentation generated on Thu, 29 Sep 2011 01:44:45 +0530 by phpDocumentor 1.4.3