Garson
[ class tree: Garson ] [ index: Garson ] [ all elements ]

Class: GetRequest

Source Location: /core/GetRequest.php

Class Overview


Class that handle Request related things, with a little effort can be used to create from zero and re-create from current request.


Author(s):

Variables

Methods



Class Details

[line 9]
Class that handle Request related things, with a little effort can be used to create from zero and re-create from current request.



Tags:

author:  Argel Arias <levhita@gmail.com>


[ Top ]


Class Variables

static $__instance =  null

[line 14]

Singleton instance



Tags:

access:  protected

Type:   Request


[ Top ]

$__parameters =  ''

[line 20]

The last section of the uri



Tags:

access:  protected

Type:   string


[ Top ]

$__request_uri =  ''

[line 25]

The full request_uri, after striping the BASE_URL



Tags:

access:  protected

Type:   string


[ Top ]



Class Methods


static method getInstance [line 46]

static GetRequest getInstance( )

Get a single instance of the class (Singleton)



Tags:

access:  public


[ Top ]

constructor __construct [line 27]

GetRequest __construct( )



Tags:

access:  protected


[ Top ]

method getParams [line 53]

void getParams( )



Tags:

access:  public


[ Top ]

method getRequestUri [line 66]

void getRequestUri( )



Tags:

access:  public


[ Top ]

method zeroParameter [line 70]

void zeroParameter( $field, [ $format = 'string'])



Tags:

access:  public


Parameters:

   $field  
   $format  

[ Top ]

method __get [line 57]

void __get( $field)



Tags:

access:  public


Parameters:

   $field  

[ Top ]

method __isset [line 62]

void __isset( $field)



Tags:

access:  public


Parameters:

   $field  

[ Top ]


Documentation generated on Mon, 05 Sep 2011 20:33:26 -0500 by phpDocumentor 1.4.3