[geeklog-cvs] geeklog: Updated documentation and parameter description

geeklog-cvs at lists.geeklog.net geeklog-cvs at lists.geeklog.net
Mon Dec 22 05:51:40 EST 2008


details:   http://project.geeklog.net/cgi-bin/hgweb.cgi/rev/9e7938c5ba84
changeset: 6578:9e7938c5ba84
user:      Dirk Haun <dirk at haun-online.de>
date:      Sun Dec 21 16:26:28 2008 +0100
description:
Updated documentation and parameter description

diffstat:

7 files changed, 17 insertions(+), 18 deletions(-)
plugins/calendar/functions.inc    |    4 +---
plugins/links/functions.inc       |    4 +---
plugins/polls/functions.inc       |    4 +---
plugins/staticpages/functions.inc |    4 +---
public_html/docs/history          |   11 +++++++++++
system/lib-plugins.php            |    4 +---
system/lib-story.php              |    4 +---

diffs (179 lines):

diff -r 529a538dbb47 -r 9e7938c5ba84 plugins/calendar/functions.inc
--- a/plugins/calendar/functions.inc	Sun Dec 21 13:46:59 2008 +0100
+++ b/plugins/calendar/functions.inc	Sun Dec 21 16:26:28 2008 +0100
@@ -33,8 +33,6 @@
 // | Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.           |
 // |                                                                           |
 // +---------------------------------------------------------------------------+
