16 $reflect=new \ReflectionClass($this);
17 $props=$reflect->getProperties();
25 foreach ( $props as $prop ) {
26 $prop->setAccessible(
true);
27 $v=$prop->getValue($this);
28 if ($v !== null && $v !==
"" && isset($v)) {
30 $ret[$prop->getName()]=$v;
43 $className=get_class($this);
44 $annotName=\substr($className, \strlen(
"Ubiquity\annotations\\"));
45 $annotName=\substr($annotName, 0, \strlen($annotName) - \strlen(
"Annotation"));
46 return "@" . \lcfirst($annotName) . $extsStr;
static asPhpArray($array, $prefix="")
getPropertiesAndValues($props=NULL)
static cleanClassname($classname)
('property'=>true, 'inherited'=>true)