Lines Matching refs:this
17 $this->init($args);
20 $this->opt['namespace'] = '.';
24 $this->opt['namespace'] = array_shift($args);
26 $this->standardArgs($args);
29 if(!isset($this->opt['optional'])) {
33 $this->tpl = form_makeFileField('@@NAME@@', '@@DISPLAY@@', '@@ID@@', '@@CLASS@@', $attr);
35 if(!isset($this->opt['optional'])){
36 $this->tpl['class'] .= ' required';
52 $this->opt['file'] = $value;
64 $file = $this->getParam('file');
68 if(!isset($this->opt['optional'])) {
69 throw new Exception(sprintf($this->getLang('e_required'),hsc($this->opt['label'])));
72 …throw new Exception(hsc($this->opt['label']) .' '. $lang['uploadfail'] . ' (' .$file['error'] . ')…