ApiRequest
extends CacheModel
in package
Class ApiRequest
Table of Contents
Properties
- $api_key_id : mixed
- $id : mixed
- $method : mixed
- $request_body : mixed
- $user_id : 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
- fixParameters() : mixed
- fromArray() : mixed
- getApiKeyId() : mixed
- Get the value of api_key_id
- getCreateTime() : mixed
- getId() : mixed
- Get the value of id
- getMethod() : mixed
- Get the value of method
- getRequestBody() : mixed
- Get the value of request_body
- getThe() : mixed
- getUpdateTime() : mixed
- getUserId() : mixed
- Get the value of user_id
- initialize() : mixed
- mapper() : mixed
- set() : mixed
- setApiKeyId() : self
- Set the value of api_key_id
- setCreateTime() : $this
- If $createTime is null, default value now.
- setId() : self
- Set the value of id
- setMethod() : self
- Set the value of method
- setRequestBody() : self
- Set the value of request_body
- setUpdateTime() : $this
- If $updateTime is null, default value now.
- setUserId() : self
- Set the value of user_id
- writeAttributeIfNeeded() : mixed
- _createKey() : mixed
Properties
$api_key_id
public
mixed
$api_key_id
$id
public
mixed
$id
$method
public
mixed
$method
$request_body
public
mixed
$request_body
$user_id
public
mixed
$user_id
$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|falsefixParameters()
public
static fixParameters([mixed $parameters = null ]) : mixed
Parameters
- $parameters : mixed = null
fromArray()
public
static fromArray(mixed $array) : mixed
Parameters
- $array : mixed
getApiKeyId()
Get the value of api_key_id
public
getApiKeyId() : mixed
getCreateTime()
public
getCreateTime() : mixed
getId()
Get the value of id
public
getId() : mixed
getMethod()
Get the value of method
public
getMethod() : mixed
getRequestBody()
Get the value of request_body
public
getRequestBody() : mixed
getThe()
public
static getThe(mixed $paramater) : mixed
Parameters
- $paramater : mixed
getUpdateTime()
public
getUpdateTime() : mixed
getUserId()
Get the value of user_id
public
getUserId() : 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
setApiKeyId()
Set the value of api_key_id
public
setApiKeyId(mixed $api_key_id) : self
Parameters
- $api_key_id : mixed
Return values
selfsetCreateTime()
If $createTime is null, default value now.
public
setCreateTime([mixed $createTime = null ]) : $this
Parameters
- $createTime : mixed = null
Return values
$thissetId()
Set the value of id
public
setId(mixed $id) : self
Parameters
- $id : mixed
Return values
selfsetMethod()
Set the value of method
public
setMethod(mixed $method) : self
Parameters
- $method : mixed
Return values
selfsetRequestBody()
Set the value of request_body
public
setRequestBody(mixed $request_body) : self
Parameters
- $request_body : mixed
Return values
selfsetUpdateTime()
If $updateTime is null, default value now.
public
setUpdateTime([mixed $updateTime = null ]) : $this
Parameters
- $updateTime : mixed = null
Return values
$thissetUserId()
Set the value of user_id
public
setUserId(mixed $user_id) : self
Parameters
- $user_id : mixed
Return values
selfwriteAttributeIfNeeded()
public
writeAttributeIfNeeded(mixed $attribute, mixed $value) : mixed
Parameters
- $attribute : mixed
- $value : mixed
_createKey()
protected
static _createKey(mixed $parameters) : mixed
Parameters
- $parameters : mixed