Пример #1
0
 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);
     }
 }
Пример #2
0
 protected function getObjectInterface(common\_object $obj)
 {
     return $obj->getInterface();
 }