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

Class: DFormAction

Source Location: /Web/MVC/DFormAction.php

Class Overview

DObject
   |
   --DFormAction

Abstract form action class


Author(s):

Variables

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]
Abstract form action class



Tags:

abstract:  


[ Top ]


Class Variables

$_formRequest =  null

[line 30]

Form request instance



Tags:

access:  protected

Type:   DFormRequest


[ Top ]

$_HTMLResult =  ""

[line 23]

HTML result string



Tags:

access:  protected

Type:   string


[ Top ]



Class Methods


static method setForceBrowserHeader [line 118]

static void setForceBrowserHeader( string $headerString)

Sets force browser headers with header() function directly- no waiting for the controller.

Usually used when there is no need for controller _HTMLResults machine handling- fileread(), simple opens and such




Tags:

access:  public


Parameters:

string   $headerString  

[ Top ]

constructor __construct [line 45]

DFormAction __construct( DFormRequest &$DFormRequest, DFormRequest $DFormRequest)

Class constructor



Tags:

access:  public


Overrides DObject::__construct() (Constructor)

Parameters:

DFormRequest   $DFormRequest  
DFormRequest   &$DFormRequest  

[ Top ]

method getBrowserHeader [line 128]

DBrowserHeaders &getBrowserHeader( )

Gets all browser headers



Tags:

access:  public


[ Top ]

method getHTML [line 137]

string getHTML( )

Gets HTML string result



Tags:

access:  public


[ Top ]

method getInternalData [line 158]

mixed getInternalData( )

Gets internal data



Tags:

access:  public


[ Top ]

method run [line 59]

void run( )

Main HTML Generation tool. This method should generate the _HTMLResult string or handle the request.



Tags:

abstract:  
access:  public


[ Top ]

method setBrowserHeader [line 104]

void setBrowserHeader( string $headerString)

Sets browser header



Tags:

access:  public


Parameters:

string   $headerString  

[ Top ]

method setForceRedirect [line 92]

void setForceRedirect( string $urlAddress)

Redirects to another location

Redirects to another url address and halts the current list of actions. Use only in cases of redirectiong to another url address or another part of the project, not reachable via normal action redirection.




Tags:

access:  public


Parameters:

string   $urlAddress  

[ Top ]

method setFormRedirect [line 76]

void setFormRedirect( mixed(string/array) $actionNames)

Sets next form action(s) to be executed



Tags:

access:  public


Parameters:

mixed(string/array)   $actionNames  

[ Top ]

method setInternalData [line 148]

void setInternalData( mixed $data)

Sets internal data



Tags:

access:  public


Parameters:

mixed   $data  

[ Top ]

method unload [line 67]

void unload( )

Unload event of the class



Tags:

access:  public


[ Top ]


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