UserModule
extends CacheModel
in package
Model class for connect and provide data to connect the User 1 -> n Module table.
Table of Contents
Properties
- $module : Module
- $user : User
- $active : mixed
- $cancelation_pending : mixed
- $cancelled_at : mixed
- $create_time : mixed
- $credential : mixed
- $credential_status : mixed
- $credential_status_text : mixed
- $credential_status_time : mixed
- $credentialEntity : mixed
- $extend_time : mixed
- $extra : mixed
- $id : mixed
- $integration_alias : mixed
- $is_default : mixed
- $module_id : mixed
- $next_check : mixed
- $pull_end_date : mixed
- $pull_start_date : mixed
- $start_time : mixed
- $update_time : mixed
- $user_id : mixed
Methods
- assignJobMergedData() : mixed
- beforeSave() : mixed
- copyBase() : mixed
- exists() : bool
- fetchAsArray() : mixed
- fetchAsAssocArray() : mixed
- fetchAsMultiAssocArray() : mixed
- find() : false|array<string|int, static>
- findFirst() : static|false
- findModulesHavingProductsList() : mixed
- fixParameters() : mixed
- fromArray() : mixed
- getActive() : mixed
- getCancelationPending() : mixed
- getCancelledAt() : mixed
- getCreateTime() : mixed
- getCredential() : string
- getCredentialAssoc() : array<string|int, mixed>
- getCredentialEntity() : Credential
- getCredentialStatus() : mixed
- getCredentialStatusText() : mixed
- getCredentialStatusTime() : mixed
- getCredentialStdClass() : stdClass
- getExtendTime() : mixed
- getExtra() : mixed
- getExtraAssoc() : array<string|int, mixed>
- getExtraStdClass() : stdClass
- getHellotaxIntegrationConnections() : false|array<string|int, HellotaxIntegrationConnection>
- getId() : mixed
- getIntegrationAlias() : mixed
- getIntegrationAliasWithModuleName() : mixed
- getIsDefault() : mixed
- getModule() : Module
- getModuleId() : mixed
- getNextCheck() : mixed
- getPullEndDate() : mixed
- getPullStartDate() : mixed
- getShopifyAutomatedCredentialEntity() : ShopifyAutomatedCredential
- getSpApiCredentialEntity() : AmazonCredential
- getStartTime() : mixed
- getThe() : mixed
- getUpdateTime() : mixed
- getUser() : User
- getUserId() : mixed
- initialize() : mixed
- isAmazon() : bool
- isShopifyAutomated() : bool
- mapper() : mixed
- set() : mixed
- setActive() : static
- setCancelationPending() : mixed
- setCancelledAt() : mixed
- setCreateTime() : $this
- If $createTime is null, default value now.
- setCredential() : static
- setCredentialEntity() : static
- var Credential $credentialEntity
- setCredentialStatus() : static
- setCredentialStatusText() : static
- setCredentialStatusTime() : static
- setExtendTime() : static
- setExtra() : static
- setIntegrationAlias() : mixed
- setIsDefault() : self
- setModuleId() : static
- setNextCheck() : static
- setPullEndDate() : self
- setPullStartDate() : self
- setStartTime() : static
- setUpdateTime() : $this
- If $updateTime is null, default value now.
- setUserId() : static
- writeAttributeIfNeeded() : mixed
- _createKey() : mixed
Properties
$module
public
Module
$module
$user
public
User
$user
$active
protected
mixed
$active
$cancelation_pending
protected
mixed
$cancelation_pending
$cancelled_at
protected
mixed
$cancelled_at
$create_time
protected
mixed
$create_time
$credential
protected
mixed
$credential
$credential_status
protected
mixed
$credential_status
$credential_status_text
protected
mixed
$credential_status_text
$credential_status_time
protected
mixed
$credential_status_time
$credentialEntity
protected
mixed
$credentialEntity
$extend_time
protected
mixed
$extend_time
$extra
protected
mixed
$extra
$id
protected
mixed
$id
$integration_alias
protected
mixed
$integration_alias
$is_default
protected
mixed
$is_default
$module_id
protected
mixed
$module_id
$next_check
protected
mixed
$next_check
$pull_end_date
protected
mixed
$pull_end_date
$pull_start_date
protected
mixed
$pull_start_date
$start_time
protected
mixed
$start_time
$update_time
protected
mixed
$update_time
$user_id
protected
mixed
$user_id
Methods
assignJobMergedData()
public
assignJobMergedData() : mixed
beforeSave()
public
beforeSave() : mixed
copyBase()
public
static copyBase(UserModule $userModulePrevious) : mixed
Parameters
- $userModulePrevious : UserModule
exists()
public
exists() : bool
Return values
boolfetchAsArray()
public
static fetchAsArray([mixed $parameter = null ]) : mixed
Parameters
- $parameter : mixed = null
fetchAsAssocArray()
public
static fetchAsAssocArray([mixed $parameter = null ][, mixed $key = 'id' ][, mixed $cols = null ]) : mixed
Parameters
- $parameter : mixed = null
- $key : mixed = 'id'
- $cols : mixed = null
fetchAsMultiAssocArray()
public
static fetchAsMultiAssocArray([mixed $parameter = null ][, mixed $keyname = ['id'] ][, mixed $cols = null ]) : mixed
Parameters
- $parameter : mixed = null
- $keyname : mixed = ['id']
- $cols : mixed = null
find()
public
static find([array<string|int, mixed>|null|int $parameters = null ]) : false|array<string|int, static>
Parameters
- $parameters : array<string|int, mixed>|null|int = null
Return values
false|array<string|int, static>findFirst()
public
static findFirst([array<string|int, mixed>|null|int $parameters = null ]) : static|false
Parameters
- $parameters : array<string|int, mixed>|null|int = null
Return values
static|falsefindModulesHavingProductsList()
public
static findModulesHavingProductsList(mixed $userId) : mixed
Parameters
- $userId : mixed
fixParameters()
public
static fixParameters([mixed $parameters = null ]) : mixed
Parameters
- $parameters : mixed = null
fromArray()
public
static fromArray(mixed $array) : mixed
Parameters
- $array : mixed
getActive()
public
getActive() : mixed
getCancelationPending()
public
getCancelationPending() : mixed
getCancelledAt()
public
getCancelledAt() : mixed
getCreateTime()
public
getCreateTime() : mixed
getCredential()
public
getCredential() : string
Return values
stringgetCredentialAssoc()
public
getCredentialAssoc() : array<string|int, mixed>
Return values
array<string|int, mixed>getCredentialEntity()
public
getCredentialEntity() : Credential
Return values
CredentialgetCredentialStatus()
public
getCredentialStatus() : mixed
getCredentialStatusText()
public
getCredentialStatusText() : mixed
getCredentialStatusTime()
public
getCredentialStatusTime() : mixed
getCredentialStdClass()
public
getCredentialStdClass() : stdClass
Return values
stdClassgetExtendTime()
public
getExtendTime() : mixed
getExtra()
public
getExtra() : mixed
getExtraAssoc()
public
getExtraAssoc() : array<string|int, mixed>
Return values
array<string|int, mixed>getExtraStdClass()
public
getExtraStdClass() : stdClass
Return values
stdClassgetHellotaxIntegrationConnections()
public
getHellotaxIntegrationConnections() : false|array<string|int, HellotaxIntegrationConnection>
Return values
false|array<string|int, HellotaxIntegrationConnection>getId()
public
getId() : mixed
getIntegrationAlias()
public
getIntegrationAlias() : mixed
getIntegrationAliasWithModuleName()
public
getIntegrationAliasWithModuleName() : mixed
getIsDefault()
public
getIsDefault() : mixed
getModule()
public
getModule([mixed $parameters = = 'null' ]) : Module
Parameters
- $parameters : mixed = = 'null'
Return values
ModulegetModuleId()
public
getModuleId() : mixed
getNextCheck()
public
getNextCheck() : mixed
getPullEndDate()
public
getPullEndDate() : mixed
getPullStartDate()
public
getPullStartDate() : mixed
getShopifyAutomatedCredentialEntity()
public
getShopifyAutomatedCredentialEntity() : ShopifyAutomatedCredential
Return values
ShopifyAutomatedCredentialgetSpApiCredentialEntity()
public
getSpApiCredentialEntity() : AmazonCredential
Return values
AmazonCredentialgetStartTime()
public
getStartTime() : mixed
getThe()
public
static getThe(mixed $paramater) : mixed
Parameters
- $paramater : mixed
getUpdateTime()
public
getUpdateTime() : mixed
getUser()
public
getUser([mixed $parameters = = 'null' ]) : User
Parameters
- $parameters : mixed = = 'null'
Return values
UsergetUserId()
public
getUserId() : mixed
initialize()
public
initialize() : mixed
isAmazon()
public
isAmazon() : bool
Return values
boolisShopifyAutomated()
public
isShopifyAutomated() : bool
Return values
boolmapper()
public
static mapper(array<string|int, mixed> $map, array<string|int, mixed> $original[, bool $reverse = true ]) : mixed
Parameters
- $map : array<string|int, mixed>
- $original : array<string|int, mixed>
- $reverse : bool = true
set()
public
set(mixed $property, mixed $value) : mixed
Parameters
- $property : mixed
- $value : mixed
setActive()
public
setActive(mixed $active) : static
Parameters
- $active : mixed
Return values
staticsetCancelationPending()
public
setCancelationPending(mixed $cancelation_pending) : mixed
Parameters
- $cancelation_pending : mixed
setCancelledAt()
public
setCancelledAt(mixed $cancelled_at) : mixed
Parameters
- $cancelled_at : mixed
setCreateTime()
If $createTime is null, default value now.
public
setCreateTime([mixed $createTime = null ]) : $this
Parameters
- $createTime : mixed = null
Return values
$thissetCredential()
public
setCredential(mixed $credential) : static
Parameters
- $credential : mixed
Return values
staticsetCredentialEntity()
var Credential $credentialEntity
public
setCredentialEntity(Credential $credentialEntity) : static
Parameters
- $credentialEntity : Credential
Return values
staticsetCredentialStatus()
public
setCredentialStatus(mixed $credential_status) : static
Parameters
- $credential_status : mixed
Return values
staticsetCredentialStatusText()
public
setCredentialStatusText(mixed $credential_status_text) : static
Parameters
- $credential_status_text : mixed
Return values
staticsetCredentialStatusTime()
public
setCredentialStatusTime([mixed $credential_status_time = null ]) : static
Parameters
- $credential_status_time : mixed = null
Return values
staticsetExtendTime()
public
setExtendTime(mixed $extend_time) : static
Parameters
- $extend_time : mixed
Return values
staticsetExtra()
public
setExtra([mixed $extra = null ]) : static
Parameters
- $extra : mixed = null
Return values
staticsetIntegrationAlias()
public
setIntegrationAlias(mixed $integration_alias) : mixed
Parameters
- $integration_alias : mixed
setIsDefault()
public
setIsDefault(mixed $is_default) : self
Parameters
- $is_default : mixed
Return values
selfsetModuleId()
public
setModuleId(mixed $module_id) : static
Parameters
- $module_id : mixed
Return values
staticsetNextCheck()
public
setNextCheck(mixed $next_check) : static
Parameters
- $next_check : mixed
Return values
staticsetPullEndDate()
public
setPullEndDate(mixed $pull_end_date) : self
Parameters
- $pull_end_date : mixed
Return values
selfsetPullStartDate()
public
setPullStartDate(mixed $pull_start_date) : self
Parameters
- $pull_start_date : mixed
Return values
selfsetStartTime()
public
setStartTime(mixed $start_time) : static
Parameters
- $start_time : mixed
Return values
staticsetUpdateTime()
If $updateTime is null, default value now.
public
setUpdateTime([mixed $updateTime = null ]) : $this
Parameters
- $updateTime : mixed = null
Return values
$thissetUserId()
public
setUserId(mixed $user_id) : static
Parameters
- $user_id : mixed
Return values
staticwriteAttributeIfNeeded()
public
writeAttributeIfNeeded(mixed $attribute, mixed $value) : mixed
Parameters
- $attribute : mixed
- $value : mixed
_createKey()
protected
static _createKey(mixed $parameters) : mixed
Parameters
- $parameters : mixed