Note: this list is kept only as a demonstration for CVSNotice. For the latest CVS notices, see the Xaraya and Postnuke sites
View Statistics - Next Notice - Previous NoticeDirectory filter : [ all ] / postnuke_official / html / includes [ view in CVS ]
| Date | Directory [filter] | File(s) [view] | Author [filter] |
| 10 Aug 2002 17:55:43 | postnuke_official/html/includes | pnAPI.php,1.153,1.154 | John Robeson |
| cleaned up the phpdoc, removed pnConfigInit | |||
Update of /home/cvsroot/postnuke_official/html/includes
In directory ns7.hostnuke.net:/tmp/cvs-serv1380/html/includes
Modified Files:
pnAPI.php
Log Message:
cleaned up the phpdoc, removed pnConfigInit
Index: pnAPI.php
===================================================================
RCS file: /home/cvsroot/postnuke_official/html/includes/pnAPI.php,v
retrieving revision 1.153
retrieving revision 1.154
diff -C2 -d -r1.153 -r1.154
*** pnAPI.php 9 Aug 2002 03:10:56 -0000 1.153
--- pnAPI.php 10 Aug 2002 17:55:40 -0000 1.154
***************
*** 62,66 ****
define('_PN_VERSION_NUM', '0.8');
define('_PN_VERSION_ID', 'PostNuke');
! define('_PN_VERSION_SUB', 'Ragnarok');
--- 62,66 ----
define('_PN_VERSION_NUM', '0.8');
define('_PN_VERSION_ID', 'PostNuke');
! define('_PN_VERSION_SUB', 'adam_baum');
***************
*** 72,124 ****
define('_PNINIT_LOAD_DATABASE', 2);
- /*
- * get all configuration variable into $pnconfig
- * will be removed on .8
- * @param none
- * @returns true|false
- * @return none
- *
-
- function pnConfigInit()
- {
- global $pnconfig;
-
- list($dbconn) = pnDBGetConn();
- $pntable = pnDBGetTables();
-
- $table = $pntable['module_vars'];
-
- //
- // Make query and go
- //
- $query = "SELECT pn_name,
- pn_value,
- FROM $table
- WHERE pn_modname ='" . pnVarPrepForStore('base') . "'";
- $dbresult = $dbconn->Execute($query);
- if($dbconn->ErrorNo() != 0) {
- return false;
- }
- if ($dbresult->EOF) {
- $dbresult->Close();
- return false;
- }
- while(!$dbresult->EOF) {
- list($k, $v) = $dbresult->fields;
- $dbresult->MoveNext();
- if (($k != 'dbtype') && ($k != 'dbhost') && ($k != 'dbuname') && ($k != 'dbpass')
- && ($k != 'dbname') && ($k != 'system') && ($k != 'prefix') && ($k != 'encoded')) {
- $v =@unserialize($v);
- $pnconfig[$k] = $v;
- }
- }
- $dbresult->Close();
- return true;
- }
- *
- */
-
/**
* get a configuration variable
* @access public
* @param name the name of the variable
--- 72,78 ----
define('_PNINIT_LOAD_DATABASE', 2);
/**
* get a configuration variable
+ *
* @access public
* @param name the name of the variable
***************
*** 196,199 ****
--- 150,154 ----
/**
* set a configuration variable
+ *
* @access public
* @param name the name of the variable
***************
*** 298,301 ****
--- 253,257 ----
/**
* delete a configuration variable
+ *
* @access public
* @param name the name of the variable
***************
*** 388,395 ****
}
- // Build up old config array
- // TODO: adam_baum - removed - commented out for now
- //pnConfigInit();
-
// Other includes
include 'includes/pnException.php';
--- 344,347 ----
***************
*** 459,462 ****
--- 411,415 ----
*
* @access private
+ * @param none
* @return bool
*/
***************
*** 523,526 ****
--- 476,480 ----
* Gets a global variable, cleaning it up to try to ensure that
* hack attacks don't work. Can have as many parameters as needed.
+ *
* @access public
* @param var name of variable to get
***************
*** 593,600 ****
/**
- * strip slashes
- *
* stripslashes on multidimensional arrays.
* Used in conjunction with pnVarCleanFromInput
* @access private
* @param any variables or arrays to be stripslashed
--- 547,553 ----
/**
* stripslashes on multidimensional arrays.
* Used in conjunction with pnVarCleanFromInput
+ *
* @access private
* @param any variables or arrays to be stripslashed
***************
*** 610,616 ****
/**
* ready user output
- *
* Gets a variable, cleaning it up such that the text is
* shown exactly as expected. Can have as many parameters as desired.
* @access public
* @param var variable to prepare
--- 563,569 ----
/**
* ready user output
* Gets a variable, cleaning it up such that the text is
* shown exactly as expected. Can have as many parameters as desired.
+ *
* @access public
* @param var variable to prepare
***************
*** 652,659 ****
/**
* ready HTML output
- *
* Gets a variable, cleaning it up such that the text is
* shown exactly as expected, except for allowed HTML tags which
* are allowed through. Can have as many parameters as desired.
* @access public
* @param var variable to prepare
--- 605,612 ----
/**
* ready HTML output
* Gets a variable, cleaning it up such that the text is
* shown exactly as expected, except for allowed HTML tags which
* are allowed through. Can have as many parameters as desired.
+ *
* @access public
* @param var variable to prepare
***************
*** 741,747 ****
/**
* ready database output
- *
* Gets a variable, cleaning it up such that the text is
* stored in a database exactly as expected. Can have as many parameters as desired.
* @access public
* @param var variable to prepare
--- 694,700 ----
/**
* ready database output
* Gets a variable, cleaning it up such that the text is
* stored in a database exactly as expected. Can have as many parameters as desired.
+ *
* @access public
* @param var variable to prepare
***************
*** 1006,1010 ****
--- 959,965 ----
/**
* get request info for current page
+ *
* @author Marco Canini, Michel Dalle
+ * @access private
* @returns array
* @return requested module, type and func
***************
*** 1100,1103 ****
--- 1055,1060 ----
/**
* get base URI for PostNuke
+ *
+ * @access ??????
* @returns string
* @return base URI for PostNuke
***************
*** 1139,1142 ****
--- 1096,1101 ----
/**
* get base URL for PostNuke
+ *
+ * @access ?????
* @returns string
* @return base URL for PostNuke
***************
*** 1162,1165 ****
--- 1121,1126 ----
/**
* Carry out a redirect
+ *
+ * @access public
* @param the URL to redirect to
* @returns bool
***************
*** 1197,1200 ****
--- 1158,1163 ----
/**
* Check if a redirection header was yet sent
+ *
+ * @access public
* @author Marco Canini
* @returns bool
***************
*** 1211,1214 ****
--- 1174,1179 ----
/**
* check to see if this is a local referral
+ *
+ * @access ?????
* @returns bool
* @return true if locally referred, false if not
***************
*** 1238,1241 ****
--- 1203,1208 ----
/**
* send an email
+ *
+ * @access public
* @param to - recipient of the email
* @param subject - title of the email
***************
*** 1540,1542 ****
}
! ?>
--- 1507,1509 ----
}
! ?>
\ No newline at end of file
View Statistics - Next Notice - Previous Notice
| Visit Developer Site - Browse CVS Repository |
Syndicate via backend.rss (max. once per hour please) | Powered by CVSNotice 0.1.3 |