Exemplo n.º 1
0
 public function get($field)
 {
     if ($field === 'marks') {
         return unserialize($this->data['marks']);
     }
     return Crud::get($field);
 }
Exemplo n.º 2
0
 function get($key)
 {
     if ($key === 'alertSubjects') {
         return unserialize($this->data['alertSubjects']);
     }
     return Crud::get($key);
 }
Exemplo n.º 3
0
 function get($key)
 {
     if ($key === 'scripts') {
         return unserialize($this->data['scripts']);
     }
     return Crud::get($key);
 }
Exemplo n.º 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;
 }
Exemplo n.º 5
0
 /** @expectedException \Exception */
 public function test_get()
 {
     /** === Call and asserts  === */
     $this->obj->get([]);
 }