• User Guide
  • API Browser
  • User Guide
  • Kohana
  • Requests

Kohana

  • Getting Started
    • Installation
    • Conventions and Style
    • Model View Controller
      • Controllers
      • Models
      • Views
    • Cascading Filesystem
      • Class Files
      • Config Files
      • Translation Files
      • Message Files
    • Request Flow
    • Bootstrap
    • Modules
    • Routing
    • Error Handling
    • Tips & Common Mistakes
    • Upgrading from v2.x
  • Basic Usage
    • Debugging
    • Loading Classes
    • Transparent Extension
    • Helpers
    • Requests
    • Sessions
    • Cookies
    • Fragments
    • Profiling
  • Security
    • XSS
    • Validation
    • Cookies
    • Database
    • Encryption
    • Deploying
  • Tutorials
    • Hello World
    • Simple MVC
    • Routes & Links
    • Custom Error Pages
    • Content Translation
    • Clean URLs
    • Sharing Kohana
    • Template Driven Site
    • Working with Git

Requests

Requests
     The main request
     Subrequests

blah

The main request

request::instance() gets the main request, you set the response in the bootstrap (usually), you use $request->status to send a 404 or other status, $request->headers to send headers, is_ajax, etc.

Subrequests

TODO: This will talk about subrequests.

http://kerkness.ca/wiki/doku.php?id=hmvc_in_kohana

http://kerkness.ca/wiki/doku.php?id=routing:differ_request_for_internal_and_external

© 2008–2010 Kohana Team

Powered by Kohana v3.0.10