Source for file Application.php
Documentation is available at Application.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 https://nette.org
- 12: *
- 19: */
- 29: /**
- 30: * Front Controller.
- 31: *
- 35: */
- 37: {
- 79: /**
- 80: * Dispatch a HTTP request to a front controller.
- 81: */
- 83: {
- 92: }
- 94: // check HTTP method
- 102: }
- 103: }
- 105: // dispatching
- 112: }
- 117: // default router
- 124: }
- 126: // routing
- 131: }
- 135: }
- 136: }
- 141: // Instantiate presenter
- 148: }
- 151: // Instantiate topmost service locator
- 154: // Execute presenter
- 159: // not error, presenter redirects to new URL
- 164: // not error, presenter forwards to new request
- 168: // not error, application is correctly terminated
- 173: // fault barrier
- 176: }
- 180: }
- 195: }
- 200: }
- 201: echo "<title>404 Not Found</title>\n\n<h1>Not Found</h1>\n\n<p>The requested URL was not found on this server.</p>";
- 207: }
- 210: "<p>The server encountered an internal error and was unable to complete your request. Please try again later.</p>";
- 212: }
- 213: }
- 217: }
- 221: /**
- 222: * Returns all processed requests.
- 224: */
- 226: {
- 228: }
- 232: /**
- 233: * Returns current presenter.
- 235: */
- 237: {
- 239: }
- 243: /********************* services ****************d*g**/
- 247: /**
- 248: * Gets the service locator (experimental).
- 250: */
- 252: {
- 259: }
- 260: }
- 261: }
- 263: }
- 267: /**
- 268: * Gets the service object of the specified type.
- 272: */
- 274: {
- 276: }
- 280: /**
- 281: * Returns router.
- 283: */
- 285: {
- 287: }
- 291: /**
- 292: * Changes router.
- 295: */
- 297: {
- 299: }
- 303: /**
- 304: * Returns presenter loader.
- 306: */
- 308: {
- 310: }
- 314: /********************* request serialization ****************d*g**/
- 318: /**
- 320: */
- 322: {
- 331: }
- 335: /**
- 338: */
- 340: {
- 346: }
- 347: }
- 351: /********************* backend ****************d*g**/
- 355: /**
- 357: */
- 359: {
- 361: }
- 365: /**
- 367: */
- 369: {
- 371: }
- 375: /**
- 377: */
- 379: {
- 381: }
- 383: }
