A view that uses PHP as the templating engine.
Method Summary
-
configure()
Configures template.
-
string
decorate($content)
Loop through all template slots and fill them in with the results of
presentation data.
-
execute()
Executes any presentation logic for this view.
-
getEngine()
Retrieves the template engine associated with this view.
-
loadCoreAndStandardHelpers()
Loads core and standard helpers to be use in the template.
-
string
render()
Renders the presentation.
-
string
renderFile($_sfFile)
Renders the presentation.
Methods inherited from sfView
configure , execute , getActionName , getAttribute , getAttributeHolder , getComponentSlot , getDecoratorDirectory , getDecoratorTemplate , getDirectory , getEngine , getExtension , getModuleName , getParameter , getParameterHolder , getTemplate , getViewName , hasAttribute , hasComponentSlot , hasParameter , initialize , initializeAttributeHolder , isDecorator , preRenderCheck , render , setAttribute , setComponentSlot , setDecorator , setDecoratorDirectory , setDecoratorTemplate , setDirectory , setExtension , setParameter , setTemplate , __call , __construct
Method Details
-
Configures template.
-
(string) decorate ($content)
Browse code
| $content |
A chunk of decorator content
|
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.
-
loadCoreAndStandardHelpers ()
Browse code
Loads core and standard helpers to be use in the template.
-
Renders the presentation.
returns A string representing the rendered presentation
-
(string) renderFile ($_sfFile)
Browse code
Renders the presentation.
returns File content
|