예제 #1
0
 /**
  * Constructeur de la classe faisant appel au constructeur parent
  */
 public function __construct()
 {
     parent::__construct();
     require_once 'Zend/Loader/Autoloader.php';
     $autoloader = Zend_Loader_Autoloader::getInstance();
     $autoloader->registerNamespace('Az_');
     $this->initLog();
 }
 function __construct($path)
 {
     parent::__construct();
     // constructor for t3lib_div::makeInstance; the first parameter overwrites public $scriptRelPath to load the correct translation file
     if ($path) {
         $this->scriptRelPath = $path;
     }
 }
예제 #3
0
 /**
  * Class constructor.
  */
 function __construct()
 {
     parent::__construct();
     $this->local = new tx_gopibase_local($this);
     $this->img = new imageResize();
     if (t3lib_extMgm::isLoaded('dam')) {
         foreach (explode(',', tx_dam_db::getPidList()) as $damPid) {
             $this->damMediaPid = $damPid;
             break;
         }
     }
 }
 /**
  * initializing the parent class
  *
  * @param	array		$conf: TS conf
  * @return	void		...
  */
 function init($conf)
 {
     tslib_pibase::__construct();
     $this->conf = $conf;
     $this->pi_loadLL();
     $this->siteUrl = $this->conf['siteUrl'];
     // Default linebreak;
     $this->linebreak = LF;
     if ($this->conf['flowedFormat']) {
         $this->linebreak = chr(32) . LF;
     }
 }
 /**
  * The constructor for a view setting the component manager and the configuration.
  *
  * @param Tx_Formhandler_Component_Manager $componentManager
  * @param Tx_Formhandler_Configuration $configuration
  * @return void
  */
 public function __construct(Tx_Formhandler_Component_Manager $componentManager, Tx_Formhandler_Configuration $configuration)
 {
     parent::__construct();
     $this->componentManager = $componentManager;
     $this->configuration = $configuration;
     $this->cObj = Tx_Formhandler_Globals::$cObj;
     $this->pi_loadLL();
     $this->initializeView();
 }