예제 #1
0
 public function __construct($main)
 {
     self::$Self = $this;
     parent::__construct($main);
     RDD::Log('Loading PEAR', TRACE, 1201);
     $PEARLibs = $this->Dirs('libs/pear');
     foreach ($PEARLibs as $PEARLib) {
         $this->AddIncludePath($PEARLib);
     }
     require_once 'PEAR.php';
 }
예제 #2
0
 public function __call($Method, $Args)
 {
     if (strpos($Method, 'Cache') === 0) {
         $Driver = substr($Method, 5);
         if ($this->DriverExist($Driver)) {
             return $this->ExecuteDriver($Driver, $Args);
         }
     }
     return parent::__call($Method, $Args);
 }
예제 #3
0
 public function __construct($main)
 {
     self::$Self = $this;
     parent::__construct($main);
 }