VariableHelper
- Type
- Class
- Namespace
- Craft
- Inherits
- Craft\VariableHelper
- Since
- 1.0
Helper class for template variables.
See also http://craftcms.com
View source (opens new window)
# Public Methods
| Method | Description |
|---|---|
| populateVariables() | Returns an array of variables for a given set of class instances. |
# populateVariables()
Returns an array of variables for a given set of class instances.
View source (opens new window)
Arguments
$instances(array (opens new window))$class(string (opens new window))
Returns
Signature
public static array populateVariables ( $instances, $class )