19 $this->
rebuild(get_class($elt));
32 parent::__construct($name);
34 }
catch(Exception $e) {
46 return parent::newInstance($cfg);
56 return parent::isSubclassOf(
new nReflection($className));
65 $publicProps = array();
67 $props = $this->getProperties();
68 foreach($props as $p) {
70 $publicProps[] = $p->getName();
85 return class_parents($className);
97 public static function callMethod($object, $function, $args=array()) {
99 if ($ref->hasMethod($function)
100 && ($meth = $ref->getMethod($function))
101 && $meth->isPublic()) {
102 if (!is_array($args)) {
104 $args = array($args);
108 return $meth->invokeArgs($object, $args);
static getParentsClass($className)
newInstanceCfg(config $cfg)
static callMethod($object, $function, $args=array())
__construct($elt='object')