Class pApiContentAllocation
Main class for content allocation
Package: Plugin\ContentAllocation
Copyright: four for business AG <www.4fb.de>
License: http://www.contenido.org/license/LIZENZ.txt
Author: Marco Jahn
Located at plugins/content_allocation/classes/class.content_allocation.php
Copyright: four for business AG <www.4fb.de>
License: http://www.contenido.org/license/LIZENZ.txt
Author: Marco Jahn
Located at plugins/content_allocation/classes/class.content_allocation.php
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
array
|
|
public
array
|
#
loadAllocationsWithNames( mixed $idartlang, mixed $parent, boolean $firstonly = false )
Load allocations by language id and parent id |
public
string
|
#
findMatchingContent( array $restrictions = null, integer $max = 0 )
Build query to find matching content by ContentAllocation |
protected
string
|
#
_buildQuery( array $restrictions, array $categoriesToExclude, integer $max )
Build query to find matching content by ContentAllocation |
public
array
|
#
findMatchingContentByContentAllocationByCategories( array $contentAllocation, array $categories = array(), integer $offset = 0, integer $numOfRows = 0 )
Search articles by ContentAllocation and catgories |
protected
array
|
#
_buildQuery_MatchingContentByContentAllocationByCategories( array $contentAllocation, array $categories, integer $offset, integer $numOfRows )
Build SQL query to find articles by ContentAllocation and catgories |
public
array
|
#
findMatchingContentByCategories( array $categories = array(), integer $offset = 0, integer $numOfRows = 0, string $resultType = '' )
Search articles by catgories without start articles |
public
string
|
#
_buildQuery_MatchingContentByCategories( array $categories, integer $offset, integer $numOfRows )
Build SQL query to find articles by catgories |
protected
|
$_db | null |
#
References database object |
protected
boolean
|
$_debug | false |
|
protected
array
|
$_table | array() |
|
protected
integer
|
$_lang | 0 |
|
protected
integer
|
$_client | 0 |
|
protected
object
|
$_treeObj | null |