Permalink
Browse files

FileField->getUpload() and setUpload()

  • Loading branch information...
1 parent ee71356 commit aa8dfd127c640844fe5ce923b7e861a7ee270650 @chillu chillu committed Jun 28, 2012
Showing with 13 additions and 1 deletion.
  1. +13 −1 forms/FileField.php
View
@@ -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;
+ }
+
+}

0 comments on commit aa8dfd1

Please sign in to comment.