Source for file FileUpload.php
Documentation is available at FileUpload.php
- 1: <?php
- 3: /**
- 4: * Nette Framework
- 5: *
- 11: */
- 15: /**
- 16: * Text box and browse button that allow users to select a file to upload to the server.
- 17: *
- 20: */
- 22: {
- 24: /**
- 26: */
- 28: {
- 31: }
- 35: /**
- 36: * This method will be called when the component (or component's parent)
- 37: * becomes attached to a monitored object. Do not call this method yourself.
- 40: */
- 42: {
- 46: }
- 48: }
- 50: }
- 54: /**
- 55: * Sets control's value.
- 58: */
- 60: {
- 69: }
- 71: }
- 75: /**
- 76: * Filled validator: has been any file uploaded?
- 79: */
- 81: {
- 84: }
- 88: /**
- 89: * FileSize validator: is file size in limit?
- 93: */
- 95: {
- 98: }
- 102: /**
- 103: * MimeType validator: has file specified mime type?
- 107: */
- 109: {
- 116: }
- 120: }
- 123: }
- 124: }
- 126: }
- 128: }