Overview

Packages

  • CONTENIDO
  • Core
    • Authentication
    • Backend
    • Cache
    • CEC
    • Chain
    • ContentType
    • Database
    • Debug
    • Exception
    • Frontend
      • Search
      • URI
      • Util
    • GenericDB
      • Model
    • GUI
      • HTML
    • I18N
    • LayoutHandler
    • Log
    • Security
    • Session
    • Util
    • Validation
    • Versioning
    • XML
  • Module
    • ContentRssCreator
    • ContentSitemapHtml
    • ContentSitemapXml
    • ContentUserForum
    • NavigationTop
    • ScriptCookieDirective
  • 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

  • cSmartyBackend
  • cSmartyFrontend
  • cSmartyWrapper
  • Overview
  • Package
  • Class
  • Tree
  • Deprecated
  • Todo
 1: <?php
 2: /**
 3:  * This file contains the backend class for smarty wrapper plugin.
 4:  *
 5:  * @package Plugin
 6:  * @subpackage SmartyWrapper
 7:  * @author Andreas Dieter
 8:  * @copyright four for business AG <www.4fb.de>
 9:  * @license http://www.contenido.org/license/LIZENZ.txt
10:  * @link http://www.4fb.de
11:  * @link http://www.contenido.org
12:  */
13: defined('CON_FRAMEWORK') || die('Illegal call: Missing framework initialization - request aborted.');
14: 
15: /**
16:  * Wrapper class for Integration of smarty.
17:  *
18:  * @package Plugin
19:  * @subpackage SmartyWrapper
20:  */
21: class cSmartyBackend extends cSmartyFrontend {
22: 
23:     public function __construct(&$aCfg, &$aClientCfg, $bSanityCheck = false) {
24:         parent::__construct($aCfg, $aClientCfg, false);
25: 
26:         parent::$aDefaultPaths = array(
27:             'template_dir' => $aCfg['path']['contenido'] . 'plugins/smarty_templates/',
28:             'cache_dir' => $aCfg['path']['contenido_cache'],
29:             'compile_dir' => $aCfg['path']['contenido_cache'] . 'templates_c/'
30:         );
31: 
32:         parent::$bSmartyInstanciated = true;
33: 
34:         $this->resetPaths();
35:     }
36: 
37: }
CMS CONTENIDO 4.9.11 API documentation generated by ApiGen 2.8.0