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; }
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()); }
protected function getFromTree(sql\template\component\Rooted $tree) { return $tree->getResult(); }