Method Summary
-
void
configure()
Configures template.
-
string
decorate()
Loop through all template slots and fill them in with the results of
-
execute()
Executes any presentation logic for this view.
-
null
getEngine()
Retrieves the template engine associated with this view.
-
array
getGlobalVars()
Returns variables that will be accessible to the template.
-
loadCoreAndStandardHelpers()
Load core and standard helpers to be use in the template.
-
string
render()
Renders the presentation.
-
string
renderFile()
Renders the presentation.
Methods inherited from sfView
configure , execute , getAttribute , getAttributeHolder , getComponentSlot , getContext , getDecoratorDirectory , getDecoratorTemplate , getDirectory , getEngine , getEscaping , getEscapingMethod , getExtension , getParameter , getParameterHolder , getTemplate , hasAttribute , hasComponentSlot , hasParameter , importAttributes , initialize , isDecorator , preRenderCheck , render , setAttribute , setComponentSlot , setDecorator , setDecoratorDirectory , setDecoratorTemplate , setDirectory , setEscaping , setEscapingMethod , setExtension , setParameter , setTemplate , __call
Method Details
-
Configures template.
-
Loop through all template slots and fill them in with the results of
presentation data.
returns A decorated template
-
Executes any presentation logic for this view.
-
Retrieves the template engine associated with this view.
Note: This will return null because PHP itself has no engine reference.
-
(array) getGlobalVars ()
Browse code
Returns variables that will be accessible to the template.
returns Attributes from the template
-
loadCoreAndStandardHelpers ()
Browse code
Load core and standard helpers to be use in the template.
-
Renders the presentation.
When the controller render mode is sfView::RENDER_CLIENT, this method will
render the presentation directly to the client and null will be returned.
returns A string representing the rendered presentation, if the controller render mode is sfView::RENDER_VAR, otherwise null
-
(string) renderFile ()
Browse code
Renders the presentation.
returns File content
|