MR Helper
This class is namespace driven. A namespace is a relative directory path from Moodle's directory root. Examples:
Each namespace has its own copy of any helper class used and for each namespace, a helper class is only instantiated once.
The MR Helper can be used in two ways:
Located in /helper.php (line 67)
Helper instances
Instances are organized by namespace then by the helper name. Each helper is created only once per namespace.
Example: array('blocks/helloworld' => array('world' => new blocks_helloworld_helper_world()))
Current namespace for including helpers
Static interface for getting an instance of mr_helper
This is useful when you need to quickly call a single helper method. Example:
Automatically add the load helper since this model uses it to load other helpers
Call a helper's direct method
Documentation generated on Thu, 28 Jun 2012 16:33:48 -0700 by phpDocumentor 1.4.3