Esempio n. 1
0
 public function __construct($date = null)
 {
     if (class_exists('TYPO3\\CMS\\Cal\\Utility\\Registry')) {
         if (is_object($GLOBALS['TSFE'])) {
             if (!is_array($GLOBALS['TSFE']->register['cal_shared_conf'])) {
                 $GLOBALS['TSFE']->register['cal_shared_conf'] =& Registry::Registry('basic', 'conf');
             }
             $this->conf =& $GLOBALS['TSFE']->register['cal_shared_conf'];
             $this->cObj =& $GLOBALS['TSFE']->cObj;
         } else {
             $this->conf =& Registry::Registry('basic', 'conf');
             $this->cObj =& Registry::Registry('basic', 'cobj');
         }
     }
     parent::Date($date);
 }