Class Index | File Index

Classes


Namespace Naos

This namespace contains all necessary method for the communication with the PHP service of the Naos Framework, as well as the necessary hooks to integrate the AJAX operations transparently.
Defined in: naos.js.

Namespace Summary
Constructor Attributes Constructor Name and Description
 
This namespace contains all necessary method for the communication with the PHP service of the Naos Framework, as well as the necessary hooks to integrate the AJAX operations transparently.
Method Summary
Method Attributes Method Name and Description
<static>  
Naos.ajaxHookA(view, node, module, controller, action, parameter)
Provides the AJAX hook for anchor tags.
<static>  
Naos.ajaxHookForm(view, node, module, controller, action, parameter, domForm)
Provides the same functionality as Naos.ajaxHookA, except that the hook is designed for form tags.
<static>  
Naos.ajaxMenuitemHookA(requests)
Provides the same functionality as Naos.ajaxHookA, except that the method takes a MenuItem configuration into account.
<static>  
Naos.ajaxReloadView(view)
Performs a request to the PHP service of the Naos Framework which requests to update a view.
<static>  
Naos.ajaxSwitchView(view, node, module, controller, action, parameter, domForms)
Performs a request to the PHP service of the Naos Framework which requests to update a view.
<static>  
Naos.ajaxSwitchViews(requests, domForms)
Performs a request to the PHP service of the Naos Framework which requests to update a set of views.
<static>  
Naos.updateViewContent(view, content)
Updates the HTML content for a view.
Namespace Detail
Naos
This namespace contains all necessary method for the communication with the PHP service of the Naos Framework, as well as the necessary hooks to integrate the AJAX operations transparently.
Method Detail
<static> {boolean} Naos.ajaxHookA(view, node, module, controller, action, parameter)
Provides the AJAX hook for anchor tags. In general the method Naos.ajaxSwitchView gets called.
Parameters:
{String} view
The view which we want to address.
{String} node
The datanode for the current request.
{String} module
The module for the current request.
{String} controller
The controller for the current request.
{String} action
The action for the current request.
{Object} parameter
The parameter for the current request.

<static> {boolean} Naos.ajaxHookForm(view, node, module, controller, action, parameter, domForm)
Provides the same functionality as Naos.ajaxHookA, except that the hook is designed for form tags. Additionally the data of the form object will be included into the request.
Parameters:
{String} view
The view which we want to address.
{String} node
The datanode for the current request.
{String} module
The module for the current request.
{String} controller
The controller for the current request.
{String} action
The action for the current request.
{Object} parameter
The parameter for the current request.
{Form} domForm
The form object which will be included in the request data.

<static> {boolean} Naos.ajaxMenuitemHookA(requests)
Provides the same functionality as Naos.ajaxHookA, except that the method takes a MenuItem configuration into account.
Parameters:
{Object} requests

<static> Naos.ajaxReloadView(view)
Performs a request to the PHP service of the Naos Framework which requests to update a view. The previous request data are taken into account, which results in a reload of the view.
Parameters:
{String} view
The view which should be reloaded.
See:
Naos.ajaxSwitchView

<static> Naos.ajaxSwitchView(view, node, module, controller, action, parameter, domForms)
Performs a request to the PHP service of the Naos Framework which requests to update a view. See Naos.ajaxSwitchViews for further information.
Parameters:
{String} view
The view which we want to address.
{String} node
The datanode for the current request.
{String} module
The module for the current request.
{String} controller
The controller for the current request.
{String} action
The action for the current request.
{Object} parameter
The parameter for the current request.
{Array} domForms
A list of form objects which will be included in the request data.

<static> Naos.ajaxSwitchViews(requests, domForms)
Performs a request to the PHP service of the Naos Framework which requests to update a set of views. In general it creates a new NaosAjax object and triggers the send method.
Parameters:
{Object} requests
See NaosAjax for further information.
{Array} domForms
A list of form objects which will be included in the request data.
See:
NaosAjax

<static> Naos.updateViewContent(view, content)
Updates the HTML content for a view. Takes the current configuration into account. At the moment only the replace method 'inner' is supported.
Parameters:
{String} view
The view which gets to be updated
{String} content
The new HTML content

Documentation generated by JsDoc Toolkit 2.0.2 on Fri Sep 12 2008 13:31:24 GMT-0400 (EDT)