[ 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/plugins/ -> _calendar.plugin.php (sommaire)

This file implements the Calendar plugin. This file is part of the b2evolution project - {@link http://b2evolution.net/}

Author: blueyed: Daniel HAHLER.
Author: fplanque: Francois PLANQUE - {@link http://fplanque.net/}
Author: hansreinders: Hans REINDERS
Author: cafelog (team)
Copyright: (c)2003-2007 by Francois PLANQUE - {@link http://fplanque.net/}
Version: $Id: _calendar.plugin.php,v 1.46 2007/10/09 02:10:50 fplanque Exp $
Poids: 1240 lignes (43 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 2 classes

calendar_plugin:: (3 méthodes):
  PluginInit()
  get_widget_param_definitions()
  SkinTag()

Calendar:: (5 méthodes):
  Calendar()
  set()
  display()
  archive_link()
  getNavLinks()


Classe: calendar_plugin  - X-Ref

Calendar Plugin

This plugin displays
PluginInit( & $params )   X-Ref
Init


get_widget_param_definitions( $params )   X-Ref
Get definitions for widget specific editable params

param: local params like 'for_editing' => true

SkinTag( $params )   X-Ref
Event handler: SkinTag (widget)

param: array Associative array of parameters. Valid keys are:
return: boolean did we display?

Classe: Calendar  - X-Ref

Calendar

Calendar( $m = '', $params = array()   X-Ref
Calendar::Calendar(-)

Constructor

param: string Month ('YYYYMM'), year ('YYYY'), current ('')
param: array Associative array of parameters. Valid keys are:

set( $var, $value )   X-Ref
Pas de description

display()   X-Ref
Display the calendar.


archive_link( $year, $month = NULL, $day = NULL )   X-Ref
Create a link to archive, using either URL params or extra path info.

Can make contextual links.

param: string year
param: string month
param: string day

getNavLinks( $direction )   X-Ref
Get links to navigate between month / year.

Unless min/max_timestamp='query' has been specified, this will not do any (time consuming!) queries to check where the posts are.

param: string 'prev' / 'next'
return: array



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