public function render() { $this->prepareOptions(); $this->value = $this->label; $this->options->label = ''; $this->code = HTML::input($this->options); return parent::render(); }
public function render() { $this->getAttributes(); $this->attributes->value = $this->label; $this->attributes->label = ''; $this->code = HTML::input($this->attributes); return parent::render(); }
/** * Render */ public function render() { $this->getAttributes(); if ($this->value && ($this->value = Url::link(Url::toUri(UPLOADS . $this->value, ROOT, FALSE)))) { $tpl = new Template('Form.file'); $tpl->assign($this->attributes); $tpl->value = $this->value; $this->code = $tpl->render(); } return parent::render(); }
/** * Render */ public function render() { $this->getAttributes(); $this->attributes->type = 'file'; $this->attributes->class = 'ajaxed image'; $tpl = new Template('Upload_Ajax.image'); $tpl->assign($this->attributes); if ($this->value && ($this->value = Url::link(Url::toUri(UPLOADS . $this->value, ROOT, FALSE)))) { $tpl->value = $this->value; $tpl->image = $this->image; } $this->code = $tpl->render(); return Form_Element_Abstract::render(); }
/** * Render */ public function render() { $this->prepareOptions(); $this->code = HTML::paired_tag('span', $this->value); return parent::render(); }
/** * Render */ public function render() { $this->getAttributes(); $this->code = HTML::paired_tag('span', $this->value); return parent::render(); }