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)) {
29 $ret[$prop->getName()]=$v;
42 $className=get_class($this);
43 $annotName=\substr($className, \strlen(
"Ubiquity\annotations\\"));
44 $annotName=\substr($annotName, 0, \strlen($annotName) - \strlen(
"Annotation"));
45 return "@" . \lcfirst($annotName) . $extsStr;
getPropertiesAndValues($props=NULL)
('property'=>true, 'inherited'=>true)
static asPhpArray($array, $prefix="", $depth=1, $format=false)