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

ModelDerivedIdValueTypeSanitizerUtil Class Reference

Inheritance diagram for ModelDerivedIdValueTypeSanitizerUtil:
IdValueTypeSanitizerUtil ExternalSystemIdSuppportedSanitizerUtil SanitizerUtil AccountDerivedIdValueTypeSanitizerUtil ContactDerivedIdValueTypeSanitizerUtil ImportModelTestItem3DerivedIdValueTypeSanitizerUtil OpportunityDerivedIdValueTypeSanitizerUtil

Public Member Functions

 sanitizeValue ($value)

Protected Member Functions

 resolveAttributeModelClassName (RedBeanModel $model, $attributeName)

Static Protected Member Functions

static getDerivedModelClassName ()

Detailed Description

Sanitizer for attributes that are derived model types. This means the specific relation is not on the model, but typically this is a casted down version of the actual relation on the model.

Definition at line 41 of file ModelDerivedIdValueTypeSanitizerUtil.php.


Member Function Documentation

sanitizeValue ( value  ) 

Given a value that is either a zurmo id or an external system id, resolve that the value is valid. If the value is not valid then an InvalidValueToSanitizeException is thrown.

Parameters:
mixed $value
Returns:
sanitized value
Exceptions:
InvalidValueToSanitizeException 
NotFoundException 

Reimplemented from SanitizerUtil.

Definition at line 56 of file ModelDerivedIdValueTypeSanitizerUtil.php.

resolveAttributeModelClassName ( RedBeanModel model,
attributeName 
) [protected]

Override since the effective attribute is always 'id'

Parameters:
RedBeanModel $model
string $attributeName
Returns:
string $attributeModelClassName

Reimplemented from ExternalSystemIdSuppportedSanitizerUtil.

Definition at line 106 of file ModelDerivedIdValueTypeSanitizerUtil.php.


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