Table of Contents
Constants
-
bindType
= ['user_id' => \Phalcon\Db\Column::BIND_PARAM_INT, 'offset' => \Phalcon\Db\Column::BIND_PARAM_INT, 'limit' => \Phalcon\Db\Column::BIND_PARAM_INT]
-
columnOrder
= ['_j.id', '_j.user_id', '_j.main_action', '_j.sub_action', '_j.progress', '_j.generate_time', '_j.start_time', '_j.end_time']
-
defaultOrder
= ['_j.id' => 'desc', '_j.user_id' => 'asc', '_j.generate_time' => 'desc']
-
fetchAsArray
= 2
-
fetchAsBuilder
= 0
-
fetchAsClass
= 10
-
fetchAsComplex
= 6
-
fetchAsDefault
= 10
-
fetchAsResult
= 1
-
fetchAsSimple
= 5
-
filterFormClass
= \Vatjar\Jobs\Form\JobFilterForm::class
-
havingCondition
= []
-
infinitRowClass
= \Vatjar\Jobs\Model\InfinitJobRow::class
-
pageSize
= 100
-
whereCondition
= ['userList' => 'FIND_IN_SET(_j.user_id, :userList:)', 'min_generate_time' => 'DATE(_j.generate_time) >= :min_generate_time:', 'max_generate_time' => 'DATE(_j.generate_time) <= :max_generate_time:', 'progress' => '_j.progress = :progress:', 'main_action' => '_j.main_action = :main_action:', 'sub_action' => '_j.sub_action = :sub_action:']
Properties
-
$filter
: Obj
-
$filterForm
: Form
-
$clientFieldByClientId
: mixed
-
$clientRepository
: ClientRepository
-
$clients
: mixed
Methods
-
__construct()
: array<string|int, mixed>
-
_build()
: mixed
-
_fetch()
: mixed
-
_fetchRow()
: mixed
-
_filter()
: Builder
-
emptyFilter()
: bool
-
formatList()
: mixed
-
formatRow()
: mixed
-
getCacheKeyPartClassName()
: mixed
-
getCacheKeyPartUser()
: mixed
-
getColumns()
: mixed
-
getEncodedColumns()
: mixed
-
getFilterPlusArray()
: array<string|int, mixed>
-
getHavingToPrepare()
: mixed
-
getHavingValueConditionBindType()
: mixed
-
getList()
: mixed
-
getOrder()
: mixed
-
getRawColumns()
: mixed
-
getWhereToPrepare()
: mixed
-
getWhereValueConditionBindType()
: mixed
-
initializeFilter()
: mixed
-
page2offset()
: mixed
-
getColumnOrder()
: array<string|int, mixed>
-
getDefaultOrder()
: array<string|int, mixed>
-
getClientFieldByClientId()
: string
bindType
public
mixed
bindType
= ['user_id' => \Phalcon\Db\Column::BIND_PARAM_INT, 'offset' => \Phalcon\Db\Column::BIND_PARAM_INT, 'limit' => \Phalcon\Db\Column::BIND_PARAM_INT]
columnOrder
public
mixed
columnOrder
= ['_j.id', '_j.user_id', '_j.main_action', '_j.sub_action', '_j.progress', '_j.generate_time', '_j.start_time', '_j.end_time']
defaultOrder
public
mixed
defaultOrder
= ['_j.id' => 'desc', '_j.user_id' => 'asc', '_j.generate_time' => 'desc']
fetchAsArray
public
mixed
fetchAsArray
= 2
fetchAsBuilder
public
mixed
fetchAsBuilder
= 0
fetchAsClass
public
mixed
fetchAsClass
= 10
fetchAsComplex
public
mixed
fetchAsComplex
= 6
fetchAsDefault
public
mixed
fetchAsDefault
= 10
fetchAsResult
public
mixed
fetchAsResult
= 1
fetchAsSimple
public
mixed
fetchAsSimple
= 5
public
mixed
filterFormClass
= \Vatjar\Jobs\Form\JobFilterForm::class
havingCondition
public
mixed
havingCondition
= []
infinitRowClass
public
mixed
infinitRowClass
= \Vatjar\Jobs\Model\InfinitJobRow::class
pageSize
public
mixed
pageSize
= 100
whereCondition
public
mixed
whereCondition
= ['userList' => 'FIND_IN_SET(_j.user_id, :userList:)', 'min_generate_time' => 'DATE(_j.generate_time) >= :min_generate_time:', 'max_generate_time' => 'DATE(_j.generate_time) <= :max_generate_time:', 'progress' => '_j.progress = :progress:', 'main_action' => '_j.main_action = :main_action:', 'sub_action' => '_j.sub_action = :sub_action:']
$filter
public
Obj
$filter
public
Form
$filterForm
$clientFieldByClientId
private
mixed
$clientFieldByClientId
= []
$clientRepository
private
ClientRepository
$clientRepository
$clients
private
mixed
$clients
__construct()
public
__construct([mixed $opt = [] ]) : array<string|int, mixed>
Parameters
-
$opt
: mixed
= []
-
Return values
array<string|int, mixed>
_build()
public
_build([array<string|int, mixed> $opt = [] ]) : mixed
Parameters
-
$opt
: array<string|int, mixed>
= []
-
_fetch()
public
_fetch(Builder $builder[, array<string|int, mixed> $opt = [] ]) : mixed
Parameters
-
$builder
: Builder
-
-
$opt
: array<string|int, mixed>
= []
-
_fetchRow()
public
static _fetchRow(mixed $row, mixed $mode) : mixed
Parameters
-
$row
: mixed
-
-
$mode
: mixed
-
_filter()
public
_filter(Builder $builder[, array<string|int, mixed> $opt = [] ]) : Builder
Parameters
-
$builder
: Builder
-
-
$opt
: array<string|int, mixed>
= []
-
emptyFilter()
public
emptyFilter() : bool
public
formatList(mixed $list[, array<string|int, mixed> $opt = [] ]) : mixed
Parameters
-
$list
: mixed
-
-
$opt
: array<string|int, mixed>
= []
-
public
formatRow(InfinitRow $row) : mixed
Parameters
-
$row
: InfinitRow
-
getCacheKeyPartClassName()
public
getCacheKeyPartClassName() : mixed
getCacheKeyPartUser()
public
getCacheKeyPartUser([int $userId = null ]) : mixed
Parameters
-
$userId
: int
= null
-
getColumns()
public
getColumns([mixed $opt = [] ]) : mixed
Parameters
-
$opt
: mixed
= []
-
getEncodedColumns()
public
getEncodedColumns([mixed $opt = [] ]) : mixed
Parameters
-
$opt
: mixed
= []
-
getFilterPlusArray()
public
getFilterPlusArray() : array<string|int, mixed>
Return values
array<string|int, mixed>
getHavingToPrepare()
public
static getHavingToPrepare(mixed $params) : mixed
Parameters
-
$params
: mixed
-
getHavingValueConditionBindType()
public
static getHavingValueConditionBindType(mixed $name, mixed $value) : mixed
Parameters
-
$name
: mixed
-
-
$value
: mixed
-
getList()
public
getList([array<string|int, mixed> $opt = [] ]) : mixed
Parameters
-
$opt
: array<string|int, mixed>
= []
-
getOrder()
public
static getOrder([mixed $order = null ]) : mixed
Parameters
-
$order
: mixed
= null
-
getRawColumns()
public
getRawColumns([mixed $opt = [] ]) : mixed
Parameters
-
$opt
: mixed
= []
-
getWhereToPrepare()
public
static getWhereToPrepare(mixed $params) : mixed
Parameters
-
$params
: mixed
-
getWhereValueConditionBindType()
public
static getWhereValueConditionBindType(mixed $name, mixed $value) : mixed
Parameters
-
$name
: mixed
-
-
$value
: mixed
-
initializeFilter()
public
initializeFilter([mixed $opt = [] ]) : mixed
Parameters
-
$opt
: mixed
= []
-
page2offset()
public
static page2offset([int $page = 1 ]) : mixed
Parameters
-
$page
: int
= 1
-
getColumnOrder()
protected
static getColumnOrder() : array<string|int, mixed>
Return values
array<string|int, mixed>
getDefaultOrder()
protected
static getDefaultOrder() : array<string|int, mixed>
Return values
array<string|int, mixed>
getClientFieldByClientId()
private
getClientFieldByClientId(int $clientId) : string
Parameters
-
$clientId
: int
-