Пример #1
0
 function offsetExists($name)
 {
     if (parent::offsetExists($name) || $this->filter->match($name)) {
         return true;
     }
     return false;
 }
Пример #2
0
 function offsetExists($offset)
 {
     if (parent::offsetExists($offset) === true) {
         return true;
     }
     if ($this->Parameters->exists('hash')) {
         $offset = $this->hash($offset);
     }
     return $this->has($offset);
 }