Пример #1
0
 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();
 }
Пример #2
0
 /**
  *
  * @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));
 }
Пример #3
0
 /**
  * @param string $route
  * @param mixed  $id
  *
  * @return string
  */
 public function ACEmbedForm($formId)
 {
     return Ajde_Component_Form::processStatic($this->getParser(), ['embed' => true, 'id' => $formId]);
 }