Shared utility functions for common tasks
Located in /support/lib/Support/Util.php (line 9)
Returns an instance of the named class. This is a convenience method
intended for performing class-level operations on models. Constructed instances are cached and returned to any future callers requesting the same class. If the class provides a method named set_readonly, it is invoked with a value of true.
In other words, this utility is a simple way to grab an immutable instance of a model class without littering up memory with lots of short-lived objects not associated with data records.
Return the options, if any, provided in a list of arguments and
remove the options from the arguments. This function assumes that the last argument in the list is an array of options if that argument is an associative array (see Support_ArrayHelper::is_associative()). If no options are found, an empty array is returned.
Redirect to a given URL
Validate an options array against a set of permitted options. The
permitted options are specified as an array whose keys are the allowable option keys (e.g.
Documentation generated on Wed, 25 Apr 2012 09:46:45 -0700 by phpDocumentor 1.4.3