Db/Table/Select.php
- Classes
- Kwf_Db_Table_Select
\Kwf_Db_Table_Select
- Extends from
- \Zend_Db_Table_Select
- internal
- Methods
- assembleIntoOutfile
- getTableName
- info
- limit
- searchLike
- setPart
- where
Description
Methods
assembleIntoOutfile
assembleIntoOutfile(
$outFile
)
:
Arguments
- $outFile
Details
- visibility
- public
- final
- false
- static
- false
getTableName
getTableName(
)
:
Details
- visibility
- public
- final
- false
- static
- false
info
info(
)
:
Details
- visibility
- public
- final
- false
- static
- false
limit
limit(
$count
=
null, $offset
=
null
)
:
Arguments
- $count
- $offset
Details
- visibility
- public
- final
- false
- static
- false
searchLike
searchLike(
string|array $searchValues
=
array, string|array $searchFields
=
*
)
:
object
Adds the needed wheres for a search
Arguments
- $searchValues
- stringarray
An array with the db-field in the key and the search value as value. Field query means to search in all given fields for this value (see the second argument). If a string is given, it is interpreted like array('query' => $searchValues). - $searchFields
- stringarray
The fields that should be searched with search field 'query'. If a string is given, it is treated like array($string). Value '*' means to search in all fields in the table.
Output
- object
- $this The select object itself
Details
- visibility
- public
- final
- false
- static
- false
- deprecated
- use Kwf_Model_Select_Expr_SearchLike instead
setPart
setPart(
$part, $value
)
:
Arguments
- $part
- $value
Details
- visibility
- public
- final
- false
- static
- false
where
where(
$cond, $value
=
null, $type
=
null
)
:
Arguments
- $cond
- $value
- $type
Details
- visibility
- public
- final
- false
- static
- false