Difference between revisions of "PHPLights/Documentation/liblights/LsResponse"

From Linuxnetworks
Jump to: navigation, search
(initial)
 
(update)
 
Line 1: Line 1:
 
== Synopsis ==
 
== Synopsis ==
  
  abstract class LsResponse implements [[PHPLights/Documentation/Interfaces/LsResponseIface|LsResponseIface]]
+
  abstract class LsResponse
 
  {
 
  {
 
   protected $view = NULL;
 
   protected $view = NULL;
Line 51: Line 51:
 
=== __construct() ===
 
=== __construct() ===
  
  protected function __construct( array &$param )
+
  protected function __construct()
  
 
=== sendCookies() ===
 
=== sendCookies() ===

Latest revision as of 16:16, 6 October 2007

Synopsis

abstract class LsResponse
{
  protected $view = NULL;
  protected $headers = array();
  protected $cookies = array();

  public function addCookie( LsCookie &$cookie )
  public function addHeader( LsHttpHeader &$header )
  public function display()
  public function getView()
  public function & render()
  public function setView( LsViewIface $view )

  protected function __construct( array &$param )
  protected function sendCookies() {}
  protected function sendHeaders() {}

}

Description

Public functions

addCookie()

public function addCookie( LsCookie &$cookie )

addHeader()

public function addHeader( LsHttpHeader &$header )

display()

public function display()

getView()

public function getView()

render()

public function & render()

setView()

public function setView( LsViewIface $view )

Protected functions

__construct()

protected function __construct()

sendCookies()

protected function sendCookies() {}

sendHeaders()

protected function sendHeaders() {}



Back to Overview