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

ModelAttributeToCastTypeUtil Class Reference

Static Public Member Functions

static resolveValueForCast ($model, $attributeName, $value)
static getCastType ($model, $attributeName)

Static Protected Member Functions

static getOperatorTypeFromModelMetadataElement ($element)

Detailed Description

Given a model and its attribute, find the appropriate cast.

Definition at line 40 of file ModelAttributeToCastTypeUtil.php.


Member Function Documentation

static resolveValueForCast ( model,
attributeName,
value 
) [static]

For a given $attributeName on a $model, set the cast of the $value based on what the castType should be for that attribute.

Parameters:
$model 
$attributeName 
$value 
See also:
ModelAttributeToCastTypeUtil::getCastType
Returns:
casted $value

Definition at line 51 of file ModelAttributeToCastTypeUtil.php.

static getCastType ( model,
attributeName 
) [static]

Returns the cast type that should be used with the named attribute of the given model. If the model is a customField, it assumes some sort of dropdown and returns 'equals'.

Definition at line 63 of file ModelAttributeToCastTypeUtil.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Wed Jan 23 07:10:26 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