コード例 #1
0
ファイル: Mapping.php プロジェクト: Kinetical/Kinesis
 function offsetExists($name)
 {
     if (parent::offsetExists($name) || $this->filter->match($name)) {
         return true;
     }
     return false;
 }
コード例 #2
0
ファイル: Cache.php プロジェクト: Kinetical/Kinesis
 function offsetExists($offset)
 {
     if (parent::offsetExists($offset) === true) {
         return true;
     }
     if ($this->Parameters->exists('hash')) {
         $offset = $this->hash($offset);
     }
     return $this->has($offset);
 }