Class Client

Description

class Client

This class is responsible for building a Request object and sending the Request object to the front controller for processing. The front controller then gives the response back to the end user.

Located in /client.class.php (line 20)

Exception
   |
   --PException
      |
      --Controller
         |
         --Client
Variable Summary
mixed $Client
mixed $Request
Method Summary
Variables
mixed $Client (line 22)
  • static:
  • access: private
mixed $Request (line 23)
  • access: private

Inherited Variables

Inherited from Controller

Controller::$Controller
Methods
BuildRequest (line 50)

function BuildRequest

This method constructs, retrieves and shares the Request object to this class locally so that it can be sent to the front controller via the SendRequest method for processing.

  • access: private
void BuildRequest ()
GetInstance (line 34)

function GetInstance

This method instantiates a new object from this class; more specifically, it's a singleton instance.

  • return: object instance
  • static:
  • access: public
Client GetInstance ()

Redefinition of:
Controller::GetInstance()
function GetInstance
SendRequest (line 65)

function SendRequest

This method builds and sends the Request object to the front controller via the ProcessRequest method for processing. The front controller then gives a response back to the end user.

  • access: public
void SendRequest ()

Inherited Methods

Inherited From Controller

Controller::Dispatch()
Controller::GetInstance()
Controller::ProcessRequest()

Inherited From PException

PException::Display()

Documentation generated on Thu, 9 Sep 2004 09:03:33 -0400 by phpDocumentor 1.3.0RC3