MINOR Added FileIframeField->getCanUploadNewFile()

This commit is contained in:
Ingo Schommer 2011-08-14 13:54:13 +02:00
parent 1189bcb7fe
commit 1b3978095a

View File

@ -28,12 +28,20 @@ class FileIFrameField extends FileField {
/** /**
* Sets whether or not files can be uploaded into the CMS from the user's local computer * Sets whether or not files can be uploaded into the CMS from the user's local computer
* @param boolean $can *
* @param boolean
*/ */
public function setCanUploadNewFile($can) { function setCanUploadNewFile($can) {
$this->canUploadNewFile = $can; $this->canUploadNewFile = $can;
} }
/**
* @return boolean
*/
function getCanUploadNewFile() {
return $this->canUploadNewFile;
}
/** /**
* The data class that this field is editing. * The data class that this field is editing.
* @return string Class name * @return string Class name