public function addTo(common\_object $container) { if ($this->isUsed()) { $js = $this->getObject(); $this->loadExtend(); $window = $this->getWindow(); $class = $window->createObject(array(), 'Class'); $new = $window->createInstanciate($class, array($js)); $container->setProperty($this->getID(), $new); } }
protected function getObjectInterface(common\_object $obj) { return $obj->getInterface(); }