-//
-// $Id: functions.inc,v 1.95 2008/09/21 08:37:07 dhaun Exp $
 
 if (strpos(strtolower($_SERVER['PHP_SELF']), 'functions.inc') !== false) {
     die('This file can not be used on its own.');
@@ -1815,7 +1813,7 @@
 *
 * @param    string  $eid        event ID or '*'
 * @param    string  $what       comma-separated list of properties
-* @param    int     $uid        if > 0: only return items accessible by user
+* @param    int     $uid        user ID or 0 = current user
 * @param    array   $options    (reserved for future extensions)
 * @return   mixed               string or array of strings with the information
 *
diff -r 529a538dbb47 -r 9e7938c5ba84 plugins/links/functions.inc
--- a/plugins/links/functions.inc	Sun Dec 21 13:46:59 2008 +0100
+++ b/plugins/links/functions.inc	Sun Dec 21 16:26:28 2008 +0100
@@ -35,8 +35,6 @@
 // | Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.           |
 // |                                                                           |
 // +---------------------------------------------------------------------------+
-//
-// $Id: functions.inc,v 1.111 2008/09/21 08:37:08 dhaun Exp $
 
 if (strpos(strtolower($_SERVER['PHP_SELF']), 'functions.inc') !== false) {
     die('This file can not be used on its own.');
@@ -1447,7 +1445,7 @@
 *
 * @param    string  $lid        link ID or '*'
 * @param    string  $what       comma-separated list of properties
-* @param    int     $uid        if > 0: only return items accessible by user
+* @param    int     $uid        user ID or 0 = current user
 * @param    array   $options    (reserved for future extensions)
 * @return   mixed               string or array of strings with the information
 *
diff -r 529a538dbb47 -r 9e7938c5ba84 plugins/polls/functions.inc
--- a/plugins/polls/functions.inc	Sun Dec 21 13:46:59 2008 +0100
+++ b/plugins/polls/functions.inc	Sun Dec 21 16:26:28 2008 +0100
@@ -33,8 +33,6 @@
 // | Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.           |
 // |                                                                           |
 // +---------------------------------------------------------------------------+
-//
-// $Id: functions.inc,v 1.92 2008/09/21 08:37:08 dhaun Exp $
 
 if (strpos(strtolower($_SERVER['PHP_SELF']), 'functions.inc') !== false) {
     die('This file can not be used on its own.');
@@ -1126,7 +1124,7 @@
 *
 * @param    string  $pid        poll ID or '*'
 * @param    string  $what       comma-separated list of properties
-* @param    int     $uid        if > 0: only return items accessible by user
+* @param    int     $uid        user ID or 0 = current user
 * @param    array   $options    (reserved for future extensions)
 * @return   mixed               string or array of strings with the information
 *
diff -r 529a538dbb47 -r 9e7938c5ba84 plugins/staticpages/functions.inc
--- a/plugins/staticpages/functions.inc	Sun Dec 21 13:46:59 2008 +0100
+++ b/plugins/staticpages/functions.inc	Sun Dec 21 16:26:28 2008 +0100
@@ -33,8 +33,6 @@
 // | Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.           |
 // |                                                                           |
 // +---------------------------------------------------------------------------+
-//
-// $Id: functions.inc,v 1.127 2008/09/21 08:37:08 dhaun Exp $
 
 if (strpos(strtolower($_SERVER['PHP_SELF']), 'functions.inc') !== false) {
     die('This file can not be used on its own.');
@@ -1225,7 +1223,7 @@
 *
 * @param    string  $sp_id      static page ID or '*'
 * @param    string  $what       comma-separated list of properties
-* @param    int     $uid        if > 0: only return items accessible by user
+* @param    int     $uid        user ID or 0 = current user
 * @param    array   $options    (reserved for future extensions)
 * @return   mixed               string or array of strings with the information
 *
diff -r 529a538dbb47 -r 9e7938c5ba84 public_html/docs/history
--- a/public_html/docs/history	Sun Dec 21 13:46:59 2008 +0100
+++ b/public_html/docs/history	Sun Dec 21 16:26:28 2008 +0100
@@ -3,6 +3,7 @@
 ??? ??, 2009 (1.6.0)
 ------------
 
+- Implemented extended API for PLG_getItemInfo [mystral-kk, Dirk]
 - Fixed wrong use of COM_isAnonUser in COM_getPermSQL (since 1.5.0) [Dirk]
 - When calling COM_getYearFormOptions with a $startoffset parameter, the list
   of years was off by one (bug #0000783; patch provided by hiroron)
@@ -73,10 +74,12 @@
 
 Calendar plugin
 ---------------
+- Added support for PLG_getItemInfo [Dirk]
 - Make {event_url} available in eventdetails.thtml [Dirk]
 
 Links plugin
 ------------
+- Added support for PLG_getItemInfo [Dirk]
 - Introduced function LINKS_getCategorySQL and fixed visibility of link
   categories in the Top 10 Links list and site statistics [Dirk]
 - Added an option to allow opening external links in a new window (feature
@@ -87,6 +90,7 @@
 
 Polls plugin
 ------------
+- Added support for PLG_getItemInfo [Dirk]
 - Extended length of poll IDs to 40 characters (feature request #0000754) [Dirk]
 - Fixed SQL error when poll questions contained single quotes (bug #0000756)
   [Dirk]
@@ -94,6 +98,7 @@
 
 Static Pages plugin
 -------------------
+- Added support for PLG_getItemInfo [Dirk]
 - The owner of a static page changed to the user who last edited it
   (bug #0000777) [Dirk]
 - The printable.thtml template file uses the HTML Strict doctype and print.css
@@ -102,6 +107,12 @@
   (found by Marc Maier) [Dirk]
 - Display "successfully saved" and "successfully deleted" messages, just like
   every other plugin and built-in function does (bug #0000644) [Dirk]
+
+
+Jan ??, 2009 (1.5.2)
+------------
+
+(TBD)
 
 
 Sep 22, 2008 (1.5.1)
diff -r 529a538dbb47 -r 9e7938c5ba84 system/lib-plugins.php
--- a/system/lib-plugins.php	Sun Dec 21 13:46:59 2008 +0100
+++ b/system/lib-plugins.php	Sun Dec 21 16:26:28 2008 +0100
@@ -30,8 +30,6 @@
 // | Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.           |
 // |                                                                           |
 // +---------------------------------------------------------------------------+
-//
-// $Id: lib-plugins.php,v 1.150 2008/09/21 08:37:11 dhaun Exp $
 
 /**
 * This is the plugin library for Geeklog.  This is the API that plugins can
@@ -1965,7 +1963,7 @@
 * @param    string  $type       plugin type (incl. 'article' for stories)
 * @param    string  $id         ID of an item under the plugin's control or '*'
 * @param    string  $what       comma-separated list of item properties
-* @param    int     $uid        if > 0: only return items accessible by user
+* @param    int     $uid        user ID or 0 = current user
 * @param    array   $options    (reserved for future extensions)
 * @return   mixed               string or array of strings with the information
 *
diff -r 529a538dbb47 -r 9e7938c5ba84 system/lib-story.php
--- a/system/lib-story.php	Sun Dec 21 13:46:59 2008 +0100
+++ b/system/lib-story.php	Sun Dec 21 16:26:28 2008 +0100
@@ -32,8 +32,6 @@
 // | Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.           |
 // |                                                                           |
 // +---------------------------------------------------------------------------+
-//
-// $Id: lib-story.php,v 1.133 2008/09/21 08:37:12 dhaun Exp $
 
 if (strpos(strtolower($_SERVER['PHP_SELF']), 'lib-story.php') !== false) {
     die('This file can not be used on its own!');
@@ -694,7 +692,7 @@
 *
 * @param    string  $sid        story ID or '*'
 * @param    string  $what       comma-separated list of story properties
-* @param    int     $uid        if > 0: only return items accessible by user
+* @param    int     $uid        user ID or 0 = current user
 * @param    array   $options    (reserved for future extensions)
 * @return   mixed               string or array of strings with the information
 *



More information about the geeklog-cvs mailing list