Model/Select.php
- package
- Model
- Classes
- Kwf_Model_Select
Description
- package
- Model
-
Constants
- EXPR
- IGNORE_DELETED
- LIMIT_COUNT
- LIMIT_OFFSET
- ORDER
- ORDER_RAND
- OTHER
- UNION
- WHERE
- WHERE_EQUALS
- WHERE_EXPRESSION
- WHERE_ID
- WHERE_NOT_EQUALS
- WHERE_NULL
-
Properties
- $_parts
-
Methods
- __call
- __construct
- copyParts
- expr
- fromArray
- getPart
- getPartTypes
- getParts
- hasPart
- ignoreDeleted
- limit
- merge
- order
- setPart
- toArray
- toDebug
- union
- unsetPart
- where
- whereEquals
- whereId
- whereNotEquals
- whereNull
Description
Constants
WHERE = 'where'
Details
- value
- where
WHERE_EQUALS = 'whereEquals'
Details
- value
- whereEquals
WHERE_NOT_EQUALS = 'whereNotEquals'
Details
- value
- whereNotEquals
WHERE_ID = 'whereId'
Details
- value
- whereId
WHERE_NULL = 'whereNull'
Details
- value
- whereNull
WHERE_EXPRESSION = 'whereExpression'
Details
- value
- whereExpression
ORDER = 'order'
Details
- value
- order
LIMIT_COUNT = 'limitCount'
Details
- value
- limitCount
LIMIT_OFFSET = 'limitOffset'
Details
- value
- limitOffset
EXPR = 'expr'
Details
- value
- expr
OTHER = 'other'
Details
- value
- other
UNION = 'union'
Details
- value
- union
IGNORE_DELETED = 'ignoreDeleted'
Details
- value
- ignoreDeleted
ORDER_RAND = 'orderRand'
Details
- value
- orderRand
Properties
$_parts = 'array'
Details
- visibility
- protected
- default
- array
- final
- false
- static
- false
Methods
__call(
$method, $arguments
)
:
Arguments
- $method
- $arguments
Details
- visibility
- public
- final
- false
- static
- false
__construct(
$where
=
array
)
:
Details
- visibility
- public
- final
- false
- static
- false
copyParts(
$parts, $sourceSelect
)
:
Arguments
- $parts
- $sourceSelect
Details
- visibility
- public
- final
- false
- static
- false
expr(
$field
)
:
Details
- visibility
- public
- final
- false
- static
- false
fromArray(
$data
)
:
Details
- visibility
- public
- final
- false
- static
- true
getPart(
$part
)
:
Details
- visibility
- public
- final
- false
- static
- false
getPartTypes(
)
:
Details
- visibility
- public
- final
- false
- static
- false
getParts(
)
:
Details
- visibility
- public
- final
- false
- static
- false
hasPart(
$part
)
:
Details
- visibility
- public
- final
- false
- static
- false
ignoreDeleted(
$value
=
true
)
:
Details
- visibility
- public
- final
- false
- static
- false
limit(
$count, $offset
=
null
)
:
Details
- visibility
- public
- final
- false
- static
- false
merge(
$other
)
:
Details
- visibility
- public
- final
- false
- static
- false
order(
$field, $dir
=
ASC
)
:
Details
- visibility
- public
- final
- false
- static
- false
setPart(
$type, $part
)
:
Details
- visibility
- public
- final
- false
- static
- false
toArray(
)
:
Details
- visibility
- public
- final
- false
- static
- false
toDebug(
)
:
Details
- visibility
- public
- final
- false
- static
- false
union(
$select
)
:
Details
- visibility
- public
- final
- false
- static
- false
unsetPart(
$type
)
:
Details
- visibility
- public
- final
- false
- static
- false
where(
$cond, $value
=
null, $type
=
null
)
:
Arguments
- $cond
- $value
- $type
Details
- visibility
- public
- final
- false
- static
- false
whereEquals(
$field, $value
=
null
)
:
Details
- visibility
- public
- final
- false
- static
- false
whereId(
$id
)
:
Details
- visibility
- public
- final
- false
- static
- false
whereNotEquals(
$field, $value
=
null
)
:
Details
- visibility
- public
- final
- false
- static
- false
whereNull(
$field
)
:
Details
- visibility
- public
- final
- false
- static
- false