PHP Programming Language - Cultural View
PHP Programming Language - Cultural View PHP Programming Language - Cultural View
Active Agenda 2 External links • Active Agenda official website [1] • Active Agenda discussion forum [5] • Active Agenda Documentation wiki [6] • Active Agenda Sourceforge page [7] References [1] http://www.activeagenda.net/ [2] http://www.activeagenda.net/documentation/index.php?title=Category:Modules [3] "A Solution (R)evolution" (http://ehstoday.com/safety/ehs_imp_39437/index.html) [4] Fast Company FAST 50 (2007) (http://www.fastcompany.com/fast50_07/readers.html) [5] http://www.activeagenda.net/discussions/ [6] http://www.activeagenda.net/documentation/index.php?title=Main_Page [7] http://sourceforge.net/projects/activeagenda/ Active Calendar Active Calendar is a PHP class that generates calendars as HTML tables (XHTML-Valid). It can produce static calendars without any links or calendars with navigation controls, a date picker control, event days and content with event URLs, and linkable days (optionally URL or JavaScript). The layout can be configured using CSS, and JavaScript is not required. The supported dates (on systems using a 32-bit signed integer Unix time_t) are: 1902-2037 (Unix) and 1971-2037 (Windows), when using the default PHP native date functions, and 100-3000 and later, when using the ADOdb Date Library. Active Calendar is an open source project, licensed under the LGPL. Features The calendars created by this class: • can be static (without any links) • can optionally have navigation controls • can optionally have a date picker control • can optionally have linkable days (URL or javascript) • can optionally have 'event days' with 'event links' and own layout • can optionally have 'event content' with 'links' and own layout • support different GMT zones for the current date calculation • support month and day names, depending on your language • can be configured using CSS • do not require Javascript to be displayed or navigated (server side generation) • can be generated with just 2-3 lines of code screenshot2 640x480 Active Calendar is based on the PHP native date functions (default) and supports optionally the ADOdb Date Library [1] . Supported dates (on systems using a 32-bit signed integer Unix time_t):
Active Calendar 3 • Using PHP native date functions: 1902 - 2037 (UNIX) and 1971 - 2037 (Windows) • Using ADOdb Date Library: 100 - 3000 and later [limited by the computation time of adodb_mktime()] on both UNIX and Windows. To use the ADOdb Date Library just include it in your scripts. The Active Calendar class will use the library functions automatically. Usage Basic methods overview $cal = new activeCalendar([$year,$month,$day,$gmt_zone]); Create first a new object of the class. The parameters $year, $month and $day are optional. If these parameters are not set, the current year, month and day will be passed to the program. The parameter $year should have the form "yyyy" e.g. "2005" or "1996", the parameter $month should have the form "m" e.g. "1" for January or "10" for October and the parameter $day should have the form "d" e.g. "4" for the 4th month day or "24" for the 24th month day. So for the date e.g. 7 January 2005 please set $cal = new activeCalendar("2005","1","7"). The parameter $gmt_zone is optional as well. Use this parameter to set the GMT (Greenwich Mean Time) zone for the current date calculation (e.g. 9 for Osaka Japan, 2 for Athens Greece, - 5 for New York USA). If $gmt_zone is not set, the server local time will be used. $cal->enableMonthNav([$link,$arrowBack,$arrowForw]); Call this method, if you want the generated calendar to have month navigation controls (e.g. "previous month" and "next month"). The parameter $link is optional. You can use this parameter to set the URL for the calendar links (e.g. "mycalendar.php" or "mycalendar.php?mode=4&item=test", if you need more complex urls). You should modify the private method mkUrl(), if you want to change the general structure of the generated links. The parameters $arrowBack and $arrowForw are optional as well: they set other month navigation controls, than the ones set in the configuration (an image link can be set too). $cal->enableYearNav([$link,$arrowBack,$arrowForw]); Call this method, if you want the generated calendar to have year navigation controls (e.g. "previous year" and "next year"). The parameter $link is optional. You can use this parameter to set the URL for the calendar links (e.g. "mycalendar.php" or "mycalendar.php?mode=4&item=test", if you need more complex urls). You should modify the private method mkUrl(), if you want to change the general structure of the generated links. The parameters $arrowBack and $arrowForw are optional as well: they set other year navigation controls, than the ones set in the configuration (an image link can be set too). $cal->enableDatePicker([$startYear,$endYear,$link,$button]); Call this method, if you want the generated month calendar to have a date picker control. The parameters $startYear and $endYear define the range of the years, that can be selected (e.g. $startYear=2000, $endYear=2010). This range is limited by the private class variables $startYear and $endYear. Please modify them according to your configuration. The parameter $link is optional. You can use this parameter to set the URL for the calendar links (e.g. "mycalendar.php" or "mycalendar.php?mode=4&item=test", if you need more complex urls). You should modify the private method mkUrl(), if you want to change the general structure of the generated links. The parameter $button is optional as well: it sets some other value for the date picker submit button, than the one set in the configuration. $cal->enableDayLinks([$link,$javaScript]);
- Page 1 and 2: PHP Programming Language Visit the
- Page 3 and 4: Gallery Project 73 Gamboo Web Suite
- Page 5 and 6: Piwigo 248 Plogger 250 Pluck (softw
- Page 7: Active Agenda 1 Active Agenda Stabl
- Page 11 and 12: Active Calendar 5 So if you would l
- Page 13 and 14: Active Calendar 7 $cal->setEvent("2
- Page 15 and 16: Adminer 9 The small single file is
- Page 17 and 18: Aigaion 11 Annotation of publicatio
- Page 19 and 20: Asido 13 Asido Developer(s) Kaloyan
- Page 21 and 22: Asido 15 ?> External links • Asid
- Page 23 and 24: Associate-O-Matic 17 References [1]
- Page 25 and 26: Avactis 19 Avactis Developer(s) Pen
- Page 27 and 28: Avactis 21 Notes • Paul Galloway.
- Page 29 and 30: Beehive Forum 23 Beehive Forum Stab
- Page 31 and 32: itcart 25 bitcart Developer(s) Bitw
- Page 33 and 34: itcart 27 • Top Sellers Display
- Page 35 and 36: BlueErp 29 BlueErp Developer(s) Ope
- Page 37 and 38: BuddyPress 31 From the BuddyPress w
- Page 39 and 40: ccHost 33 References [1] Nathan Wil
- Page 41 and 42: Claroline 35 Partners Initially sta
- Page 43 and 44: Comparison of knowledge base manage
- Page 45 and 46: Comparison of knowledge base manage
- Page 47 and 48: Comparison of knowledge base manage
- Page 49 and 50: concrete5 43 History Development of
- Page 51 and 52: Coppermine Photo Gallery 45 Referen
- Page 53 and 54: DBG 47 DBG DBG is an open source de
- Page 55 and 56: Doctrine (PHP) 49 Doctrine (PHP) St
- Page 57 and 58: Doctrine (PHP) 51 See also • Prop
Active Calendar 3<br />
• Using <strong>PHP</strong> native date functions: 1902 - 2037 (UNIX) and 1971 - 2037 (Windows)<br />
• Using ADOdb Date Library: 100 - 3000 and later [limited by the computation time of adodb_mktime()] on both<br />
UNIX and Windows. To use the ADOdb Date Library just include it in your scripts. The Active Calendar class<br />
will use the library functions automatically.<br />
Usage<br />
Basic methods overview<br />
$cal = new activeCalendar([$year,$month,$day,$gmt_zone]);<br />
Create first a new object of the class. The parameters $year, $month and $day are optional. If these parameters are<br />
not set, the current year, month and day will be passed to the program. The parameter $year should have the form<br />
"yyyy" e.g. "2005" or "1996", the parameter $month should have the form "m" e.g. "1" for January or "10" for<br />
October and the parameter $day should have the form "d" e.g. "4" for the 4th month day or "24" for the 24th month<br />
day. So for the date e.g. 7 January 2005 please set $cal = new activeCalendar("2005","1","7"). The parameter<br />
$gmt_zone is optional as well. Use this parameter to set the GMT (Greenwich Mean Time) zone for the<br />
current date calculation (e.g. 9 for Osaka Japan, 2 for Athens Greece, - 5 for New York USA). If $gmt_zone is not<br />
set, the server local time will be used.<br />
$cal->enableMonthNav([$link,$arrowBack,$arrowForw]);<br />
Call this method, if you want the generated calendar to have month navigation controls (e.g. "previous month" and<br />
"next month"). The parameter $link is optional. You can use this parameter to set the URL for the calendar links<br />
(e.g. "mycalendar.php" or "mycalendar.php?mode=4&item=test", if you need more complex urls). You should<br />
modify the private method mkUrl(), if you want to change the general structure of the generated links. The<br />
parameters $arrowBack and $arrowForw are optional as well: they set other month navigation controls, than the<br />
ones set in the configuration (an image link can be set too).<br />
$cal->enableYearNav([$link,$arrowBack,$arrowForw]);<br />
Call this method, if you want the generated calendar to have year navigation controls (e.g. "previous year" and<br />
"next year"). The parameter $link is optional. You can use this parameter to set the URL for the calendar links<br />
(e.g. "mycalendar.php" or "mycalendar.php?mode=4&item=test", if you need more complex urls). You should<br />
modify the private method mkUrl(), if you want to change the general structure of the generated links. The<br />
parameters $arrowBack and $arrowForw are optional as well: they set other year navigation controls, than the<br />
ones set in the configuration (an image link can be set too).<br />
$cal->enableDatePicker([$startYear,$endYear,$link,$button]);<br />
Call this method, if you want the generated month calendar to have a date picker control. The parameters<br />
$startYear and $endYear define the range of the years, that can be selected (e.g. $startYear=2000,<br />
$endYear=2010). This range is limited by the private class variables $startYear and $endYear. Please modify them<br />
according to your configuration. The parameter $link is optional. You can use this parameter to set the URL for the<br />
calendar links (e.g. "mycalendar.php" or "mycalendar.php?mode=4&item=test", if you need more complex urls).<br />
You should modify the private method mkUrl(), if you want to change the general structure of the generated links.<br />
The parameter $button is optional as well: it sets some other value for the date picker submit button, than<br />
the one set in the configuration.<br />
$cal->enableDayLinks([$link,$javaScript]);