コード例 #1
0
ファイル: Tt.php プロジェクト: rosko/workapp
 public function __construct($config)
 {
     parent::__construct($config);
     $this->registry->set("getNumMeTasks", $this->registry["tt"]->getNumMeTasks());
     $this->registry->set("getNumTasks", $this->registry["tt"]->getNumTasks());
     $this->registry->set("draftttnum", $this->registry["tt"]->getDraftNumTasks($this->registry["ui"]["id"]));
 }
コード例 #2
0
ファイル: Objects.php プロジェクト: rosko/workapp
 public function __construct($config)
 {
     parent::__construct($config);
     $this->object = new Model_Object();
     $this->mtemplate = new Model_Template();
     $this->templates = $this->mtemplate->getTemplates();
 }
コード例 #3
0
ファイル: Find.php プロジェクト: rosko/workapp
 public function __construct()
 {
     parent::__construct();
     $this->find = new Model_Find();
     $this->findSess =& $_SESSION["find"];
     if (isset($_POST["find"])) {
         $_POST["find"] = htmlspecialchars($_POST["find"]);
         $this->findSess["string"] = $_POST["find"];
     } else {
         if (!isset($this->findSess["string"])) {
             $this->findSess["string"] = "";
         }
     }
     $tfind = explode(" ", substr($this->findSess["string"], 0, 64));
     $this->numFind = $this->find->getNumFinds($tfind);
 }
コード例 #4
0
ファイル: article.php プロジェクト: PoppyLi/PCMS
 public function __construct()
 {
     parent::__construct();
     $this->load->model('Upload_model', 'mupload');
 }
コード例 #5
0
ファイル: Mail.php プロジェクト: rosko/workapp
 public function __construct($config)
 {
     parent::__construct($config);
     $mailClass = new Model_Mail();
     $this->folders = $mailClass->getFolders();
 }