Naos_Controller_Action __construct(
$request,
$response, [
$invokeArgs = array()]
)
|
|
Constructor
Parameters:
|
Zend_Controller_Request_Abstract |
$request: |
|
|
Zend_Controller_Response_Abstract |
$response: |
|
|
array |
$invokeArgs: |
|
API Tags:
void closeDialog(
string
$dialogId
)
|
|
Closes an existing dialog instance (at the moment only supported via AJAX)
Parameters:
|
string |
$dialogId: |
dialog identifier |
API Tags:
void openDialog(
string
$dialogId, string
$type, string
$position, Naos_View
$output, [
$templateName = null]
)
|
|
Creates a new dialog instance (at the moment only supported via AJAX)
Parameters:
|
string |
$dialogId: |
dialog identifier |
|
string |
$type: |
available types: default, simple, tooltip |
|
string |
$position: |
available positions: center, mouse, lastlink |
|
Naos_View |
$output: |
dialog output |
|
|
$templateName: |
|
API Tags:
void render(
[string|null
$action = null], [string|null
$name = null], [bool
$noController = false]
)
|
|
Render a view
Renders a view. By default, views are found in the view script path as <controller>/<action>.phtml. You may change the script suffix by resetting $viewSuffix. You may omit the controller directory prefix by specifying boolean true for $noController.
Parameters:
|
string|null |
$action: |
Defaults to action registered in request object |
|
string|null |
$name: |
ignored |
|
bool |
$noController: |
Defaults to false; i.e. use controller name as subdir in which to search for view script |
API Tags:
void renderScript(
string
$script, [string|null
$name = null]
)
|
|
Render a given view script
Similar to render(), this method renders a view script. Unlike render(), however, it does not autodetermine the view script via getViewScript(), but instead renders the script passed to it. Use this if you know the exact view script name and path you wish to use, or if using paths that do not conform to the spec defined with getViewScript().
Parameters:
|
string |
$script: |
|
|
string|null |
$name: |
ignored |
API Tags:
void triggerCustomOperation(
$type, [
$data = array()]
)
|
|
Parameters:
API Tags: