function executeDemo($d)
 {
     if (!$_GET[$this->name]) {
         if ($this->add('Button', null, 'button')->setLabel("Execute \"" . $this->s . '"')->isClicked()) {
             $this->js()->univ()->frameURL('Execution Result', $this->api->url(null, array($this->name => 1)))->execute();
         }
         return;
     }
     $this->api->stickyGET($this->name);
     $this->template->tryDel('source');
     $o = parent::executeDemo($d);
     $_GET['cut_object'] = $o->name;
 }
Exemple #2
0
 function set($code)
 {
     return parent::set($code, true);
 }