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

Class: DFormRequest

Source Location: /Web/MVC/DFormRequest.php

Class Overview

DObject
   |
   --DFormRequest

Form request class


Variables

Constants

Methods


Inherited Constants

Inherited Variables

Inherited Methods

Class: DObject

DObject::__construct()
Constructor
DObject::debug()
Debig
DObject::getClassMembers()
Gets member variables of the instance
DObject::getClassMemberType()
Gets class member type
DObject::getClassMethods()
Gets classes of the class
DObject::getClassName()
Gets class name
DObject::PHPSerialize()
Gets serialized string of the class
DObject::trace()
Trace
DObject::__destruct()
Descructor
DObject::__toString()
Returns String equivalent of the object.

Class Details

[line 16]
Form request class



[ Top ]


Class Variables

$custom =  null

[line 68]

Custom



Tags:

access:  public

Type:   DFormRequestCustom


[ Top ]

$get =  null

[line 61]

Get



Tags:

access:  public

Type:   DFormRequestGet


[ Top ]

$post =  null

[line 54]

Post



Tags:

access:  public

Type:   DFormRequestPost


[ Top ]



Class Methods


static method getInstance [line 94]

static DFormRequest &getInstance( )

Gets DFormRequest instance



Tags:

access:  public


[ Top ]

constructor __construct [line 80]

DFormRequest __construct( )

Constructor



Tags:

access:  public


Overrides DObject::__construct() (Constructor)

[ Top ]

method deleteCollection [line 282]

void deleteCollection( [int $fromWhere = DFormRequest::COMPLEX])

Deletes complex part of the request



Tags:

access:  public


Parameters:

int   $fromWhere  

[ Top ]

method deleteValue [line 261]

void deleteValue( mixed $key, [int $fromWhere = DFormRequest::COMPLEX])

Deletes value by given key



Tags:

access:  public


Parameters:

mixed   $key  
int   $fromWhere  

[ Top ]

method getAll [line 149]

array getAll( )

Gets all data



Tags:

access:  public


[ Top ]

method getCustom [line 139]

array getCustom( )

Gets custom data



Tags:

access:  public


[ Top ]

method getGet [line 129]

array getGet( )

Returns get data



Tags:

access:  public


[ Top ]

method getGetValue [line 196]

string getGetValue( string $key)

Get specific get data



Tags:

access:  public


Parameters:

string   $key  

[ Top ]

method getParamValue [line 205]

string getParamValue( string $key)

Returns field from active request



Tags:

access:  public


Parameters:

string   $key  

[ Top ]

method getPost [line 120]

array getPost( )

Returns post data



Tags:

access:  public


[ Top ]

method getPostValue [line 185]

string getPostValue( string $key)

Get specific post data



Tags:

access:  public


Parameters:

string   $key  

[ Top ]

method isPost [line 107]

boolean isPost( [ $checkRealPost = false])

Checks if there is form submitted



Tags:

var:  make isPost to check $_POST instead virtual post
access:  public


Parameters:

   $checkRealPost  

[ Top ]

method setGetValue [line 249]

void setGetValue( string $key, string $value)

Sets value in the GET request object



Tags:

access:  public


Parameters:

string   $key  
string   $value  

[ Top ]

method setPostValue [line 239]

void setPostValue( string $key, string $value)

Sets value in the POST request object



Tags:

access:  public


Parameters:

string   $key  
string   $value  

[ Top ]

method setValue [line 228]

void setValue( string $key, string $value)

Sets value in the request object



Tags:

access:  public


Parameters:

string   $key  
string   $value  

[ Top ]

method __get [line 167]

mixed __get( string $name)

Gets parameters value



Tags:

access:  public


Parameters:

string   $name  

[ Top ]

method __set [line 217]

void __set( string $name, string $value)

Sets value



Tags:

access:  public


Parameters:

string   $name  
string   $value  

[ Top ]


Class Constants

COMPLEX =  4

[line 40]

Post + Get + Custom


[ Top ]

CUSTOM =  3

[line 35]

Custom


[ Top ]

GET =  2

[line 30]

Get


[ Top ]

NULL =  "null"

[line 20]

NULL


[ Top ]

POST =  1

[line 25]

Post


[ Top ]



Documentation generated on Sat, 17 Apr 2010 22:05:20 +0300 by phpDocumentor 1.4.3