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

ExternalSystemIdUtil Class Reference

Static Public Member Functions

static updateByModel (RedBeanModel $model, $externalSystemId)
static addExternalIdColumnIfMissing ($tableName, $maxLength=255, $columnName=null)

Data Fields

const EXTERNAL_SYSTEM_ID_COLUMN_NAME = 'external_system_id'

Detailed Description

Helper utility for handling the external system id and models.

Definition at line 40 of file ExternalSystemIdUtil.php.


Member Function Documentation

static updateByModel ( RedBeanModel model,
externalSystemId 
) [static]

Given a model and external system id, update the external system id in the database for that model

Parameters:
object $model
string $externalSystemId

Definition at line 53 of file ExternalSystemIdUtil.php.

static addExternalIdColumnIfMissing ( tableName,
maxLength = 255,
columnName = null 
) [static]

Adds externalSystemId column to specific table if it does not exist

Parameters:
$tableName 
$maxLength 
$columnName 

Definition at line 68 of file ExternalSystemIdUtil.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Thu Feb 21 07:10:52 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