\PhalApi_ModelQuery

Model Query Class

  • we strong recommend treat this class instance as value object, even though you can use public class properties
  • if need to copy the object, you can use constructor and toArray()

Summary

Methods
Properties
Constants
__construct()
__set()
__get()
toArray()
$readCache
$writeCache
$id
$timestamp
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$readCache

$readCache : boolean

Type

boolean — whether read cache or not

$writeCache

$writeCache : boolean

Type

boolean — whether write cache or not

$id

$id : \string/int

Type

\string/int — ID

$timestamp

$timestamp : integer

Type

integer — expire timestamp

Methods

__construct()

__construct(  $queryArr = array()) 

Parameters

$queryArr

__set()

__set(  $name,   $value) 

Parameters

$name
$value

__get()

__get(  $name) 

Parameters

$name

toArray()

toArray()