Warning: mysql_connect(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/zurmoorg/public_html/z-header.php on line 8

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/zurmoorg/public_html/z-header.php on line 8

CustomFieldDataModelUtil Class Reference

Static Public Member Functions

static getModelPluralNameAndAttributeLabelsByName ($name)
static getDataByModelClassNameAndAttributeName ($modelClassName, $attributeName)

Detailed Description

Helper class to interrogate relationships between customFieldData models and other models in the application.

Definition at line 41 of file CustomFieldDataModelUtil.php.


Member Function Documentation

static getModelPluralNameAndAttributeLabelsByName ( name  )  [static]

Use this function to ascertain if a particular customFieldData model is used by more than one attribute in the application. An example is a pick list that is shared by two separate attributes in two different models.

Returns:
array of model plural label / attribute label pairings.

Important Limitations to understand!! Only supports up to one attribute per model that uses the same customFieldData. Only searches primary models of the modules in the system.

Definition at line 53 of file CustomFieldDataModelUtil.php.

static getDataByModelClassNameAndAttributeName ( modelClassName,
attributeName 
) [static]

Given a model class name and an attribute name, get the CustomFieldData object associated with this attribute. Requires the attribute to be a customField type attribute otherwise it will throw an error.

Parameters:
string $modelClassName
string $attributeName

Definition at line 86 of file CustomFieldDataModelUtil.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Tue Jan 22 07:10:22 2019

Warning: mysql_connect(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/zurmoorg/public_html/z-footer.php on line 8

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/zurmoorg/public_html/z-footer.php on line 8