Source for file FileUpload.php
Documentation is available at FileUpload.php
- 1: <?php
- 3: /**
- 4: * Nette Framework
- 5: *
- 6: * Copyright (c) 2004, 2009 David Grudl (http://davidgrudl.com)
- 7: *
- 8: * This source file is subject to the "Nette license" that is bundled
- 9: * with this package in the file license.txt.
- 10: *
- 11: * For more information please see http://nettephp.com
- 12: *
- 18: */
- 26: /**
- 27: * Text box and browse button that allow users to select a file to upload to the server.
- 28: *
- 32: */
- 34: {
- 36: /**
- 38: */
- 40: {
- 44: }
- 48: /**
- 49: * This method will be called when the component (or component's parent)
- 50: * becomes attached to a monitored object. Do not call this method yourself.
- 53: */
- 55: {
- 58: }
- 59: }
- 63: /**
- 64: * Sets control's value.
- 67: */
- 69: {
- 78: }
- 79: }
- 83: /**
- 84: * Filled validator: has been any file uploaded?
- 87: */
- 89: {
- 92: }
- 96: /**
- 97: * FileSize validator: is file size in limit?
- 101: */
- 103: {
- 106: }
- 110: /**
- 111: * MimeType validator: has file specified mime type?
- 115: */
- 117: {
- 124: }
- 128: }
- 131: }
- 132: }
- 134: }
- 136: }