public static function processStatic(Ajde_Template_Parser $parser, $attributes) { $instance = new Ajde_Component_Form($parser, $attributes); $t = new stdClass(); // Force unique object hash, see http://www.php.net/manual/es/function.spl-object-hash.php#76220 return $instance->process(); }
/** * * @param string $target * @return string */ public function ACAjaxUpload($name, $options = array(), $id = null, $class = null) { return Ajde_Component_Form::processStatic($this->getParser(), array('name' => $name, 'upload' => true, 'options' => $options, 'id' => $id, 'class' => $class)); }
/** * @param string $route * @param mixed $id * * @return string */ public function ACEmbedForm($formId) { return Ajde_Component_Form::processStatic($this->getParser(), ['embed' => true, 'id' => $formId]); }