예제 #1
0
파일: Photo.php 프로젝트: rosko/workapp
 function __construct($config)
 {
     parent::__construct($config);
     if (isset($this->registry["post"]["did"])) {
         $this->_curdir = $this->registry["post"]["did"];
     }
     $this->_muser = new Model_User();
     $this->_mfile = new Model_Photofile($config);
     $this->_mphoto = new Model_Photo();
 }
예제 #2
0
파일: FASave.php 프로젝트: norayrx/otms
 function __construct($config)
 {
     parent::__construct($config);
     if (isset($_GET['qqfafile'])) {
         $this->file = new Model_FASave();
     } else {
         $this->file = false;
     }
     $this->abspDir = $this->registry['path']['root'] . "/" . $this->registry['path']['upload'];
     $this->abs_thumbDir = $this->registry['path']['root'] . "/" . $this->registry['path']['upload'] . "_thumb/";
 }
예제 #3
0
파일: Chat.php 프로젝트: rosko/workapp
 public function __construct($config)
 {
     parent::__construct($config);
     $this->chat = $this->registry["chat"];
 }
예제 #4
0
파일: Dashboard.php 프로젝트: norayrx/otms
 function __construct($config)
 {
     parent::__construct($config);
     $this->dashboard = new Model_Dashboard();
 }