Esempio n. 1
0
 public function __construct($uri_id)
 {
     $this->_Uri = new Uri();
     $this->_Uri->query($uri_id);
     $Model = new \Model_Mock();
     $this->_mock = $Model->fetchListByUriId($this->_Uri->getId());
 }
Esempio n. 2
0
 public function __construct($uri_id)
 {
     $this->_Uri = new Uri();
     $this->_Uri->query($uri_id);
     $Model = new \Model_Mock();
     $list = $Model->fetchListByUriId($uri_id);
     foreach ($list as $mock) {
         $this->_mock[$mock['user']][] = $mock;
     }
 }