Module
extends CacheModel
in package
implements
Module
Table of Contents
Interfaces
Properties
- $active : mixed
- $alias : mixed
- $description : mixed
- $id : array<string|int, Marketplace>
- $image : mixed
- $module_type_id : mixed
- $name : mixed
- $pulltypes : mixed
- $create_time : mixed
- $update_time : mixed
Methods
- assignJobMergedData() : mixed
- beforeSave() : 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
- Get the value of active
- getAlias() : mixed
- getAll() : mixed
- getCreateTime() : mixed
- getDescription() : mixed
- Get the value of description
- getId() : mixed
- Get the value of id
- getImage() : mixed
- Get the value of image
- getModuleTypeId() : mixed
- Get the value of type
- getName() : mixed
- Get the value of name
- getPulltypes() : mixed
- Get the value of pulltypes
- getThe() : mixed
- getUpdateTime() : mixed
- initialize() : mixed
- mapper() : mixed
- set() : mixed
- setActive() : self
- Set the value of active
- setAlias() : static
- setCreateTime() : $this
- If $createTime is null, default value now.
- setDescription() : self
- Set the value of description
- setId() : self
- Set the value of id
- setImage() : self
- Set the value of image
- setModuleTypeId() : self
- Set the value of type
- setName() : self
- Set the value of name
- setPulltypes() : self
- Set the value of pulltypes
- setUpdateTime() : $this
- If $updateTime is null, default value now.
- writeAttributeIfNeeded() : mixed
- _createKey() : mixed
Properties
$active
public
mixed
$active
$alias
public
mixed
$alias
$description
public
mixed
$description
$id
public
array<string|int, Marketplace>
$id
$image
public
mixed
$image
$module_type_id
public
mixed
$module_type_id
$name
public
mixed
$name
$pulltypes
public
mixed
$pulltypes
$create_time
protected
mixed
$create_time
$update_time
protected
mixed
$update_time
Methods
assignJobMergedData()
public
assignJobMergedData() : mixed
beforeSave()
public
beforeSave() : mixed
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
fixParameters()
public
static fixParameters([mixed $parameters = null ]) : mixed
Parameters
- $parameters : mixed = null
fromArray()
public
static fromArray(mixed $array) : mixed
Parameters
- $array : mixed
getActive()
Get the value of active
public
getActive() : mixed
getAlias()
public
getAlias() : mixed
getAll()
public
getAll() : mixed
getCreateTime()
public
getCreateTime() : mixed
getDescription()
Get the value of description
public
getDescription() : mixed
getId()
Get the value of id
public
getId() : mixed
getImage()
Get the value of image
public
getImage() : mixed
getModuleTypeId()
Get the value of type
public
getModuleTypeId() : mixed
getName()
Get the value of name
public
getName() : mixed
getPulltypes()
Get the value of pulltypes
public
getPulltypes() : mixed
getThe()
public
static getThe(mixed $paramater) : mixed
Parameters
- $paramater : mixed
getUpdateTime()
public
getUpdateTime() : mixed
initialize()
public
initialize() : mixed
mapper()
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()
Set the value of active
public
setActive(mixed $active) : self
Parameters
- $active : mixed
Return values
selfsetAlias()
public
setAlias(mixed $alias) : static
Parameters
- $alias : mixed
Return values
staticsetCreateTime()
If $createTime is null, default value now.
public
setCreateTime([mixed $createTime = null ]) : $this
Parameters
- $createTime : mixed = null
Return values
$thissetDescription()
Set the value of description
public
setDescription(mixed $description) : self
Parameters
- $description : mixed
Return values
selfsetId()
Set the value of id
public
setId(mixed $id) : self
Parameters
- $id : mixed
Return values
selfsetImage()
Set the value of image
public
setImage(mixed $image) : self
Parameters
- $image : mixed
Return values
selfsetModuleTypeId()
Set the value of type
public
setModuleTypeId(mixed $module_type_id) : self
Parameters
- $module_type_id : mixed
Return values
selfsetName()
Set the value of name
public
setName(mixed $name) : self
Parameters
- $name : mixed
Return values
selfsetPulltypes()
Set the value of pulltypes
public
setPulltypes(mixed $pulltypes) : self
Parameters
- $pulltypes : mixed
Return values
selfsetUpdateTime()
If $updateTime is null, default value now.
public
setUpdateTime([mixed $updateTime = null ]) : $this
Parameters
- $updateTime : mixed = null
Return values
$thiswriteAttributeIfNeeded()
public
writeAttributeIfNeeded(mixed $attribute, mixed $value) : mixed
Parameters
- $attribute : mixed
- $value : mixed
_createKey()
protected
static _createKey(mixed $parameters) : mixed
Parameters
- $parameters : mixed