[ Index ]
 

Code source de Symfony 1.0.0

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/lib/view/ -> sfPHPView.class.php (sommaire)

(pas de description)

Poids: 284 lignes (8 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 1 class

sfPHPView:: (8 méthodes):
  execute()
  getGlobalVars()
  loadCoreAndStandardHelpers()
  renderFile()
  getEngine()
  configure()
  decorate()
  render()


Classe: sfPHPView  - X-Ref


execute()   X-Ref
Executes any presentation logic for this view.


getGlobalVars()   X-Ref
Returns variables that will be accessible to the template.

return: array Attributes from the template

loadCoreAndStandardHelpers()   X-Ref
Load core and standard helpers to be use in the template.


renderFile($_sfFile)   X-Ref
Renders the presentation.

param: string Filename
return: string File content

getEngine()   X-Ref
Retrieves the template engine associated with this view.

Note: This will return null because PHP itself has no engine reference.

return: null

configure()   X-Ref
Configures template.

return: void

decorate($content)   X-Ref
Loop through all template slots and fill them in with the results of
presentation data.

param: string A chunk of decorator content
return: string A decorated template

render($templateVars = null)   X-Ref
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.

return: string A string representing the rendered presentation, if



Généré le : Fri Mar 16 22:42:14 2007 par Balluche grâce à PHPXref 0.7