Skip to content

Commit

Permalink
FileField->getUpload() and setUpload()
Browse files Browse the repository at this point in the history
  • Loading branch information
chillu committed Jun 28, 2012
1 parent ee71356 commit aa8dfd1
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion forms/FileField.php
Expand Up @@ -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.