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
  • Function
  • Tree
  • Deprecated
  • Todo
 1: <?php
 2: /**
 3:  * This file contains various function for the plugin content allocation.
 4:  *
 5:  * @package    Plugin
 6:  * @subpackage ContentAllocation
 7:  * @version    SVN Revision $Rev:$
 8:  *
 9:  * @author     Unknown
10:  * @copyright  four for business AG <www.4fb.de>
11:  * @license    http://www.contenido.org/license/LIZENZ.txt
12:  * @link       http://www.4fb.de
13:  * @link       http://www.contenido.org
14:  */
15: 
16: defined('CON_FRAMEWORK') || die('Illegal call: Missing framework initialization - request aborted.');
17: 
18: function pica_RegisterCustomTab ()
19: {
20:     return array("con_contentallocation");
21: }
22: 
23: function pica_GetCustomTabProperties ($sIntName)
24: {
25:     if ($sIntName == "con_contentallocation")
26:     {
27:         return array("con_contentallocation", "con_edit", "");
28:     }
29: }
30: 
31: function pica_ArticleListActions ($aActions)
32: {
33:     $aTmpActions["con_contentallocation"] = "con_contentallocation";
34: 
35:     return $aTmpActions + $aActions;
36: }
37: 
38: function pica_RenderArticleAction ($idcat, $idart, $idartlang, $actionkey)
39: {
40:     global $sess;
41: 
42:     if ($actionkey == "con_contentallocation")
43:     {
44:          return '<a title="'.i18n("Tagging", 'content_allocation').'" alt="'.i18n("Tagging", 'content_allocation').'" href="'.$sess->url('main.php?area=con_contentallocation&action=con_edit&idart='.$idart.'&idartlang='.$idartlang.'&idcat='.$idcat.'&frame=4').'"><img src="plugins/content_allocation/images/call_contentallocation.gif"></a>';
45: 
46:     } else {
47:         return "";
48:     }
49: }
50: ?>
CMS CONTENIDO 4.9.3 API documentation generated by ApiGen 2.8.0