Overview

Packages

  • Core
    • Authentication
    • Backend
    • Cache
    • CEC
    • Chain
    • ContentType
    • Database
    • Datatype
    • Debug
    • Exception
    • Frontend
      • Search
      • URI
      • Util
    • GenericDB
      • Model
    • GUI
      • HTML
    • I18N
    • LayoutHandler
    • Log
    • Security
    • Session
    • Util
    • Validation
    • Versioning
    • XML
  • Module
    • ContentSitemapHtml
    • ContentSitemapXml
    • ContentUserForum
    • NavigationTop
  • mpAutoloaderClassMap
  • None
  • Plugin
    • ContentAllocation
    • CronjobOverview
    • FormAssistant
    • FrontendLogic
    • FrontendUsers
    • Linkchecker
    • ModRewrite
    • Newsletter
    • Repository
      • FrontendNavigation
      • KeywordDensity
    • SearchSolr
    • SmartyWrapper
    • UrlShortener
    • UserForum
    • Workflow
  • PluginManager
  • Setup
    • Form
    • GUI
    • Helper
      • Environment
      • Filesystem
      • MySQL
      • PHP
    • UpgradeJob

Classes

  • pApiContentAllocation
  • pApiContentAllocationArticle
  • pApiContentAllocationComplexList
  • pApiContentAllocationSelectBox
  • pApiContentAllocationTreeView
  • pApiTree

Functions

  • pica_ArticleListActions
  • pica_GetCustomTabProperties
  • pica_RegisterCustomTab
  • pica_RenderArticleAction
  • Overview
  • Package
  • Class
  • Tree
  • Deprecated
  • Todo

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
Methods summary
public
# pApiContentAllocation( )

Modified

27.10.2005 new class variable $this->bDebug (if true print debug information)
public
# storeAllocations( mixed $idartlang, mixed $allocations )
public
# deleteAllocations( mixed $idpica_alloc )
public
# deleteAllocationsByIdartlang( mixed $idartlang )
public array
# loadAllocations( integer $idartlang )

load all tagging keys

load all tagging keys

Parameters

$idartlang
integer
$idartlang

Returns

array
public
# loadAllocationsWithNames( mixed $idartlang, mixed $parent, mixed $firstonly = false )
public string
# findMatchingContent( array $restrictions = NULL, mixed $max = 0 )

Build query to find matching content by ContentAllocation

Build query to find matching content by ContentAllocation

Parameters

$restrictions
array
$restrictions
$max

Returns

string
SQL

Modified

17.11.2005 by Willi Man
public string
# _buildQuery( array $restrictions, mixed $aCategoriesToExclude, mixed $max )

Build query to find matching content by ContentAllocation

Build query to find matching content by ContentAllocation

Parameters

$restrictions
array
$restrictions
$aCategoriesToExclude
$max

Returns

string
SQL
public array
# findMatchingContentByContentAllocationByCategories( array $aContentAllocation, array $aCategories = array(), mixed $iOffset = 0, mixed $iNumOfRows = 0 )

Search articles by ContentAllocation and catgories

Search articles by ContentAllocation and catgories

Parameters

$aContentAllocation
array
$aContentAllocation
$aCategories
array
$aCategories
$iOffset
$iNumOfRows

Returns

array
of articles
public
# _buildQuery_MatchingContentByContentAllocationByCategories( mixed $aContentAllocation, mixed $aCategories, mixed $iOffset, mixed $iNumOfRows )

build SQL query to find articles by ContentAllocation and catgories

build SQL query to find articles by ContentAllocation and catgories

public array
# findMatchingContentByCategories( array $aCategories = array(), integer $iOffset = 0, integer $iNumOfRows = 0, string $sResultType = '' )

Search articles by catgories without start articles

Search articles by catgories without start articles

Parameters

$aCategories
array
$aCategories
$iOffset
integer
$iOffset
$iNumOfRows
integer
$iNumOfRows
$sResultType
string
$sResultType element of {article_id, object}

Returns

array
of articles
public
# _buildQuery_MatchingContentByCategories( mixed $aCategories, mixed $iOffset, mixed $iNumOfRows )

build SQL query to find articles by catgories

build SQL query to find articles by catgories

Properties summary
public cDb $db NULL
#

References database object

References database object

public mixed $table NULL
#
public mixed $lang NULL
#
public mixed $client NULL
#
public mixed $treeObj NULL
#
CMS CONTENIDO 4.9.3 API documentation generated by ApiGen 2.8.0