/** * @param string $var * @return bool isset */ protected function __isset($var) { switch ($var) { case 'publishedMin': $var = 'published-min'; break; case 'publishedMax': $var = 'published-max'; break; case 'blogName': $var = '_blogName'; break; default: break; } return parent::__isset($var); }
protected function __isset($var) { switch ($var) { case 'startMin': $var = 'start-min'; break; case 'startMax': $var = 'start-max'; break; case 'visibility': $var = '_visibility'; break; case 'projection': $var = '_projection'; break; case 'user': $var = '_user'; break; case 'event': $var = '_event'; break; case 'comments': $var = '_comments'; break; default: break; } return parent::__isset($var); }
/** * @param string $var * @return bool */ protected function __isset($var) { switch ($var) { case 'query': $var = 'bq'; break; case 'category': $var = '_category'; break; default: // other params are handled by the parent break; } return parent::__isset($var); }