Pix_Helper_Manager Helper manager for all Pix Framework class

package Helper
copyright 2003-2012 PIXNET Digital Media Corporation
license BSD License

 Methods

addHelper add helper

addHelper(string $helper, array | null $methods, array | null $options) : void

access public

Parameters

$helper

string

a Pix_Helper class name

$methods

arraynull

helper list (default: $helper->getFuncs())

$options

arraynull

helper options

callHelper call a helper method

callHelper(string $method, array $args) : mixed

access public

Parameters

$method

string

method name (case insensitive)

$args

array

arguments

Returns

mixedhelper method return value

getMethods get all method names in this helper manager

getMethods() : array

access public

Returns

arraymethod names (lower case)

hasMethod check if method is in this manager

hasMethod(string $method) : boolean

access public

Parameters

$method

string

method name (case insensitive)

Returns

boolean