ModalView Class Reference

Inheritance diagram for ModalView:
View

Public Member Functions

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

Static Public Member Functions

static getAjaxOptionsForModalLink ($title, $containerId= 'modalContainer', $height= 'auto', $width=600, $position= 'center top+25', $class="''", $extraCloseScript=null)
static getAjaxBeforeSendOptionForModalLinkContent ($title, $containerId= 'modalContainer', $height= 'auto', $width=600, $position= '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 
)

TODO

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.

Returns:
A string containing the element's content.

Reimplemented from View.

Definition at line 63 of file ModalView.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Tue Sep 26 07:10:27 2017