21 defined(
'XOOPS_ROOT_PATH') or die('Restricted access');
45 $this->setCaption($caption);
46 $this->setName($name);
47 $this->_maxFileSize = intval($maxfilesize);
55 function getMaxFileSize()
57 return $this->_maxFileSize;
67 return '<input type="hidden" name="MAX_FILE_SIZE" value="' . $this->getMaxFileSize() .
'" /><input type="file" name="' . $this->getName() .
'" id="' . $this->getName() .
'" title="' . $this->getTitle() .
'" ' .$this->getExtra() .
' /><input type="hidden" name="xoops_upload_file[]" id="xoops_upload_file[]" value="' . $this->getName() .
'" />';