[ Index ] |
|
Code source de GeekLog 1.4.1 |
[Code source] [Imprimer] [Statistiques]
(pas de description)
Poids: | 1649 lignes (60 kb) |
Inclus ou requis: | 0 fois |
Référencé: | 0 fois |
Nécessite: | 0 fichiers |
plugin_getmenuitems_calendar() X-Ref |
Returns the items for this plugin that should appear on the main menu NOTE: this MUST return the url/value pairs in the following format $<arrayname>[<label>] = <url> |
phpblock_calendar( $help='', $title='' ) X-Ref |
Returns the upcoming events block Returns the HTML for any upcoming events in the calendar param: string $help Help file for block param: string $title Title to be used in block header return: string HTML formatted block containing events. |
plugin_ismoderator_calendar() X-Ref |
Checks that the current user has the rights to moderate the plugin, returns true if this is the case, false otherwise return: boolean Returns true if moderator |
plugin_itemlist_calendar() X-Ref |
Returns SQL & Language texts to moderation.php |
plugin_moderationvalues_calendar() X-Ref |
returns list of moderation values The array returned contains (in order): the row 'id' label, main plugin table, moderation fields (comma seperated), and plugin submission table return: array Returns array of useful moderation values |
plugin_moderationapprove_calendar($id) X-Ref |
Performs plugin exclusive work for items approved by moderation While moderation.php handles the actual move from linkssubmission to links tables, within the function we handle all other approval relate tasks param: string $id Identifying string return: string Any wanted HTML output |
plugin_moderationdelete_calendar($id) X-Ref |
Performs plugin exclusive work for items deleted by moderation While moderation.php handles the actual removal from <plugin>submission table, within this function we handle all other deletion relate tasks param: string $id Identifying string return: string Any wanted HTML output |
plugin_savesubmission_calendar($A) X-Ref |
Check calendar submission form for missing fields and Saves a calendar submission param: array $A Data for that submission return: string HTML redirect |
plugin_getheadercode_calendar() X-Ref |
Pas de description |
plugin_submit_calendar($mode = 'master') X-Ref |
Shows event submission form or diverts to event editor if admin calls in |
CALENDAR_deleteEvent($eid) X-Ref |
Delete an event param: string $eid id of event to delete param: string HTML redirect |
CALENDAR_listevents() X-Ref |
Pas de description |
CALENDAR_sendNotification($table, $A) X-Ref |
Send an email notification for a new submission. param: string $table Table where the new submission can be found param: array $A submission data |
plugin_submissioncount_calendar() X-Ref |
Counts the items that are submitted |
plugin_autotags_calendar($op, $content = '', $autotag = '') X-Ref |
Implements the [event:] autotag. |
plugin_getfeednames_calendar() X-Ref |
Pas de description |
plugin_getfeedcontent_calendar( $limit, &$link, &$update, $feedType, $feedVersion ) X-Ref |
Get content for a feed that holds all events. param: string $limit number of entries or number of stories param: string $link link to homepage param: string $update list of story ids return: array content of the feed |
plugin_feedupdatecheck_calendar($feed, $topic, $update_data, $limit,$updated_type = '', $updated_topic = '', $updated_id = '') X-Ref |
Checking if calendar feeds are up to date param: int $feed id of feed to be checked param: string $topic topic (actually: category) param: string $update_data data describing current feed contents param: string $limit number of entries or number of hours param: string $updated_type (optional) type of feed to be updated param: string $updated_topic (optional) feed's "topic" to be updated param: string $updated_id (optional) id of entry that has changed |
plugin_commentsupport_calendar() X-Ref |
Calendar will not use comments |
plugin_showstats_calendar($showsitestats) X-Ref |
Shows the statistics for the Calendar plugin on stats.php. If $showsitestats is 1 then we are to only print the overall stats in the 'site statistics box' otherwise we show the detailed stats param: int showsitestate Flag to let us know which stats to get |
plugin_statssummary_calendar() X-Ref |
New stats plugin API function for proper integration with the site stats return: array(item text, item count); |
plugin_cclabel_calendar() X-Ref |
This will put an option for the calendar in the command and control block on moderation.php |
plugin_getadminoption_calendar() X-Ref |
returns the administrative option for this plugin |
plugin_getuseroption_calendar() X-Ref |
Pas de description |
plugin_user_delete_calendar($uid) X-Ref |
A user is about to be deleted. Update ownership of any events owned by that user or delete them. param: uid int User id of deleted user |
plugin_chkVersion_calendar() X-Ref |
Return the current version of code. Used in the Plugin Editor to show the registered version and code version |
plugin_upgrade_calendar() X-Ref |
Update the Calendar plugin return: int Number of message to display (true = generic success msg) |
plugin_enablestatechange_calendar($enable) X-Ref |
Geeklog informs us that we're about to be enabled or disabled param: boolean $enabled true = we're being enabled, false = disabled return: void |
plugin_uninstall_calendar($steps = '') X-Ref |
Removes the datastructures for this plugin from the Geeklog database This may get called by the install routine to undo anything done to this point. To do that, $steps will have a list of steps to undo |
calendar_templatePath($path = '') X-Ref |
Get path for the template files. param: string $path subdirectory within the base template path return: string full path to template directory |
plugin_geticon_calendar() X-Ref |
Returns the URL of the plugin's icon return: string URL of the icon |
plugin_searchtypes_calendar() X-Ref |
Geeklog is asking us to provide any items that show up in the type drop-down on search.php. Let's users search for events. return: array (plugin name/entry title) pair for the dropdown |
plugin_dopluginsearch_calendar($query, $datestart, $dateend, $topic, $type, $author, $keyType, $page, $perpage) X-Ref |
This searches for events matching the user query and returns an array for the header and table rows back to search.php where it will be formated and printed param: string $query Keywords user is looking for param: date $datestart Start date to get results for param: date $dateend End date to get results for param: string $topic The topic they were searching in param: string $type Type of items they are searching, or 'all' param: int $author Get all results by this author param: string $keyType search key type: 'all', 'phrase', 'any' param: int $page page number of current search param: int $perpage number of results per page return: object search result object |
plugin_templatesetvars_calendar($templatename, &$template) X-Ref |
Set template variables param: string $templatename name of template, e.g. 'header' param: ref $template reference of actual template return: void |
plugin_getListField_calendar($fieldname, $fieldvalue, $A, $icon_arr) X-Ref |
Pas de description |
CALENDAR_stateList($currstate = '') X-Ref |
Creates a dropdown list of all the states param: string $currstate current state (to preselect in the list) return: string <option> list of states |
CALENDAR_eventTypeList($currtype = '') X-Ref |
Creates a dropdown list of all the event types param: string $currtype current event type (to preselect in the list) return: string <option> list of event types |
Généré le : Wed Nov 21 12:27:40 2007 | par Balluche grâce à PHPXref 0.7 |
![]() |