52 parent::initializeArguments();
53 $this->
registerTagAttribute(
'disabled',
'string',
'Specifies that the input element should be disabled when the page loads');
54 $this->
registerArgument(
'errorClass',
'string',
'CSS class to set if there are errors for this view helper', FALSE,
'f3-form-error');
66 $allowedFields = array(
'name',
'type',
'tmp_name',
'error',
'size');
67 foreach ($allowedFields as $fieldName) {
70 $this->tag->addAttribute(
'type',
'file');
71 $this->tag->addAttribute(
'name', $name);
73 return $this->tag->render();
registerTagAttribute($name, $type, $description, $required=FALSE, $default=NULL)
registerArgument($name, $type, $description, $required=FALSE, $defaultValue=NULL)
registerUniversalTagAttributes()