AjaxPageView Class Reference

Inheritance diagram for AjaxPageView:
View ImportMappingRuleAjaxPageView

Public Member Functions

 __construct (View $containedView)
 render ()
 isUniqueToAPage ()

Protected Member Functions

 renderContent ()

Detailed Description

The view that forms the basis for ajax pages Renders the contents of a contained view and only registered scripts, not script files.

Definition at line 42 of file AjaxPageView.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.

Reimplemented in ImportMappingRuleAjaxPageView.

Definition at line 51 of file AjaxPageView.php.

isUniqueToAPage (  ) 

Tells View that it can render the extending class' divs with and id matching their name. Must be overridden to return false in extending classes that can be rendered multiple times within a page to avoid generating a page with non-unique ids which will fail XHtml validation. For those it will render a class attribute with their name.

Reimplemented from View.

Definition at line 59 of file AjaxPageView.php.

renderContent (  )  [protected]

Renders the view content.

Reimplemented from View.

Definition at line 64 of file AjaxPageView.php.

The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Thu Nov 14 07:10:52 2019