All Data Structures Functions Variables Pages
Static Public Member Functions
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:
Generated on Tue May 26 2020 07:10:53