[ Index ]
 

Code source de LifeType 1.2.4

Accédez au Source d'autres logiciels libres

Classes | Fonctions | Variables | Constantes | Tables

title

Body

[fermer]

/class/view/ -> plugintemplatedview.class.php (sommaire)

(pas de description)

Poids: 80 lignes (3 kb)
Inclus ou requis:0 fois
Référencé: 1 fois
Nécessite: 0 fichiers

Définit 1 class

PluginTemplatedView:: (2 méthodes):
  PluginTemplatedView()
  render()


Classe: PluginTemplatedView  - X-Ref

\ingroup View

Loads template files from the plugins/ folder. This is the view class that plugins should use when
creating their own views. It works in exactly the same way as the BlogView class but it knows how
to load custom templates as provided by templates, which are located under
plugins/plugin-name/templates/ instead of templates/template-set-name/

PluginTemplatedView( $blogInfo, $pluginId, $templateName, $cachingEnabled = SMARTY_VIEW_CACHE_CHECK, $data = Array()   X-Ref
This initializes the class, but normally we'll only have to initialize the parent

param: blogInfo
param: pluginId
param: templateName
param: useHeaderFooter Whether to use the templates/admin/header.template and

render()   X-Ref
Renders the view. It simply gets all the parameters we've been adding to it
and puts them in the context of the template renderer so that they can be accessed
as normal parameters from within the template

return: Returns a rendered template



Généré le : Mon Nov 26 21:04:15 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics