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

(pas de description)

Poids: 386 lignes (15 kb)
Inclus ou requis:0 fois
Référencé: 2 fois
Nécessite: 0 fichiers

Définit 1 class

BlogAction:: (9 méthodes):
  BlogAction()
  notifyEvent()
  saveSession()
  setCommonData()
  _getBlogInfo()
  checkDateParameter()
  _updateReferrer()
  _getCorrectedDatePeriod()
  _getPage()


Classe: BlogAction  - X-Ref

\ingroup Action

Extends the BlogAction class so that some common operations for all the actions
can be done in one common place, for example to fetch the SessionInfo object
from the HTTP session.

It is recommended that all the classes implementing actions for the public
side of the blog extend this one, and do not forget to call BlogView::setCommonData()
once done with the processing.
BlogAction( $actionInfo, $request )   X-Ref
Constructor. Additionally, it fetches the SessionInfo object from
the session information


notifyEvent( $eventType, $params = Array()   X-Ref
notifies of events using the plugin manager. It also adds a couple of useful parameters!


saveSession()   X-Ref
Saves the information from the session


setCommonData( $copyFormValues = false )   X-Ref
Sets some common information (dirty dirty...)

param: copyFormValues Whether the values from fields that were registered via

_getBlogInfo()   X-Ref
Fetches the information for this blog from the database since we are going to need it
almost everywhere.


checkDateParameter()   X-Ref
Checks if there is at least a year and a month in the request


_updateReferrer()   X-Ref
updates the referrers but only if there is no $articleId parameter in the request. If that's the case,
it will be left up to the correct action to take care of updating the referrers


_getCorrectedDatePeriod( $inDate )   X-Ref


_getPage()   X-Ref




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