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

ModelIdValueTypeSanitizerUtil Class Reference

Inheritance diagram for ModelIdValueTypeSanitizerUtil:
IdValueTypeSanitizerUtil ExternalSystemIdSuppportedSanitizerUtil SanitizerUtil

Public Member Functions

 sanitizeValue ($value)

Protected Member Functions

 resolveForFoundModel ()

Detailed Description

Sanitizer for attributes that are ids. This would be used if mapping an id for the model that is being imported.

Definition at line 40 of file ModelIdValueTypeSanitizerUtil.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 

Reimplemented from SanitizerUtil.

Definition at line 49 of file ModelIdValueTypeSanitizerUtil.php.

resolveForFoundModel (  )  [protected]

No message is needed, because it found the model and will relate to it ok.

Reimplemented from ExternalSystemIdSuppportedSanitizerUtil.

Definition at line 85 of file ModelIdValueTypeSanitizerUtil.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Mon Mar 25 07:10:57 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