[ Index ]

krapohl.info

title

Body

[close]

/ -> common.api.php (summary)

PostCalendar::PostNuke Events Calendar Module Copyright (C) 2002  The PostCalendar Team http://postcalendar.tv

File Size: 1609 lines (66 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 44 functions

  pcDebugVar()
  pcVarPrepForDisplay()
  pcVarPrepHTMLDisplay()
  pcGetTopicName()
  postcalendar_makeValidURL()
  postcalendar_removeScriptTags()
  postcalendar_getDate()
  postcalendar_today()
  postcalendar_adminapi_pageSetup()
  postcalendar_userapi_pageSetup()
  postcalendar_userapi_jsPopup()
  opencal()
  postcalendar_userapi_loadPopups()
  postcalendar_adminapi_getmonthname()
  postcalendar_userapi_getmonthname()
  postcalendar_adminapi_buildTimeSelect()
  postcalendar_userapi_buildTimeSelect()
  postcalendar_adminapi_buildMonthSelect()
  postcalendar_userapi_buildMonthSelect()
  postcalendar_adminapi_buildDaySelect()
  postcalendar_userapi_buildDaySelect()
  postcalendar_adminapi_buildYearSelect()
  postcalendar_userapi_buildYearSelect()
  postcalendar_adminapi_getCategories()
  postcalendar_userapi_getCategories()
  postcalendar_adminapi_getTopics()
  postcalendar_userapi_getTopics()
  postcalendar_adminapi_submitEvent()
  postcalendar_userapi_submitEvent()
  pc_notify()
  postcalendar_adminapi_buildSubmitForm()
  postcalendar_userapi_buildSubmitForm()
  postcalendar_userapi_pcGetEventDetails()
  postcalendar_adminapi_eventDetail()
  postcalendar_userapi_eventDetail()
  postcalendar_footer()
  postcalendar_smarty_pc_sort_day()
  sort_byCategoryA()
  sort_byCategoryD()
  sort_byTitleA()
  sort_byTitleD()
  sort_byTimeA()
  sort_byTimeD()
  pc_clean()

Functions
Functions that are not part of a class:

pcDebugVar($in)   X-Ref
No description

pcVarPrepForDisplay($s)   X-Ref
No description

pcVarPrepHTMLDisplay($s)   X-Ref
No description

pcGetTopicName($topicid)   X-Ref
No description

postcalendar_makeValidURL($s)   X-Ref
No description

postcalendar_removeScriptTags($in)   X-Ref
No description

postcalendar_getDate($format='%Y%m%d')   X-Ref
No description

postcalendar_today($format='%Y%m%d')   X-Ref
No description

postcalendar_adminapi_pageSetup()   X-Ref
postcalendar_adminapi_pageSetup()

sets up any necessary javascript for the page
return: string javascript to insert into the page

postcalendar_userapi_pageSetup()   X-Ref
postcalendar_userapi_pageSetup()

sets up any necessary javascript for the page
return: string javascript to insert into the page

postcalendar_userapi_jsPopup()   X-Ref
postcalendar_userapi_jsPopup
Creates the necessary javascript code for a popup window


opencal(eid,date)   X-Ref
No description

postcalendar_userapi_loadPopups()   X-Ref
postcalendar_userapi_loadPopups
Creates the necessary javascript code for mouseover dHTML popups


postcalendar_adminapi_getmonthname($args)   X-Ref
postcalendar_adminapi_getmonthname()

Returns the month name translated for the user's current language

param: array $args['Date'] number of month to return
return: string month name in user's language

postcalendar_userapi_getmonthname($args)   X-Ref
postcalendar_userapi_getmonthname()

Returns the month name translated for the user's current language

param: array $args['Date'] date to return month name of
return: string month name in user's language

postcalendar_adminapi_buildTimeSelect($args)   X-Ref
Returns an array of form data for FormSelectMultiple


postcalendar_userapi_buildTimeSelect($args)   X-Ref
No description

postcalendar_adminapi_buildMonthSelect($args)   X-Ref
Returns an array of form data for FormSelectMultiple


postcalendar_userapi_buildMonthSelect($args)   X-Ref
No description

postcalendar_adminapi_buildDaySelect($args)   X-Ref
Returns an array of form data for FormSelectMultiple


postcalendar_userapi_buildDaySelect($args)   X-Ref
No description

postcalendar_adminapi_buildYearSelect($args)   X-Ref
Returns an array of form data for FormSelectMultiple


postcalendar_userapi_buildYearSelect($args)   X-Ref
No description

postcalendar_adminapi_getCategories()   X-Ref
No description

postcalendar_userapi_getCategories()   X-Ref
No description

postcalendar_adminapi_getTopics()   X-Ref
No description

postcalendar_userapi_getTopics()   X-Ref
No description

postcalendar_adminapi_submitEvent($args)   X-Ref
postcalendar_adminapi_submitEvent()
submit an event

param: $args array of event data
return: bool true on success : false on failure;

postcalendar_userapi_submitEvent($args)   X-Ref
postcalendar_userapi_submitEvent()
submit an event

param: $args array of event data
return: bool true on success : false on failure;

pc_notify($eid,$is_update)   X-Ref
No description

postcalendar_adminapi_buildSubmitForm($args)   X-Ref
postcalendar_adminapi_buildSubmitForm()
create event submit form


postcalendar_userapi_buildSubmitForm($args,$admin=false)   X-Ref
postcalendar_userapi_buildSubmitForm()
create event submit form


postcalendar_userapi_pcGetEventDetails($eid)   X-Ref
No description

postcalendar_adminapi_eventDetail($args)   X-Ref
postcalendar_userapi_eventDetail
Creates the detailed event display and outputs html.
Accepts an array of key/value pairs

param: int $eid the id of the event to display
return: string html output

postcalendar_userapi_eventDetail($args,$admin=false)   X-Ref
No description

postcalendar_footer()   X-Ref
No description

postcalendar_smarty_pc_sort_day($params, &$smarty)   X-Ref
No description

sort_byCategoryA($a,$b)   X-Ref
No description

sort_byCategoryD($a,$b)   X-Ref
No description

sort_byTitleA($a,$b)   X-Ref
No description

sort_byTitleD($a,$b)   X-Ref
No description

sort_byTimeA($a,$b)   X-Ref
No description

sort_byTimeD($a,$b)   X-Ref
No description

pc_clean($s)   X-Ref
pc_clean

param: s string text to clean
return: string cleaned up text



Generated: Wed Feb 16 22:40:07 2005 Cross-referenced by PHPXref 0.6