Skip to content
This repository
Browse code

FileField->getUpload() and setUpload()

  • Loading branch information...
commit aa8dfd127c640844fe5ce923b7e861a7ee270650 1 parent ee71356
Ingo Schommer authored June 28, 2012

Showing 1 changed file with 13 additions and 1 deletion. Show diff stats Hide diff stats

  1. 14  forms/FileField.php
14  forms/FileField.php
@@ -205,4 +205,16 @@ public function validate($validator) {
205 205
 		
206 206
 		return true;
207 207
 	}
208  
-}
  208
+
  209
+	/**
  210
+	 * @return Upload
  211
+	 */
  212
+	public function getUpload() {
  213
+		return $this->upload;
  214
+	}
  215
+
  216
+	public function setUpload(Upload $upload) {
  217
+		$this->upload = $upload;
  218
+	}
  219
+
  220
+}

0 notes on commit aa8dfd1

Please sign in to comment.
Something went wrong with that request. Please try again.