Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

FileField->getUpload() and setUpload()

  • Loading branch information...
commit aa8dfd127c640844fe5ce923b7e861a7ee270650 1 parent ee71356
@chillu chillu authored
Showing with 13 additions and 1 deletion.
  1. +13 −1 forms/FileField.php
View
14 forms/FileField.php
@@ -205,4 +205,16 @@ public function validate($validator) {
return true;
}
-}
+
+ /**
+ * @return Upload
+ */
+ public function getUpload() {
+ return $this->upload;
+ }
+
+ public function setUpload(Upload $upload) {
+ $this->upload = $upload;
+ }
+
+}
Please sign in to comment.
Something went wrong with that request. Please try again.