Class PublisherItemHandler
Items handler class. This class is responsible for providing data access mechanisms to the data source of Q&A class objects.
- Xoops\Core\Kernel\XoopsObjectHandler
- Xoops\Core\Kernel\XoopsPersistableObjectHandler
- PublisherItemHandler
public
|
|
public
boolean
|
#
insert(
insert a new item in the database |
public
boolean
|
#
delete(
delete an item from the database |
public
array
|
#
getItemObjects( object $criteria = null, string $id_key = 'none', string $notNullFields = '' )
retrieve items from the database |
public
integer
|
#
getItemCount( object $criteria = null, string $notNullFields = '' )
count items matching a condition |
public
integer
|
|
public
array
|
#
getAllPublished( integer $limit = 0, integer $start = 0, integer $categoryid = -1, string $sort = 'datesub', string $order = 'DESC', string $notNullFields = '', boolean $asobject = true, string $id_key = 'none' )
|
public
boolean
|
|
public
boolean
|
|
public
array
|
#
getAllSubmitted( integer $limit = 0, integer $start = 0, integer $categoryid = -1, string $sort = 'datesub', string $order = 'DESC', string $notNullFields = '', boolean $asobject = true, string $id_key = 'none' )
|
public
array
|
#
getAllOffline( integer $limit = 0, integer $start = 0, integer $categoryid = -1, string $sort = 'datesub', string $order = 'DESC', string $notNullFields = '', boolean $asobject = true, string $id_key = 'none' )
|
public
array
|
#
getAllRejected( integer $limit = 0, integer $start = 0, integer $categoryid = -1, string $sort = 'datesub', string $order = 'DESC', string $notNullFields = '', boolean $asobject = true, string $id_key = 'none' )
|
public
array
|
|
public
boolean
|
|
public
boolean
|
|
protected
QueryBuilder
|
#
addNotNullFieldClause(
addNotNullFieldClause exclude rows where specified columns are empty or null |
public
array
|
#
getItemsFromSearch( array $queryarray = array(), string $andor = 'AND', integer $limit = 0, integer $offset = 0, integer $userid = 0, array $categories = array(), integer $sortby = 0, string $searchin = "", string $extra = "" )
|
public
array
|
|
public
integer
|
#
countArticlesByCat( integer $parentid, array & $catsCount, string $spaces = '', array $resultCatCounts = array() )
|
public
array
|
public
|
$publisher
|
#
null
|
$className,
$field_link,
$field_object,
$handler,
$identifierName,
$keyName,
$keyName_link,
$table,
$table_link
|
$db2
|