Methods

Build query to find matching content by content allocation

_buildQuery(array $restrictions, $aCategoriesToExclude, $max) : string

Parameters

$restrictions

array

$aCategoriesToExclude

$max

Returns

stringSQL

build SQL query to find articles by catgories

_buildQuery_MatchingContentByCategories($aCategories, $iOffset, $iNumOfRows) 

Parameters

$aCategories

$iOffset

$iNumOfRows

build SQL query to find articles by content allocation and catgories

_buildQuery_MatchingContentByContentAllocationByCategories($aContentAllocation, $aCategories, $iOffset, $iNumOfRows) 

Parameters

$aContentAllocation

$aCategories

$iOffset

$iNumOfRows

deleteAllocations()

deleteAllocations($idpica_alloc) 

Parameters

$idpica_alloc

deleteAllocationsByIdartlang()

deleteAllocationsByIdartlang($idartlang) 

Parameters

$idartlang

Build query to find matching content by content allocation

findMatchingContent(array $restrictions, $max) : string

modified 17.11.2005 by Willi Man

Parameters

$restrictions

array

$max

Returns

stringSQL

Search articles by catgories without start articles

findMatchingContentByCategories(array $aCategories, int $iOffset, int $iNumOfRows, string $sResultType) : array

Parameters

$aCategories

array

$iOffset

int

$iNumOfRows

int

$sResultType

string

element of {article_id, object}

Returns

arrayof articles

Search articles by content allocation and catgories

findMatchingContentByContentAllocationByCategories(array $aContentAllocation, array $aCategories, $iOffset, $iNumOfRows) : array

Parameters

$aContentAllocation

array

$aCategories

array

$iOffset

$iNumOfRows

Returns

arrayof articles

loadAllocations()

loadAllocations($idartlang) 

Parameters

$idartlang

loadAllocationsWithNames()

loadAllocationsWithNames($idartlang, $parent, $firstonly) 

Parameters

$idartlang

$parent

$firstonly

pApiContentAllocation()

pApiContentAllocation() 

modified 27.10.2005 new class variable $this->bDebug (if true print debug information)

storeAllocations()

storeAllocations($idartlang, $allocations) 

Parameters

$idartlang

$allocations

 Properties

 

$client

$client 

 

References database object

$db : \DB_Contenido

 

$lang

$lang 

 

$table

$table 

 

$treeObj

$treeObj