ModelAttributeCollectionUtil Class Reference

Static Public Member Functions

static populateCollection (&$collection, $attributeName, $attributeLabel, $elementType, $isRequired=false, $isReadOnly=false, $isAudited=false, $customFieldName=null)

Detailed Description

Helper class to get a collection of attributes from the model

Definition at line 41 of file ModelAttributeCollectionUtil.php.


Member Function Documentation

static populateCollection ( &$  collection,
attributeName,
attributeLabel,
elementType,
isRequired = false,
isReadOnly = false,
isAudited = false,
customFieldName = null 
) [static]

Takes a collection and attribute properties and populates the collection with that attribute.

Returns:
null;

Definition at line 48 of file ModelAttributeCollectionUtil.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Sun Sep 24 07:10:27 2017