Blame view

framework/control/NullHTTPRequest.php 411 Bytes
0084d336   Administrator   Importers CRUD
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
  <?php
  /**
   * Implements the "Null Object" pattern for a missing http request.
   * Set on controllers on construction time, typically overwritten
   * by {@link Controller->handleRequest()} and {@link Controller->handleAction()} later on.
   * 
   * @package framework
   * @subpackage control
   */
  class NullHTTPRequest extends SS_HTTPRequest {
  
  	public function __construct() {
  		parent::__construct(null, null);
  	}
  	
  }