Skip to content

Commit

Permalink
MINOR Added FileIframeField->getCanUploadNewFile()
Browse files Browse the repository at this point in the history
  • Loading branch information
chillu committed Aug 14, 2011
1 parent 1189bcb commit 1b39780
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions forms/FileIFrameField.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
* @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
Expand Down

0 comments on commit 1b39780

Please sign in to comment.