TITAN Library for PHP5  5.1.0
Web Software Development Kit for PHP5
calendar Class Reference

Titan Calendar Class. More...

Inheritance diagram for calendar:
callback

Public Member Functions

 __construct ($title= 'Calendar', $year= '', $month= '', $day= '')
 
 set_key ($key_type= 'key', $key= '')
 
 title ($title= 'Calendar')
 
 controller ()
 
 set_date ($year= '', $month= '', $day= '')
 
 month ($year= '', $month= '', $day= '')
 
 day ($year= '', $month= '', $day= '')
 
 mini ($year= '', $month= '', $day= '')
 
- Public Member Functions inherited from callback
 __construct ($callback=NULL)
 
 callback ($callback=NULL)
 
 argument ($value)
 
 parameter ($name, $value= '')
 
factory (array $arguments=array())
 
execute ()
 

Protected Member Functions

 is_locked ($cmd= '', $which= '')
 
- Protected Member Functions inherited from callback
arguments (array $arguments=array())
 

Detailed Description

Titan Calendar Class.

Class: \tl\format\html\calendar

Author
James E. Bush work@.nosp@m.bush.nosp@m..cc
Version
5.1.0

Constructor & Destructor Documentation

__construct (   $title = 'Calendar',
  $year = '',
  $month = '',
  $day = '' 
)

Constructor

Parameters
string$title(optional) Calendar title (default) 'Calendar'
string$year(optional) Year (default) '' = get this year
string$month(optional) Month (default) '' = get this month
string$day(optional) Day of the month (default) '' = get the today's day of the month

Member Function Documentation

set_key (   $key_type = 'key',
  $key = '' 
)

Setup the key and key type to manage events for everyone

Parameters
string$key_type(optional) The type of key to use; one of 'key' (auth db key) or 'group' (ldap group); must match your auth type. (default) 'key'
string$key(optional) The key or group name to require (default) ''
is_locked (   $cmd = '',
  $which = '' 
)
protected

Returns a value for $this->locked (meant to be overloaded by child classes)

Returns
boolean
title (   $title = 'Calendar')

Set the calendar title

Parameters
string$title(optional) Calendar title (default) 'Calendar'
controller ( )

Controller for stand-along managed calendar mode

set_date (   $year = '',
  $month = '',
  $day = '' 
)

Setup the date

Parameters
string$year(optional) Year (default) '' = get this year
string$month(optional) Month (default) '' = get this month
string$day(optional) Day of the month (default) '' = get the today's day of the month
month (   $year = '',
  $month = '',
  $day = '' 
)

Create a framed month-view of the current calendar

Parameters
string$year(optional) Year (default) '' = currently set year, or get this year
string$month(optional) Month (default) '' = currently set month, or get this month
string$day(optional) Day of the month (default) '' = currently set day, or get the today's day of the month
day (   $year = '',
  $month = '',
  $day = '' 
)

Create a framed day-view of the current calendar

Parameters
string$year(optional) Year (default) '' = currently set year, or get this year
string$month(optional) Month (default) '' = currently set month, or get this month
string$day(optional) Day of the month (default) '' = currently set day, or get the today's day of the month
mini (   $year = '',
  $month = '',
  $day = '' 
)

Create a mini-month-view of the current calendar

Parameters
string$year(optional) Year (default) '' = currently set year, or get this year
string$month(optional) Month (default) '' = currently set month, or get this month
string$day(optional) Day of the month (default) '' = currently set day, or get the today's day of the month

The documentation for this class was generated from the following file: