Permalink
Browse files

MINOR Added FileIframeField->getCanUploadNewFile()

  • Loading branch information...
1 parent 1189bcb commit 1b3978095a39daccdfcc67177402430036e3b68e @chillu chillu committed Aug 14, 2011
Showing with 10 additions and 2 deletions.
  1. +10 −2 forms/FileIFrameField.php
@@ -28,13 +28,21 @@ class FileIFrameField extends FileField {
/**
* 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;
}
/**
+ * @return boolean
+ */
+ function getCanUploadNewFile() {
+ return $this->canUploadNewFile;
+ }
+
+ /**
* The data class that this field is editing.
* @return string Class name
*/

0 comments on commit 1b39780

Please sign in to comment.