-
(bool) actionExists (, )
Browse code
Indicates whether or not a module has a specific action.
returns true, if the action exists, otherwise false
-
(bool) componentExists (, )
Browse code
Indicates whether or not a module has a specific component.
returns true, if the component exists, otherwise false
-
(boolean) controllerExists (, , , )
Browse code
Looks for a controller and optionally throw exceptions if existence is required (i.e.
in the case of {@link getController()}).
returns true if the controller exists, false otherwise
throws sfConfigurationException thrown if the module is not enabled
-
Forwards the request to another action.
throws sfConfigurationException If an invalid configuration setting has been found
-
(sfAction) getAction (, )
Browse code
Retrieves an sfAction implementation instance.
returns An sfAction implementation instance, if the action exists, otherwise null
-
(sfActionStack) getActionStack ()
Browse code
Retrieves the action stack.
returns An sfActionStack instance, if the action stack is enabled, otherwise null
-
(sfComponent) getComponent (, )
Browse code
Retrieves a sfComponent implementation instance.
returns A sfComponent implementation instance, if the component exists, otherwise null
-
(sfContext) getContext ()
Browse code
Retrieves the current application context.
returns A sfContext instance
-
(object) getController (, , )
Browse code
Retrieves a controller implementation instance.
returns A controller implementation instance, if the controller exists, otherwise null
-
(string) getPresentationFor (, , )
Browse code
Returns the rendered view presentation of a given module/action.
returns The generated content
-
(int) getRenderMode ()
Browse code
Retrieves the presentation rendering mode.
returns One of the following: - sfView::RENDER_CLIENT - sfView::RENDER_VAR
-
(sfView) getView (, , )
Browse code
Retrieves a sfView implementation instance.
returns A sfView implementation instance, if the view exists, otherwise null
-
Indicates whether or not we were called using the CLI version of PHP.
returns true, if using cli, otherwise false.
-
Initializes this controller.
-
Loads application nad module filters.
-
(sfController) newInstance ()
Browse code
Retrieves a new sfController implementation instance.
returns A sfController implementation instance
throws sfFactoryException If a new controller implementation instance cannot be created
-
(string) sendEmail (, )
Browse code
Sends and email from the current action.
This methods calls a module/action with the sfMailView class.
returns The generated mail content
-
Sets the presentation rendering mode.
throws sfRenderException If an invalid render mode has been set
-
Calls methods defined via the sfMixer class.
returns The returned value of the called method