ModalView Class Reference

Inheritance diagram for ModalView:

Public Member Functions

 __construct (CController $controller, View $view)
 render ()

Static Public Member Functions

static getAjaxOptionsForModalLink ($title, $containerId= 'modalContainer', $height= 'auto', $width=600, $position=array('my'=>'center top+25','at'=>'center top+25'), $class="''", $extraCloseScript=null)
static getAjaxBeforeSendOptionForModalLinkContent ($title, $containerId= 'modalContainer', $height= 'auto', $width=600, $position=array('my'=>'center top+25','at'=>'center top+25'), $class="''", $extraCloseScript=null)

Protected Member Functions

 renderContent ()

Detailed Description

The base View for a modal view. Modal views are inline display popups

Definition at line 41 of file ModalView.php.

Constructor & Destructor Documentation

__construct ( CController $  controller,
View view 


Definition at line 46 of file ModalView.php.

Member Function Documentation

render (  ) 

Renders a div element with a id or class attribute set to the type of the view, (depending on the value returned by isUniqueToAPage()), and containing the content of any matching template found in the themes/<themename>/ directory if it exists, marked by begin/end comments, and the content of the view rendered by renderContent(). All are correctly indented by indent().

If the template does not exist in the active theme folder, it will attempt to locate the file in the themes/default/templates folder and include it if it exists.

Reimplemented from View.

Definition at line 52 of file ModalView.php.

renderContent (  )  [protected]

Renders content for a view.

A string containing the element's content.

Reimplemented from View.

Definition at line 66 of file ModalView.php.

The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Sat Jan 18 07:11:05 2020