Class ModelFactory
Model factory
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
array
|
|
public
|
|
protected
array
|
#
buildPKConditions( string|array $pk, mixed $_data )
Build PK condition(multiple pk is also supported) |
public
integer
|
|
public
integer
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
array
|
|
public
array
|
#
findManyBy( string $key, mixed $value, string|array $orderBy = null, integer $limit = null, integer $offset = null )
Find many models with by key |
public
integer|boolean
|
|
public
integer|boolean
|
|
public
integer|boolean
|
|
public
integer|boolean
|
|
public
integer|boolean
|
|
public
integer|boolean
|
|
public
integer|boolean
|
|
public
mixed
|
protected
|
$db
|
|
protected
|
$modelClass
|
|
protected
|
$table
|
|
protected
|
$pk
|
|
protected
|
$with
|