[ Index ]
 

Code source de b2evolution 2.1.0-beta

Accédez au Source d'autres logiciels libres

Classes | Fonctions | Variables | Constantes | Tables

title

Body

[fermer]

/blogs/inc/items/model/ -> _itemlist.class.php (sommaire)

This file implements the ItemList class 2. This is the object handling item/post/article lists.

Author: fplanque: Francois PLANQUE.
Copyright: (c)2003-2007 by Francois PLANQUE - {@link http://fplanque.net/}
Version: $Id: _itemlist.class.php,v 1.4 2007/11/04 17:55:13 fplanque Exp $
Poids: 727 lignes (24 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 1 class

ItemList2:: (7 méthodes):
  ItemList2()
  preview_from_request()
  query()
  get_col_sort_values()
  prevnext_item_links()
  prev_item_link()
  next_item_link()


Classe: ItemList2  - X-Ref

Item List Class 2

This SECOND implementation will deprecate the first one when finished.

ItemList2( & $Blog, $timestamp_min = NULL, $timestamp_max = NULL, $limit = 20, $cache_name = 'ItemCache', $param_prefix = '', $filterset_name = '', )   X-Ref
Constructor

param: Blog
param: mixed Default filter set: Do not show posts before this timestamp, can be 'now'
param: mixed Default filter set: Do not show posts after this timestamp, can be 'now'
param: integer|NULL Limit
param: string name of cache to be used
param: string prefix to differentiate page/order params when multiple Results appear one same page
param: array restrictions for itemlist (position, contact, firm, ...) key: restriction name, value: ID of the restriction

preview_from_request()   X-Ref
We want to preview a single post, we are going to fake a lot of things...


query()   X-Ref
Run Query: GET DATA ROWS *** HEAVY ***


get_col_sort_values( $col_idx )   X-Ref
Pas de description

prevnext_item_links( $params )   X-Ref
Link to previous and next link in collection


prev_item_link( $before = '', $after = '', $text = '« $title$', $no_item = '', $display = true )   X-Ref
Skip to previous


next_item_link( $before = '', $after = '', $text = '$title$ »', $no_item = '', $display = true )   X-Ref
Skip to next




Généré le : Thu Nov 29 23:58:50 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics