コード例 #1
0
 /**
  * Wrapper for deprecated $criterion property
  *
  * @param string $property
  * @return bool
  */
 public function __isset($property)
 {
     if ($property === 'criterion') {
         return true;
     }
     return parent::__isset($property);
 }
コード例 #2
0
ファイル: Tag.php プロジェクト: netgen/tagsbundle
 /**
  * Magic isset for signaling existence of convenience properties.
  *
  * @param string $property
  *
  * @return bool
  */
 public function __isset($property)
 {
     if ($property === 'keyword') {
         return true;
     }
     return parent::__isset($property);
 }