Exemplo n.º 1
0
 protected function addToTree(sql\template\component\Rooted $tree)
 {
     $aResult = array();
     $content = $this->build();
     if ($this->readx('@return')) {
         $test = $this->getHandler()->getView()->addToResult($content, false, true);
         $aResult[] = $tree->addTrigger(array($test));
     } else {
         $aResult[] = $tree->addTrigger(array($content));
     }
     return $aResult;
 }
Exemplo n.º 2
0
 protected function buildForm(template\component\Rooted $table)
 {
     $token = $table->getToken();
     $path = $this->parseComponentRoot($this->getNode());
     return array($token->getInsert(), $token->call('savePath', array($this->getWindow()->createString($path)))->getInsert());
 }
Exemplo n.º 3
0
 protected function getFromTree(sql\template\component\Rooted $tree)
 {
     return $tree->getResult();
 }