Esempio n. 1
0
 public function __construct()
 {
     //$this->setNamespace(self::NS, self::PREFIX);
     $this->setDirectory(__FILE__);
     //$this->setManager($this);
     parent::__construct();
 }
Esempio n. 2
0
 protected function loadResult($manager, fs\file $file, array $aArguments, $bRun = true, $bDelete = true)
 {
     $result = parent::loadResult($manager, $file, $aArguments, $bRun, $bDelete);
     if ($this->profiler) {
         $this->stopProfile();
         $this->profiler = null;
     }
     return $result;
 }
Esempio n. 3
0
 public function asArgument()
 {
     $this->setManagers(\Sylma::getManagers());
     $args = \Sylma::getSettings();
     //$args->set('debug/enable', false);
     $result = parent::asArgument();
     $this->restoreSylma();
     $init = $this->getManager('init');
     $init->setHeaderContent($init->getMime('html'));
     //$args->set('debug/enable', true);
     \Sylma::setSettings($args);
     return $result;
 }
Esempio n. 4
0
 public function getScript($sPath, array $aArguments = array(), array $aContexts = array(), array $aPosts = array(), $bRun = true)
 {
     return parent::getScript($sPath, $aArguments, $this->contexts->query(), $aPosts, $bRun);
 }
Esempio n. 5
0
 public function __construct()
 {
     $this->setDirectory(__FILE__);
     parent::__construct();
 }
Esempio n. 6
0
 public function createArgument($mArguments, $sNamespace = '')
 {
     return parent::createArgument($mArguments, $sNamespace);
 }
Esempio n. 7
0
 public function createDocument($mContent = null)
 {
     return parent::createDocument($mContent);
 }