public static function has($_this, $name) { $name = ucfirst($name); $methods =& self::getMethods(get_class($_this)); return $name !== '' && (isset($methods['get' . $name]) || isset($methods['is' . $name])); }
/** * Is property defined? * * @param string $name * * @return bool */ public function __isset($name) { return ObjectMixin::has($this, $name); }