示例#1
0
 public function get($field)
 {
     if ($field === 'marks') {
         return unserialize($this->data['marks']);
     }
     return Crud::get($field);
 }
示例#2
0
 function get($key)
 {
     if ($key === 'alertSubjects') {
         return unserialize($this->data['alertSubjects']);
     }
     return Crud::get($key);
 }
示例#3
0
 function get($key)
 {
     if ($key === 'scripts') {
         return unserialize($this->data['scripts']);
     }
     return Crud::get($key);
 }
示例#4
0
 public function get($params)
 {
     if (!is_logged()) {
         return;
     }
     if (is_string($params)) {
         $params = parse_params($params);
     }
     if ($params == false) {
         return;
     }
     $params['created_by'] = user_id();
     $get = parent::get($params);
     return $get;
 }
 /** @expectedException \Exception */
 public function test_get()
 {
     /** === Call and asserts  === */
     $this->obj->get([]);
 }