dmBridge PHP API
DMAbstractController Class Reference

A generic controller superclass from which all other controllers inherit. More...

Inheritance diagram for DMAbstractController:

Public Member Functions

Data Fields

Protected Member Functions


Detailed Description

A generic controller superclass from which all other controllers inherit.

Author:
Alex Dolski <alex.dolski@unlv.edu> http://www.opensource.org/licenses/mit-license.php

Definition at line 15 of file DMAbstractController.php.


Member Function Documentation

DMAbstractController::getForm ( ) [protected]
Returns:
DMAbstractForm

Definition at line 35 of file DMAbstractController.php.

Referenced by handleForm().

DMAbstractController::getHTTPRequest ( ) [final, protected]
DMAbstractController::getUser ( ) [final, protected]
DMAbstractController::handleForm ( flash_msg = null,
dest_params = null 
) [protected]
Parameters:
stringflash_msg Override the default flash message
stringdest_params Redirect to the given params upon success

Definition at line 71 of file DMAbstractController.php.

DMAbstractController::setForm ( DMAbstractForm form) [protected]
Parameters:
DMAbstractFormform

Definition at line 42 of file DMAbstractController.php.

Referenced by DMTEObjectController::view().

DMAbstractController::setTemplateSet ( DMTemplateSet set) [final]
Parameters:
DMTemplateSetset

Definition at line 63 of file DMAbstractController.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables