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

(pas de description)

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

Définit 1 class

DefaultView:: (4 méthodes):
  DefaultView()
  _addShowMoreLink()
  getPageTitle()
  render()


Classe: DefaultView  - X-Ref


DefaultView( $blogInfo, $data = Array()   X-Ref
Initializes the parent class


_addShowMoreLink()   X-Ref
Takes all the posts and determines if we have to add the "show more" after
show_more_threshold words have been counted. If so, clicking on the link
will show the whole post using the ViewArticle action.

param: maxWords The amount of words we tollerate before showing the link.
return: nothing.

getPageTitle()   X-Ref
Provides a meaningful page title. The format here will depend on whether we're browsing the main
blog page, or a page from the archives or a category page

return: a page title

render()   X-Ref
This view shows a list of the posts for the blog.

The blog we are going to show is determined by:
1) blogId parameter in the $_REQUEST
2) blogId parameter in the session
3) default_blog_id parameter from the configuration file



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