Class we_app_Hook

Description

class for loading and executing code execution hooks for webEdition applications

Located in /app/Hook.php (line 25)


	
			
Variable Summary
array $_hooks
array $_readers
Method Summary
we_app_Hook __construct ([we_app_Reader_* &$reader = null])
bool addReader ([ &$reader = null])
void loadAll ()
void run ([ $hook = ""])
requested __get ([ $property = ""])
Variables
array $_hooks = array() (line 31)
  • var: for storing all application code hooks that have already been read.
  • access: protected
array $_readers = array() (line 36)
  • var: for storing all reader objects that are used by this hook object instance
  • access: protected
Methods
Constructor __construct (line 42)

constructor method for hook parser

  • access: public
we_app_Hook __construct ([we_app_Reader_* &$reader = null])
  • we_app_Reader_* &$reader: reference to reader object, i.e. we_app_Reader_Xml
addReader (line 71)

adds a reader for fetching hooks (i.e. we_app_Reader_Xml)

  • return: true (success) or false (failure, i.e. no or invalid reader)
  • access: public
bool addReader ([ &$reader = null])
  • &$reader
loadAll (line 87)

loads all hooks from all registered readers

  • access: public
void loadAll ()
run (line 79)
  • access: public
void run ([ $hook = ""])
  • $hook
__get (line 56)

getter method

  • return: hook properties of object $this->_hooks or false on failure
  • access: public
  • example: example not found
requested __get ([ $property = ""])
  • $property

Documentation generated on Mon, 01 Sep 2008 11:35:40 +0200 by phpDocumentor 1.4.0