b2evolution

Multilingual multiuser multiblog engine

b2evolution Technical Documentation (Version 1.8) [ class tree: evocore ] [ index: evocore ] [ all elements ]

Class: Calendar

Source Location: /blogs/plugins/_calendar.plugin.php

Class Calendar

Property Summary
boolean   $browseyears   Do we want to browse years in the caption? True by default for mode == year, false for mode == month (gets set in constructor).
mixed   $cellend  
mixed   $cellstart  
mixed   $context_isolation  
mixed   $displaycaption  
mixed   $emptycellcontent  
mixed   $emptycellend  
mixed   $emptycellstart  
mixed   $headercellend  
mixed   $headercellstart  
mixed   $headerdisplay  
mixed   $headerrowend  
mixed   $headerrowstart  
mixed   $linktomontharchive  
mixed   $link_type  
mixed   $mode  
mixed   $month  
mixed   $monthend  
mixed   $monthformat  
mixed   $monthstart  
string   $navigation   Where to do the navigation
mixed   $request  
mixed   $result  
mixed   $result_num_rows  
mixed   $rowend  
mixed   $rowstart  
mixed   $tableend  
mixed   $tablestart  
boolean   $todayIsVisible  
mixed   $where  
mixed   $year  

[ Top ]
Method Summary
Calendar   Calendar()   Calendar::Calendar(-)
void   archive_link()   Create a link to archive, using either URL params or extra path info.
void   display()   Display the calendar.
array   getNavLinks()   Get links to navigate between month / year.
void   set()  

[ Top ]
Properties
boolean   $browseyears [line 282]

Do we want to browse years in the caption? True by default for mode == year, false for mode == month (gets set in constructor).


[ Top ]
mixed   $cellend [line 270]

[ Top ]
mixed   $cellstart [line 269]

[ Top ]
mixed   $context_isolation [line 292]

[ Top ]
mixed   $displaycaption [line 243]

[ Top ]
mixed   $emptycellcontent [line 275]

[ Top ]
mixed   $emptycellend [line 273]

[ Top ]
mixed   $emptycellstart [line 272]

[ Top ]
mixed   $headercellend [line 267]

[ Top ]
mixed   $headercellstart [line 266]

[ Top ]
mixed   $headerdisplay [line 263]

[ Top ]
mixed   $headerrowend [line 265]

[ Top ]
mixed   $headerrowstart [line 264]

[ Top ]
mixed   $linktomontharchive [line 247]

[ Top ]
mixed   $link_type [line 291]

[ Top ]
mixed   $mode [line 236]

[ Top ]
mixed   $month [line 234]

[ Top ]
mixed   $monthend [line 246]

[ Top ]
mixed   $monthformat [line 244]

[ Top ]
mixed   $monthstart [line 245]

[ Top ]
string   $navigation = 'tfoot' [line 255]

Where to do the navigation

'caption' or 'tfoot';


[ Top ]
mixed   $request [line 239]

[ Top ]
mixed   $result [line 240]

[ Top ]
mixed   $result_num_rows [line 241]

[ Top ]
mixed   $rowend [line 261]

[ Top ]
mixed   $rowstart [line 260]

[ Top ]
mixed   $tableend [line 258]

[ Top ]
mixed   $tablestart [line 257]

[ Top ]
boolean   $todayIsVisible [line 288]
API Tags:
Access:  protected


[ Top ]
mixed   $where [line 238]

[ Top ]
mixed   $year [line 234]

[ Top ]
Methods
Constructor Calendar  [line 302]

  Calendar Calendar( [string $m = '']  )

Calendar::Calendar(-)

Constructor

Parameters:
string   $m:  Month ('YYYYMM'), year ('YYYY'), current ('')


[ Top ]
archive_link  [line 806]

  void archive_link( string $year, string $month, [string $day = ''], [string $week = '']  )

Create a link to archive, using either URL params or extra path info.

Can make contextual links.

Parameters:
string   $year:  year
string   $month:  month
string   $day:  day
string   $week:  week


[ Top ]
display  [line 433]

  void display( )

Display the calendar.


Information Tags:
Todo:  If a specific day (mode == month) or month (mode == year) is selected, apply another class (default to some border)

[ Top ]
getNavLinks  [line 841]

  array getNavLinks( string $direction  )

Get links to navigate between month / year.

Parameters:
string   $direction:  'prev' / 'next'

Information Tags:
Todo:  fplanque>> I think there's a query-waste-fest going on inside here!
Todo:  fplanque>> Poor factorization.

[ Top ]
set  [line 422]

  void set( $var, $value  )

Parameters:
   $var: 
   $value: 


[ Top ]

Documentation generated on Tue, 18 Dec 2007 23:11:02 +0100 by phpDocumentor 1.4.0