Account Suspended
Account Suspended
This Account has been suspended.
Contact your hosting provider for more information.
 All Data Structures Functions Variables Pages
Static Public Member Functions | Data Fields
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:
Generated on Wed Jul 15 2020 07:10:49
Account Suspended
Account Suspended
This Account has been suspended.
Contact your hosting provider for more information.