[ 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/admin/ -> adminview.class.php (sommaire)

(pas de description)

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

Définit 1 class

AdminView:: (4 méthodes):
  AdminView()
  setUserInfo()
  notifyEvent()
  render()


Classe: AdminView  - X-Ref

\ingroup View

Extends the View class to add some commont methods and attributes that will be shared
by all the views of the administrative interface. This is the main basic view that all
view classes from the admin interface should extend.

This class has support for loading templates from the templates/admin folder, as well as
being able to use locales and even to throw events if needed.

The AdminView::render() method implements some logic of its own so it must be called
at some point in our custom classes extending AdminView.

As of pLog 1.0, AdminView classes do not have support for cached views.
AdminView( $blogInfo )   X-Ref
Calls the parent constructor and initializes the template service used
to fetch the templates

param: blogInfo A valid BlogInfo object

setUserInfo( $userInfo )   X-Ref
some views need to know who is executing them... but since it's not mandatory
for all, we'll have to use AdminView::setUserInfo whenever needed

param: userInfo a UserInfo object with information about the user who is currently

notifyEvent( $eventType, $params = Array()   X-Ref
notifies of a throwable event

param: eventType The code of the event we're throwing
param: params Array with the event parameters

render()   X-Ref
call the View::render() method.




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