Git
Threads by month
- ----- 2025 -----
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2024 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- 12 participants
- 38618 discussions

[Phpmyadmin-git] [SCM] phpMyAdmin branch, master, updated. RELEASE_3_4_3_1-11680-g6b75d60
by Michal Čihař 22 Jul '11
by Michal Čihař 22 Jul '11
22 Jul '11
The branch, master has been updated
via 6b75d60e91d8a937e3356ce1aad673be0ee0bfaa (commit)
from 236582fb4f86ed8ae6022afc17af37e1d4a19cb9 (commit)
- Log -----------------------------------------------------------------
commit 6b75d60e91d8a937e3356ce1aad673be0ee0bfaa
Author: Michal Čihař <mcihar(a)suse.cz>
Date: Fri Jul 22 09:27:49 2011 +0200
Document that this is IPv4 only
-----------------------------------------------------------------------
Summary of changes:
libraries/ip_allow_deny.lib.php | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/libraries/ip_allow_deny.lib.php b/libraries/ip_allow_deny.lib.php
index 2b969d1..ad4b4a3 100644
--- a/libraries/ip_allow_deny.lib.php
+++ b/libraries/ip_allow_deny.lib.php
@@ -4,6 +4,8 @@
* This library is used with the server IP allow/deny host authentication
* feature
*
+ * @todo Broken for IPv6
+ *
* @package phpMyAdmin
*/
hooks/post-receive
--
phpMyAdmin
1
0

[Phpmyadmin-git] [SCM] phpMyAdmin branch, master, updated. RELEASE_3_4_3_1-11679-g236582f
by Michal Čihař 22 Jul '11
by Michal Čihař 22 Jul '11
22 Jul '11
The branch, master has been updated
via 236582fb4f86ed8ae6022afc17af37e1d4a19cb9 (commit)
from 9405dbb82a38ca03e0d5a54e06b73be80ec51692 (commit)
- Log -----------------------------------------------------------------
commit 236582fb4f86ed8ae6022afc17af37e1d4a19cb9
Author: Michal Čihař <mcihar(a)suse.cz>
Date: Fri Jul 22 09:25:14 2011 +0200
Fix mistakenly broken regexp
-----------------------------------------------------------------------
Summary of changes:
libraries/common.lib.php | 2 +-
libraries/ip_allow_deny.lib.php | 4 ++--
libraries/sqlparser.lib.php | 2 +-
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/libraries/common.lib.php b/libraries/common.lib.php
index 1607d6e..27d99bc 100644
--- a/libraries/common.lib.php
+++ b/libraries/common.lib.php
@@ -567,7 +567,7 @@ function PMA_mysqlDie($error_message = '', $the_query = '',
} // end if
if (!empty($error_message)) {
- $error_message = preg_replace("@((\015\012)|(\015)|(\012)) {3,}@", "\n\n", $error_message);
+ $error_message = preg_replace("@((\015\012)|(\015)|(\012)){3,}@", "\n\n", $error_message);
}
// modified to show the help on error-returns
// (now error-messages-server)
diff --git a/libraries/ip_allow_deny.lib.php b/libraries/ip_allow_deny.lib.php
index c8481ba..2b969d1 100644
--- a/libraries/ip_allow_deny.lib.php
+++ b/libraries/ip_allow_deny.lib.php
@@ -30,7 +30,7 @@ function PMA_getIp()
$trusted_header_value = PMA_getenv($GLOBALS['cfg']['TrustedProxies'][$direct_ip]);
$matches = array();
// the $ checks that the header contains only one IP address, ?: makes sure the () don't capture
- $is_ip = preg_match('|^(?:[0-9]{1,3}\.) {3,3}[0-9]{1,3}$|', $trusted_header_value, $matches);
+ $is_ip = preg_match('|^(?:[0-9]{1,3}\.){3,3}[0-9]{1,3}$|', $trusted_header_value, $matches);
if ($is_ip && (count($matches) == 1)) {
// True IP behind a proxy
return $matches[0];
@@ -46,7 +46,7 @@ function PMA_getIp()
* Based on IP Pattern Matcher
* Originally by J.Adams <jna(a)retina.net>
* Found on <http://www.php.net/manual/en/function.ip2long.php>
- * Modified for phpMyAdmin
+ * Modified for phpMyAdmin
*
* Matches:
* xxx.xxx.xxx.xxx (exact)
diff --git a/libraries/sqlparser.lib.php b/libraries/sqlparser.lib.php
index 267d99b..91ec780 100644
--- a/libraries/sqlparser.lib.php
+++ b/libraries/sqlparser.lib.php
@@ -2725,7 +2725,7 @@ if (! defined('PMA_MINIMUM_COMMON')) {
function PMA_SQP_formatNone($arr)
{
$formatted_sql = htmlspecialchars($arr['raw']);
- $formatted_sql = preg_replace("@((\015\012)|(\015)|(\012)) {3,}@", "\n\n", $formatted_sql);
+ $formatted_sql = preg_replace("@((\015\012)|(\015)|(\012)){3,}@", "\n\n", $formatted_sql);
return $formatted_sql;
} // end of the "PMA_SQP_formatNone()" function
hooks/post-receive
--
phpMyAdmin
1
0

[Phpmyadmin-git] [SCM] phpMyAdmin branch, master, updated. RELEASE_3_4_3_1-11678-g9405dbb
by Michal Čihař 22 Jul '11
by Michal Čihař 22 Jul '11
22 Jul '11
The branch, master has been updated
via 9405dbb82a38ca03e0d5a54e06b73be80ec51692 (commit)
from 25bda8e991f2820971c343315cd3ab3d974b2684 (commit)
- Log -----------------------------------------------------------------
commit 9405dbb82a38ca03e0d5a54e06b73be80ec51692
Author: Michal Čihař <mcihar(a)suse.cz>
Date: Fri Jul 22 09:21:55 2011 +0200
Fix spacing after @param
-----------------------------------------------------------------------
Summary of changes:
db_search.php | 8 +-
export.php | 2 +-
libraries/Config.class.php | 30 ++--
libraries/Error.class.php | 18 +-
libraries/Error_Handler.class.php | 22 ++--
libraries/File.class.php | 32 ++--
libraries/Index.class.php | 28 ++--
libraries/List.class.php | 6 +-
libraries/List_Database.class.php | 14 +-
libraries/Message.class.php | 72 ++++----
libraries/StorageEngine.class.php | 16 +-
libraries/Table.class.php | 108 ++++++------
libraries/Theme.class.php | 16 +-
libraries/Theme_Manager.class.php | 10 +-
libraries/Tracker.class.php | 72 ++++----
libraries/blowfish.php | 8 +-
libraries/bookmark.lib.php | 20 +-
libraries/charset_conversion.lib.php | 6 +-
libraries/common.lib.php | 222 +++++++++++++-------------
libraries/core.lib.php | 58 ++++----
libraries/database_interface.lib.php | 122 +++++++-------
libraries/db_info.inc.php | 6 +-
libraries/db_structure.lib.php | 10 +-
libraries/display_select_lang.lib.php | 4 +-
libraries/display_tbl.lib.php | 148 ++++++++--------
libraries/export/codegen.php | 16 +-
libraries/export/csv.php | 16 +-
libraries/export/htmlword.php | 36 ++--
libraries/export/json.php | 16 +-
libraries/export/latex.php | 38 ++--
libraries/export/mediawiki.php | 16 +-
libraries/export/ods.php | 16 +-
libraries/export/odt.php | 36 ++--
libraries/export/pdf.php | 16 +-
libraries/export/php_array.php | 16 +-
libraries/export/sql.php | 70 ++++----
libraries/export/texytext.php | 36 ++--
libraries/export/xls.php | 16 +-
libraries/export/xlsx.php | 16 +-
libraries/export/xml.php | 16 +-
libraries/export/yaml.php | 16 +-
libraries/file_listing.php | 10 +-
libraries/grab_globals.lib.php | 6 +-
libraries/iconv_wrapper.lib.php | 6 +-
libraries/import.lib.php | 50 +++---
libraries/ip_allow_deny.lib.php | 6 +-
libraries/js_escape.lib.php | 6 +-
libraries/kanji-encoding.lib.php | 14 +-
libraries/mysql_charsets.lib.php | 4 +-
libraries/opendocument.lib.php | 4 +-
libraries/plugin_interface.lib.php | 40 +++---
libraries/relation.lib.php | 86 +++++-----
libraries/sanitizing.lib.php | 4 +-
libraries/select_lang.lib.php | 6 +-
libraries/select_server.lib.php | 4 +-
libraries/server_synchronize.lib.php | 294 ++++++++++++++++----------------
libraries/sql_query_form.lib.php | 12 +-
libraries/sqlparser.lib.php | 34 ++--
libraries/sqlvalidator.class.php | 68 ++++----
libraries/sqlvalidator.lib.php | 2 +-
libraries/string.lib.php | 16 +-
libraries/string_mb.lib.php | 16 +-
libraries/string_native.lib.php | 16 +-
libraries/string_type_ctype.lib.php | 14 +-
libraries/string_type_native.lib.php | 14 +-
libraries/transformations.lib.php | 22 ++--
libraries/url_generating.lib.php | 16 +-
libraries/zip.lib.php | 8 +-
libraries/zip_extension.lib.php | 4 +-
main.php | 16 +-
navigation.php | 14 +-
pmd_common.php | 2 +-
server_privileges.php | 14 +-
tbl_relation.php | 8 +-
tbl_tracking.php | 8 +-
75 files changed, 1147 insertions(+), 1147 deletions(-)
diff --git a/db_search.php b/db_search.php
index 6191b14..acbe0cb 100644
--- a/db_search.php
+++ b/db_search.php
@@ -113,10 +113,10 @@ if (isset($_REQUEST['submit_search'])) {
* explode
* count
* strlen
- * @param string the table name
- * @param string restrict the search to this field
- * @param string the string to search
- * @param integer type of search (1 -> 1 word at least, 2 -> all words,
+ * @param string the table name
+ * @param string restrict the search to this field
+ * @param string the string to search
+ * @param integer type of search (1 -> 1 word at least, 2 -> all words,
* 3 -> exact string, 4 -> regexp)
*
* @return array 3 SQL querys (for count, display and delete results)
diff --git a/export.php b/export.php
index 36c1d58..d7c2f87 100644
--- a/export.php
+++ b/export.php
@@ -129,7 +129,7 @@ $time_start = time();
* Output handler for all exports, if needed buffering, it stores data into
* $dump_buffer, otherwise it prints thems out.
*
- * @param string $line the insert statement
+ * @param string $line the insert statement
* @return bool Whether output suceeded
*/
function PMA_exportOutputHandler($line)
diff --git a/libraries/Config.class.php b/libraries/Config.class.php
index 28f9ac3..0130252 100644
--- a/libraries/Config.class.php
+++ b/libraries/Config.class.php
@@ -75,7 +75,7 @@ class PMA_Config
/**
* constructor
*
- * @param string source to read config from
+ * @param string source to read config from
*/
function __construct($source = null)
{
@@ -333,7 +333,7 @@ class PMA_Config
* loads configuration from $source, usally the config file
* should be called on object creation
*
- * @param string $source config file
+ * @param string $source config file
*/
function load($source = null)
{
@@ -563,7 +563,7 @@ class PMA_Config
/**
* set source
- * @param string $source
+ * @param string $source
*/
function setSource($source)
{
@@ -635,7 +635,7 @@ class PMA_Config
/**
* returns specific config setting
- * @param string $setting
+ * @param string $setting
* @return mixed value
*/
function get($setting)
@@ -649,8 +649,8 @@ class PMA_Config
/**
* sets configuration variable
*
- * @param string $setting configuration option
- * @param string $value new value for configuration option
+ * @param string $setting configuration option
+ * @param string $value new value for configuration option
*/
function set($setting, $value)
{
@@ -1075,7 +1075,7 @@ class PMA_Config
* returns options for font size selection
*
* @static
- * @param string $current_size current selected font size with unit
+ * @param string $current_size current selected font size with unit
* @return array selectable font sizes
*/
static protected function _getFontsizeOptions($current_size = '82%')
@@ -1135,7 +1135,7 @@ class PMA_Config
* returns html selectbox for font sizes
*
* @static
- * @param string $current_size currently slected font size with unit
+ * @param string $current_size currently slected font size with unit
* @return string html selectbox
*/
static protected function _getFontsizeSelection()
@@ -1169,7 +1169,7 @@ class PMA_Config
* return complete font size selection form
*
* @static
- * @param string $current_size currently slected font size with unit
+ * @param string $current_size currently slected font size with unit
* @return string html selectbox
*/
static public function getFontsizeForm()
@@ -1187,7 +1187,7 @@ class PMA_Config
/**
* removes cookie
*
- * @param string $cookie name of cookie to remove
+ * @param string $cookie name of cookie to remove
* @return boolean result of setcookie()
*/
function removeCookie($cookie)
@@ -1200,11 +1200,11 @@ class PMA_Config
* sets cookie if value is different from current cokkie value,
* or removes if value is equal to default
*
- * @param string $cookie name of cookie to remove
- * @param mixed $value new cookie value
- * @param string $default default value
- * @param int $validity validity of cookie in seconds (default is one month)
- * @param bool $httponlt whether cookie is only for HTTP (and not for scripts)
+ * @param string $cookie name of cookie to remove
+ * @param mixed $value new cookie value
+ * @param string $default default value
+ * @param int $validity validity of cookie in seconds (default is one month)
+ * @param bool $httponlt whether cookie is only for HTTP (and not for scripts)
* @return boolean result of setcookie()
*/
function setCookie($cookie, $value, $default = null, $validity = null, $httponly = true)
diff --git a/libraries/Error.class.php b/libraries/Error.class.php
index e5d105c..1925a61 100644
--- a/libraries/Error.class.php
+++ b/libraries/Error.class.php
@@ -93,10 +93,10 @@ class PMA_Error extends PMA_Message
/**
* Constructor
*
- * @param integer $errno
- * @param string $errstr
- * @param string $errfile
- * @param integer $errline
+ * @param integer $errno
+ * @param string $errstr
+ * @param string $errfile
+ * @param integer $errline
*/
public function __construct($errno, $errstr, $errfile, $errline)
{
@@ -116,7 +116,7 @@ class PMA_Error extends PMA_Message
/**
* sets PMA_Error::$_backtrace
*
- * @param array $backtrace
+ * @param array $backtrace
*/
public function setBacktrace($backtrace)
{
@@ -126,7 +126,7 @@ class PMA_Error extends PMA_Message
/**
* sets PMA_Error::$_line
*
- * @param integer $line
+ * @param integer $line
*/
public function setLine($line)
{
@@ -136,7 +136,7 @@ class PMA_Error extends PMA_Message
/**
* sets PMA_Error::$_file
*
- * @param string $file
+ * @param string $file
*/
public function setFile($file)
{
@@ -147,7 +147,7 @@ class PMA_Error extends PMA_Message
/**
* returns unique PMA_Error::$_hash, if not exists it will be created
*
- * @param string $file
+ * @param string $file
* @return string PMA_Error::$_hash
*/
public function getHash()
@@ -329,7 +329,7 @@ class PMA_Error extends PMA_Message
* and make users feel save to submit error reports
*
* @static
- * @param string $dest path to be shorten
+ * @param string $dest path to be shorten
* @return string shortened path
*/
static function relPath($dest)
diff --git a/libraries/Error_Handler.class.php b/libraries/Error_Handler.class.php
index f65dc4b..1a9cdb0 100644
--- a/libraries/Error_Handler.class.php
+++ b/libraries/Error_Handler.class.php
@@ -83,10 +83,10 @@ class PMA_Error_Handler
* Do not use the context parameter as we want to avoid storing the
* complete $GLOBALS inside $_SESSION['errors']
*
- * @param integer $errno
- * @param string $errstr
- * @param string $errfile
- * @param integer $errline
+ * @param integer $errno
+ * @param string $errstr
+ * @param string $errfile
+ * @param integer $errline
*/
public function handleError($errno, $errstr, $errfile, $errline)
{
@@ -126,7 +126,7 @@ class PMA_Error_Handler
* log error to configured log facility
*
* @todo finish!
- * @param PMA_Error $error
+ * @param PMA_Error $error
*/
protected function _logError($error)
{
@@ -136,10 +136,10 @@ class PMA_Error_Handler
/**
* trigger a custom error
*
- * @param string $errorInfo
- * @param integer $errorNumber
- * @param string $file
- * @param integer $line
+ * @param string $errorInfo
+ * @param integer $errorNumber
+ * @param string $file
+ * @param integer $line
*/
public function triggerError($errorInfo, $errorNumber = null, $file = null, $line = null)
{
@@ -150,7 +150,7 @@ class PMA_Error_Handler
/**
* display fatal error and exit
*
- * @param PMA_Error $error
+ * @param PMA_Error $error
*/
protected function _dispFatalError($error)
{
@@ -191,7 +191,7 @@ class PMA_Error_Handler
/**
* display HTML header
*
- * @param PMA_error $error
+ * @param PMA_error $error
*/
protected function _dispPageStart($error = null)
{
diff --git a/libraries/File.class.php b/libraries/File.class.php
index 031a266..bad9bca 100644
--- a/libraries/File.class.php
+++ b/libraries/File.class.php
@@ -78,7 +78,7 @@ class PMA_File
* constructor
*
* @access public
- * @param string $name file name
+ * @param string $name file name
*/
function __construct($name = false)
{
@@ -129,7 +129,7 @@ class PMA_File
* file objects with temp flags are deleted with object destruction
*
* @access public
- * @param boolean sets the temp flag
+ * @param boolean sets the temp flag
* @return boolean PMA_File::$_is_temp
*/
function isTemp($is_temp = null)
@@ -145,7 +145,7 @@ class PMA_File
* accessor
*
* @access public
- * @param string $name file name
+ * @param string $name file name
*/
function setName($name)
{
@@ -208,7 +208,7 @@ class PMA_File
/**
* @access public
- * @param string name of file uploaded
+ * @param string name of file uploaded
* @return boolean success
*/
function setUploadedFile($name)
@@ -226,8 +226,8 @@ class PMA_File
/**
* @access public
- * @param string $key the md5 hash of the column name
- * @param string $rownumber
+ * @param string $key the md5 hash of the column name
+ * @param string $rownumber
* @return boolean success
*/
function setUploadedFromTblChangeRequest($key, $rownumber)
@@ -319,9 +319,9 @@ class PMA_File
*
* @access public
* @static
- * @param array $file the array
- * @param string $rownumber
- * @param string $key
+ * @param array $file the array
+ * @param string $rownumber
+ * @param string $key
* @return array
*/
function fetchUploadedFromTblChangeRequestMultiple($file, $rownumber, $key)
@@ -341,8 +341,8 @@ class PMA_File
* sets the name if the file to the one selected in the tbl_change form
*
* @access public
- * @param string $key the md5 hash of the column name
- * @param string $rownumber
+ * @param string $key the md5 hash of the column name
+ * @param string $rownumber
* @return boolean success
*/
function setSelectedFromTblChangeRequest($key, $rownumber = null)
@@ -421,8 +421,8 @@ class PMA_File
* and uses the submitted/selected file
*
* @access public
- * @param string $key the md5 hash of the column name
- * @param string $rownumber
+ * @param string $key the md5 hash of the column name
+ * @param string $rownumber
* @return boolean success
*/
function checkTblChangeForm($key, $rownumber)
@@ -444,7 +444,7 @@ class PMA_File
/**
*
* @access public
- * @param string $name
+ * @param string $name
* @return boolean success
*/
function setLocalSelectedFile($name)
@@ -672,7 +672,7 @@ class PMA_File
/**
* advances the file pointer in the file handle by $length bytes/chars
*
- * @param integer $length numbers of chars/bytes to skip
+ * @param integer $length numbers of chars/bytes to skip
* @return boolean
* @todo this function is unused
*/
@@ -808,7 +808,7 @@ class PMA_File
* sets reference to most recent BLOB repository reference
*
* @access public
- * @param string - BLOB repository reference
+ * @param string - BLOB repository reference
*/
static function setRecentBLOBReference($ref)
{
diff --git a/libraries/Index.class.php b/libraries/Index.class.php
index 7cc4799..25f613f 100644
--- a/libraries/Index.class.php
+++ b/libraries/Index.class.php
@@ -86,7 +86,7 @@ class PMA_Index
/**
* Constructor
*
- * @param array $params
+ * @param array $params
*/
public function __construct($params = array())
{
@@ -111,8 +111,8 @@ class PMA_Index
/**
* returns an array with all indexes from the given table
*
- * @param string $table
- * @param string $schema
+ * @param string $table
+ * @param string $schema
* @return array
*/
static public function getFromTable($table, $schema)
@@ -129,8 +129,8 @@ class PMA_Index
/**
* return primary if set, false otherwise
*
- * @param string $table
- * @param string $schema
+ * @param string $table
+ * @param string $schema
* @return mixed primary index or false if no one exists
*/
static public function getPrimary($table, $schema)
@@ -147,8 +147,8 @@ class PMA_Index
/**
* Load index data for table
*
- * @param string $table
- * @param string $schema
+ * @param string $table
+ * @param string $schema
* @return boolean
*/
static protected function _loadIndexes($table, $schema)
@@ -176,7 +176,7 @@ class PMA_Index
/**
* Add column to index
*
- * @param array $params column params
+ * @param array $params column params
*/
public function addColumn($params)
{
@@ -216,7 +216,7 @@ class PMA_Index
/**
* Returns true if $column indexed in this index
*
- * @param string $column
+ * @param string $column
* @return boolean
*/
public function hasColumn($column)
@@ -403,10 +403,10 @@ class PMA_Index
/**
* Show index data
*
- * @param string $table The tablename
- * @param array $indexes_info Referenced info array
- * @param array $indexes_data Referenced data array
- * @param boolean $print_mode
+ * @param string $table The tablename
+ * @param array $indexes_info Referenced info array
+ * @param array $indexes_data Referenced data array
+ * @param boolean $print_mode
* @access public
* @return array Index collection array
*/
@@ -539,7 +539,7 @@ class PMA_Index
* Function to check over array of indexes and look for common problems
*
* @access public
- * @param string name of table
+ * @param string name of table
* @return string Output HTML
*/
static public function findDuplicates($table, $schema)
diff --git a/libraries/List.class.php b/libraries/List.class.php
index 83a42c1..694546a 100644
--- a/libraries/List.class.php
+++ b/libraries/List.class.php
@@ -52,7 +52,7 @@ abstract class PMA_List extends ArrayObject
* checks if the given db names exists in the current list, if there is
* missing at least one item it returns false otherwise true
*
- * @param string $db_name,.. one or more mysql result resources
+ * @param string $db_name,.. one or more mysql result resources
* @return boolean true if all items exists, otheriwse false
*/
public function exists()
@@ -70,8 +70,8 @@ abstract class PMA_List extends ArrayObject
/**
* returns HTML <option>-tags to be used inside <select></select>
*
- * @param mixed $selected the selected db or true for selecting current db
- * @param boolean $include_information_schema
+ * @param mixed $selected the selected db or true for selecting current db
+ * @param boolean $include_information_schema
* @return string HTML option tags
*/
public function getHtmlOptions($selected = '', $include_information_schema = true)
diff --git a/libraries/List_Database.class.php b/libraries/List_Database.class.php
index 7616f60..259bbf8 100644
--- a/libraries/List_Database.class.php
+++ b/libraries/List_Database.class.php
@@ -56,8 +56,8 @@ require_once './libraries/List.class.php';
/**
* Constructor
*
- * @param mixed $db_link_user user database link resource|object
- * @param mixed $db_link_control control database link resource|object
+ * @param mixed $db_link_user user database link resource|object
+ * @param mixed $db_link_control control database link resource|object
*/
public function __construct($db_link_user = null, $db_link_control = null)
{
@@ -89,7 +89,7 @@ require_once './libraries/List.class.php';
* retrieves database list from server
*
* @todo we could also search mysql tables if all fail?
- * @param string $like_db_name usally a db_name containing wildcards
+ * @param string $like_db_name usally a db_name containing wildcards
*/
protected function _retrieve($like_db_name = null)
{
@@ -219,8 +219,8 @@ require_once './libraries/List.class.php';
/**
* returns array with dbs grouped with extended infos
*
- * @param integer $offset
- * @param integer $count
+ * @param integer $offset
+ * @param integer $count
* @return array db list
*/
public function getGroupedDetails($offset, $count)
@@ -297,8 +297,8 @@ require_once './libraries/List.class.php';
/**
* returns a part of the items
*
- * @param integer $offset
- * @param integer $count
+ * @param integer $offset
+ * @param integer $count
* @return array some items
*/
public function getLimitedItems($offset, $count)
diff --git a/libraries/Message.class.php b/libraries/Message.class.php
index d5e7d07..5a6afac 100644
--- a/libraries/Message.class.php
+++ b/libraries/Message.class.php
@@ -137,10 +137,10 @@ class PMA_Message
/**
* Constructor
*
- * @param string $string
- * @param integer $number
- * @param array $params
- * @param integer $sanitize
+ * @param string $string
+ * @param integer $number
+ * @param array $params
+ * @param integer $sanitize
*/
public function __construct($string = '', $number = PMA_Message::NOTICE,
$params = array(), $sanitize = PMA_Message::SANITIZE_NONE)
@@ -166,7 +166,7 @@ class PMA_Message
* shorthand for getting a simple success message
*
* @static
- * @param string $string a localized string e.g. __('Your SQL query has been executed successfully')
+ * @param string $string a localized string e.g. __('Your SQL query has been executed successfully')
* @return PMA_Message
*/
static public function success($string = '')
@@ -184,7 +184,7 @@ class PMA_Message
* shorthand for getting a simple error message
*
* @static
- * @param string $string a localized string e.g. __('Error')
+ * @param string $string a localized string e.g. __('Error')
* @return PMA_Message
*/
static public function error($string = '')
@@ -202,7 +202,7 @@ class PMA_Message
* shorthand for getting a simple notice message
*
* @static
- * @param string $string a localized string e.g. __('The additional features for working with linked tables have been deactivated. To find out why click %shere%s.')
+ * @param string $string a localized string e.g. __('The additional features for working with linked tables have been deactivated. To find out why click %shere%s.')
* @return PMA_Message
*/
static public function notice($string)
@@ -216,8 +216,8 @@ class PMA_Message
* shorthand for getting a customized message
*
* @static
- * @param string $message
- * @param integer $type
+ * @param string $message
+ * @param integer $type
* @return PMA_Message
*/
static public function raw($message, $type = PMA_Message::NOTICE)
@@ -233,7 +233,7 @@ class PMA_Message
* shorthand for getting a customized message
*
* @static
- * @param integer $rows Number of rows
+ * @param integer $rows Number of rows
* @return PMA_Message
*/
static public function affected_rows($rows)
@@ -249,7 +249,7 @@ class PMA_Message
* shorthand for getting a customized message
*
* @static
- * @param integer $rows Number of rows
+ * @param integer $rows Number of rows
* @return PMA_Message
*/
static public function deleted_rows($rows)
@@ -265,7 +265,7 @@ class PMA_Message
* shorthand for getting a customized message
*
* @static
- * @param integer $rows Number of rows
+ * @param integer $rows Number of rows
* @return PMA_Message
*/
static public function inserted_rows($rows)
@@ -281,7 +281,7 @@ class PMA_Message
* shorthand for getting a customized error message
*
* @static
- * @param string $message
+ * @param string $message
* @return PMA_Message
*/
static public function rawError($message)
@@ -295,7 +295,7 @@ class PMA_Message
* shorthand for getting a customized notice message
*
* @static
- * @param string $message
+ * @param string $message
* @return PMA_Message
*/
static public function rawNotice($message)
@@ -309,7 +309,7 @@ class PMA_Message
* shorthand for getting a customized success message
*
* @static
- * @param string $message
+ * @param string $message
* @return PMA_Message
*/
static public function rawSuccess($message)
@@ -321,7 +321,7 @@ class PMA_Message
* returns whether this message is a success message or not
* and optionaly makes this message a success message
*
- * @param boolean $set
+ * @param boolean $set
* @return boolean whether this is a success message or not
*/
public function isSuccess($set = false)
@@ -337,7 +337,7 @@ class PMA_Message
* returns whether this message is a notice message or not
* and optionally makes this message a notice message
*
- * @param boolean $set
+ * @param boolean $set
* @return boolean whether this is a notice message or not
*/
public function isNotice($set = false)
@@ -353,7 +353,7 @@ class PMA_Message
* returns whether this message is an error message or not
* and optionally makes this message an error message
*
- * @param boolean $set
+ * @param boolean $set
* @return boolean whether this is an error message or not
*/
public function isError($set = false)
@@ -368,8 +368,8 @@ class PMA_Message
/**
* set raw message (overrides string)
*
- * @param string $message
- * @param boolean $sanitize whether to sanitize $message or not
+ * @param string $message
+ * @param boolean $sanitize whether to sanitize $message or not
*/
public function setMessage($message, $sanitize = false)
{
@@ -382,8 +382,8 @@ class PMA_Message
/**
* set string (does not take effect if raw message is set)
*
- * @param string $_string
- * @param boolean $sanitize whether to sanitize $string or not
+ * @param string $_string
+ * @param boolean $sanitize whether to sanitize $string or not
*/
public function setString($_string, $sanitize = true)
{
@@ -396,7 +396,7 @@ class PMA_Message
/**
* set message type number
*
- * @param integer $number
+ * @param integer $number
*/
public function setNumber($number)
{
@@ -413,8 +413,8 @@ class PMA_Message
* $message->addParam('<img src="img" />', false);
* </code>
*
- * @param mixed $param
- * @param boolean $raw
+ * @param mixed $param
+ * @param boolean $raw
*/
public function addParam($param, $raw = true)
{
@@ -430,8 +430,8 @@ class PMA_Message
/**
* add another string to be concatenated on displaying
*
- * @param string $string to be added
- * @param string $separator to use between this and previous string/message
+ * @param string $string to be added
+ * @param string $separator to use between this and previous string/message
*/
public function addString($string, $separator = ' ')
{
@@ -442,8 +442,8 @@ class PMA_Message
/**
* add a bunch of messages at once
*
- * @param array $messages to be added
- * @param string $separator to use between this and previous string/message
+ * @param array $messages to be added
+ * @param string $separator to use between this and previous string/message
*/
public function addMessages($messages, $separator = ' ')
{
@@ -455,8 +455,8 @@ class PMA_Message
/**
* add another raw message to be concatenated on displaying
*
- * @param mixed $message to be added
- * @param string $separator to use between this and previous string/message
+ * @param mixed $message to be added
+ * @param string $separator to use between this and previous string/message
*/
public function addMessage($message, $separator = ' ')
{
@@ -474,8 +474,8 @@ class PMA_Message
/**
* set all params at once, usually used in conjunction with string
*
- * @param array $params
- * @param boolean $sanitize
+ * @param array $params
+ * @param boolean $sanitize
*/
public function setParams($params, $sanitize = false)
{
@@ -509,7 +509,7 @@ class PMA_Message
* Sanitizes $message
*
* @static
- * @param mixed $message the message(s)
+ * @param mixed $message the message(s)
* @return mixed the sanitized message(s)
* @access public
*/
@@ -531,7 +531,7 @@ class PMA_Message
* for formatting
*
* @static
- * @param string $message the message
+ * @param string $message the message
* @return string the decoded message
* @access public
*/
@@ -662,7 +662,7 @@ class PMA_Message
/**
* sets and returns whether the message was displayed or not
*
- * @param boolean $is_displayed
+ * @param boolean $is_displayed
* @return boolean PMA_Message::$_is_displayed
*/
public function isDisplayed($is_displayed = false)
diff --git a/libraries/StorageEngine.class.php b/libraries/StorageEngine.class.php
index d3e1019..bf5de9d 100644
--- a/libraries/StorageEngine.class.php
+++ b/libraries/StorageEngine.class.php
@@ -68,10 +68,10 @@ class PMA_StorageEngine
* returns HTML code for storage engine select box
*
* @static
- * @param string $name The name of the select form element
- * @param string $id The ID of the form field
- * @param string $selected The selected engine
- * @param boolean $offerUnavailableEngines
+ * @param string $name The name of the select form element
+ * @param string $id The ID of the form field
+ * @param string $selected The selected engine
+ * @param boolean $offerUnavailableEngines
* Should unavailable storage engines be offered?
* @return string html selectbox
*/
@@ -106,7 +106,7 @@ class PMA_StorageEngine
*
* Loads the corresponding engine plugin, if available.
*
- * @param string $engine The engine ID
+ * @param string $engine The engine ID
* @return object The engine plugin
*/
static public function getEngine($engine)
@@ -127,7 +127,7 @@ class PMA_StorageEngine
* return true if given engine name is supported/valid, otherwise false
*
* @static
- * @param string $engine name of engine
+ * @param string $engine name of engine
* @return boolean whether $engine is valid or not
*/
static public function isValid($engine)
@@ -248,7 +248,7 @@ class PMA_StorageEngine
/**
* Constructor
*
- * @param string $engine The engine ID
+ * @param string $engine The engine ID
*/
function __construct($engine)
{
@@ -381,7 +381,7 @@ class PMA_StorageEngine
* Generates the requested information page
*
* @abstract
- * @param string $id The page ID
+ * @param string $id The page ID
*
* @return string The page
* boolean or false on error.
diff --git a/libraries/Table.class.php b/libraries/Table.class.php
index 66ceaea..d2a0dbe 100644
--- a/libraries/Table.class.php
+++ b/libraries/Table.class.php
@@ -63,8 +63,8 @@ class PMA_Table
/**
* Constructor
*
- * @param string $table_name table name
- * @param string $db_name database name
+ * @param string $table_name table name
+ * @param string $db_name database name
*/
function __construct($table_name, $db_name)
{
@@ -96,7 +96,7 @@ class PMA_Table
/**
* sets table name
*
- * @param string $table_name new table name
+ * @param string $table_name new table name
*/
function setName($table_name)
{
@@ -106,7 +106,7 @@ class PMA_Table
/**
* returns table name
*
- * @param boolean $backquoted whether to quote name with backticks ``
+ * @param boolean $backquoted whether to quote name with backticks ``
* @return string table name
*/
function getName($backquoted = false)
@@ -120,7 +120,7 @@ class PMA_Table
/**
* sets database name for this table
*
- * @param string $db_name
+ * @param string $db_name
*/
function setDbName($db_name)
{
@@ -130,7 +130,7 @@ class PMA_Table
/**
* returns database name for this table
*
- * @param boolean $backquoted whether to quote name with backticks ``
+ * @param boolean $backquoted whether to quote name with backticks ``
* @return string database name for this table
*/
function getDbName($backquoted = false)
@@ -144,7 +144,7 @@ class PMA_Table
/**
* returns full name for table, including database name
*
- * @param boolean $backquoted whether to quote name with backticks ``
+ * @param boolean $backquoted whether to quote name with backticks ``
* @return string
*/
function getFullName($backquoted = false)
@@ -175,7 +175,7 @@ class PMA_Table
/**
* returns value for given setting/param
*
- * @param string $param name for value to return
+ * @param string $param name for value to return
* @return mixed value for $param
*/
function get($param)
@@ -226,8 +226,8 @@ class PMA_Table
*
* @deprecated
* @todo see what we could do with the possible existence of $table_is_view
- * @param string $db the database name
- * @param string $table the table name
+ * @param string $db the database name
+ * @param string $table the table name
* @return boolean whether this is a view
*/
static protected function _isView($db, $table)
@@ -247,8 +247,8 @@ class PMA_Table
*
* If the ENGINE of the table is MERGE or MRG_MYISAM (alias), this is a merge table.
*
- * @param string $db the database name
- * @param string $table the table name
+ * @param string $db the database name
+ * @param string $table the table name
* @return boolean true if it is a merge table
*/
static public function isMerge($db = null, $table = null)
@@ -313,19 +313,19 @@ class PMA_Table
*
* @todo move into class PMA_Column
* @todo on the interface, some js to clear the default value when the default current_timestamp is checked
- * @param string $name name
- * @param string $type type ('INT', 'VARCHAR', 'BIT', ...)
- * @param string $length length ('2', '5,2', '', ...)
- * @param string $attribute
- * @param string $collation
- * @param bool|string $null with 'NULL' or 'NOT NULL'
- * @param string $default_type whether default is CURRENT_TIMESTAMP,
+ * @param string $name name
+ * @param string $type type ('INT', 'VARCHAR', 'BIT', ...)
+ * @param string $length length ('2', '5,2', '', ...)
+ * @param string $attribute
+ * @param string $collation
+ * @param bool|string $null with 'NULL' or 'NOT NULL'
+ * @param string $default_type whether default is CURRENT_TIMESTAMP,
* NULL, NONE, USER_DEFINED
- * @param string $default_value default value for USER_DEFINED default type
- * @param string $extra 'AUTO_INCREMENT'
- * @param string $comment field comment
- * @param array &$field_primary list of fields for PRIMARY KEY
- * @param string $index
+ * @param string $default_value default value for USER_DEFINED default type
+ * @param string $extra 'AUTO_INCREMENT'
+ * @param string $comment field comment
+ * @param array &$field_primary list of fields for PRIMARY KEY
+ * @param string $index
* @return string field specification
*/
static function generateFieldSpec($name, $type, $length = '', $attribute = '',
@@ -424,10 +424,10 @@ class PMA_Table
* Revision 13 July 2001: Patch for limiting dump size from
* vinay(a)sanisoft.com & girish(a)sanisoft.com
*
- * @param string $db the current database name
- * @param string $table the current table name
- * @param bool $force_exact whether to force an exact count
- * @param bool $is_view
+ * @param string $db the current database name
+ * @param string $table the current table name
+ * @param bool $force_exact whether to force an exact count
+ * @param bool $is_view
*
* @return mixed the number of records if "retain" param is true,
* otherwise true
@@ -498,21 +498,21 @@ class PMA_Table
* Generates column specification for ALTER syntax
*
* @see PMA_Table::generateFieldSpec()
- * @param string $oldcol old column name
- * @param string $newcol new column name
- * @param string $type type ('INT', 'VARCHAR', 'BIT', ...)
- * @param string $length length ('2', '5,2', '', ...)
- * @param string $attribute
- * @param string $collation
- * @param bool|string $null with 'NULL' or 'NOT NULL'
- * @param string $default_type whether default is CURRENT_TIMESTAMP,
+ * @param string $oldcol old column name
+ * @param string $newcol new column name
+ * @param string $type type ('INT', 'VARCHAR', 'BIT', ...)
+ * @param string $length length ('2', '5,2', '', ...)
+ * @param string $attribute
+ * @param string $collation
+ * @param bool|string $null with 'NULL' or 'NOT NULL'
+ * @param string $default_type whether default is CURRENT_TIMESTAMP,
* NULL, NONE, USER_DEFINED
- * @param string $default_value default value for USER_DEFINED default type
- * @param string $extra 'AUTO_INCREMENT'
- * @param string $comment field comment
- * @param array &$field_primary list of fields for PRIMARY KEY
- * @param string $index
- * @param mixed $default_orig
+ * @param string $default_value default value for USER_DEFINED default type
+ * @param string $extra 'AUTO_INCREMENT'
+ * @param string $comment field comment
+ * @param array &$field_primary list of fields for PRIMARY KEY
+ * @param string $index
+ * @param mixed $default_orig
* @return string field specification
*/
static public function generateAlter($oldcol, $newcol, $type, $length,
@@ -529,11 +529,11 @@ class PMA_Table
* Inserts existing entries in a PMA_* table by reading a value from an old entry
*
* @global relation variable
- * @param string $work The array index, which Relation feature to check ('relwork', 'commwork', ...)
- * @param string $pma_table The array index, which PMA-table to update ('bookmark', 'relation', ...)
- * @param array $get_fields Which fields will be SELECT'ed from the old entry
- * @param array $where_fields Which fields will be used for the WHERE query (array('FIELDNAME' => 'FIELDVALUE'))
- * @param array $new_fields Which fields will be used as new VALUES. These are the important
+ * @param string $work The array index, which Relation feature to check ('relwork', 'commwork', ...)
+ * @param string $pma_table The array index, which PMA-table to update ('bookmark', 'relation', ...)
+ * @param array $get_fields Which fields will be SELECT'ed from the old entry
+ * @param array $where_fields Which fields will be used for the WHERE query (array('FIELDNAME' => 'FIELDVALUE'))
+ * @param array $new_fields Which fields will be used as new VALUES. These are the important
* keys which differ from the old entry.
* (array('FIELDNAME' => 'NEW FIELDVALUE'))
* @return int|true
@@ -995,7 +995,7 @@ class PMA_Table
*
* @todo add check for valid chars in filename on current system/os
* @see http://dev.mysql.com/doc/refman/5.0/en/legal-names.html
- * @param string $table_name name to check
+ * @param string $table_name name to check
* @return boolean whether the string is valid or not
*/
function isValidName($table_name)
@@ -1021,9 +1021,9 @@ class PMA_Table
/**
* renames table
*
- * @param string $new_name new table name
- * @param string $new_db new database name
- * @param bool $is_view is this for a VIEW rename?
+ * @param string $new_name new table name
+ * @param string $new_db new database name
+ * @param bool $is_view is this for a VIEW rename?
* @return bool success
*/
function rename($new_name, $new_db = null, $is_view = false)
@@ -1161,7 +1161,7 @@ class PMA_Table
* - UNIQUE(x,y) // NONE
*
*
- * @param bool $backquoted whether to quote name with backticks ``
+ * @param bool $backquoted whether to quote name with backticks ``
* @return array
*/
public function getUniqueColumns($backquoted = true)
@@ -1188,7 +1188,7 @@ class PMA_Table
*
* e.g. index(col1, col2) would only return col1
*
- * @param bool $backquoted whether to quote name with backticks ``
+ * @param bool $backquoted whether to quote name with backticks ``
* @return array
*/
public function getIndexedColumns($backquoted = true)
@@ -1209,7 +1209,7 @@ class PMA_Table
*
* returns an array with all columns
*
- * @param bool $backquoted whether to quote name with backticks ``
+ * @param bool $backquoted whether to quote name with backticks ``
* @return array
*/
public function getColumns($backquoted = true)
diff --git a/libraries/Theme.class.php b/libraries/Theme.class.php
index d1b79fd..7b01fa8 100644
--- a/libraries/Theme.class.php
+++ b/libraries/Theme.class.php
@@ -107,7 +107,7 @@ class PMA_Theme {
*
* @static
* @access public
- * @param string $folder path to theme
+ * @param string $folder path to theme
* @return object PMA_Theme
*/
static public function load($folder)
@@ -172,7 +172,7 @@ class PMA_Theme {
* set path to theme
*
* @access public
- * @param string $path path to theme
+ * @param string $path path to theme
*/
function setPath($path)
{
@@ -183,7 +183,7 @@ class PMA_Theme {
* sets version
*
* @access public
- * @param string new version
+ * @param string new version
*/
function setVersion($version)
{
@@ -206,7 +206,7 @@ class PMA_Theme {
* returns true if theme version is equal or higher to $version
*
* @access public
- * @param string $version version to compare to
+ * @param string $version version to compare to
* @return boolean
*/
function checkVersion($version)
@@ -218,7 +218,7 @@ class PMA_Theme {
* sets name
*
* @access public
- * @param string $name new name
+ * @param string $name new name
*/
function setName($name)
{
@@ -240,7 +240,7 @@ class PMA_Theme {
* sets id
*
* @access public
- * @param string $id new id
+ * @param string $id new id
*/
function setId($id)
{
@@ -260,7 +260,7 @@ class PMA_Theme {
/**
* @access public
- * @param string path to images for this theme
+ * @param string path to images for this theme
*/
function setImgPath($path)
{
@@ -280,7 +280,7 @@ class PMA_Theme {
* load css (send to stdout, normally the browser)
*
* @access public
- * @param string $type left, right or print
+ * @param string $type left, right or print
*/
function loadCss(&$type)
{
diff --git a/libraries/Theme_Manager.class.php b/libraries/Theme_Manager.class.php
index b179ccc..86ddc8d 100644
--- a/libraries/Theme_Manager.class.php
+++ b/libraries/Theme_Manager.class.php
@@ -55,7 +55,7 @@ class PMA_Theme_Manager
/**
* sets path to folder containing the themes
*
- * @param string $path path to themes folder
+ * @param string $path path to themes folder
* @return boolean success
*/
function setThemesPath($path)
@@ -80,7 +80,7 @@ class PMA_Theme_Manager
/**
* sets if there are different themes per server
*
- * @param boolean $per_server
+ * @param boolean $per_server
*/
function setThemePerServer($per_server)
{
@@ -200,7 +200,7 @@ class PMA_Theme_Manager
/**
* @private
- * @param string $folder
+ * @param string $folder
* @return boolean
*/
/*private*/ function _checkThemeFolder($folder)
@@ -252,7 +252,7 @@ class PMA_Theme_Manager
/**
* checks if given theme name is a known theme
*
- * @param string $theme name fo theme to check for
+ * @param string $theme name fo theme to check for
*/
function checkTheme($theme)
{
@@ -266,7 +266,7 @@ class PMA_Theme_Manager
/**
* returns HTML selectbox, with or without form enclosed
*
- * @param boolean $form whether enclosed by from tags or not
+ * @param boolean $form whether enclosed by from tags or not
*/
function getHtmlSelectBox($form = true)
{
diff --git a/libraries/Tracker.class.php b/libraries/Tracker.class.php
index da9a56a..c82d0d9 100644
--- a/libraries/Tracker.class.php
+++ b/libraries/Tracker.class.php
@@ -168,7 +168,7 @@ class PMA_Tracker
*
* @static
*
- * @param string $string part of SQL statement
+ * @param string $string part of SQL statement
*
* @return string the name of table
*/
@@ -198,8 +198,8 @@ class PMA_Tracker
*
* @static
*
- * @param string $dbname name of database
- * @param string $tablename name of table
+ * @param string $dbname name of database
+ * @param string $tablename name of table
*
* @return boolean true or false
*/
@@ -250,11 +250,11 @@ class PMA_Tracker
*
* @static
*
- * @param string $dbname name of database
- * @param string $tablename name of table
- * @param string $version version
- * @param string $tracking_set set of tracking statements
- * @param string $is_view if table is a view
+ * @param string $dbname name of database
+ * @param string $tablename name of table
+ * @param string $version version
+ * @param string $tracking_set set of tracking statements
+ * @param string $is_view if table is a view
*
* @return int result of version insertion
*/
@@ -357,8 +357,8 @@ class PMA_Tracker
*
* @static
*
- * @param string $dbname name of database
- * @param string $tablename name of table
+ * @param string $dbname name of database
+ * @param string $tablename name of table
*
* @return int result of version insertion
*/
@@ -378,10 +378,10 @@ class PMA_Tracker
*
* @static
*
- * @param string $dbname name of database
- * @param string $version version
- * @param string $query query
- * @param string $tracking_set set of tracking statements
+ * @param string $dbname name of database
+ * @param string $version version
+ * @param string $query query
+ * @param string $tracking_set set of tracking statements
*
* @return int result of version insertion
*/
@@ -443,10 +443,10 @@ class PMA_Tracker
*
* @static
*
- * @param string $dbname name of database
- * @param string $tablename name of table
- * @param string $version version
- * @param integer $new_state the new state of tracking
+ * @param string $dbname name of database
+ * @param string $tablename name of table
+ * @param string $version version
+ * @param integer $new_state the new state of tracking
*
* @return int result of SQL query
*/
@@ -469,11 +469,11 @@ class PMA_Tracker
*
* @static
*
- * @param string $dbname name of database
- * @param string $tablename name of table
- * @param string $version version
- * @param string $type type of data(DDL || DML)
- * @param string || array $new_data the new tracking data
+ * @param string $dbname name of database
+ * @param string $tablename name of table
+ * @param string $version version
+ * @param string $type type of data(DDL || DML)
+ * @param string || array $new_data the new tracking data
*
* @return bool result of change
*/
@@ -514,9 +514,9 @@ class PMA_Tracker
*
* @static
*
- * @param string $dbname name of database
- * @param string $tablename name of table
- * @param string $version version
+ * @param string $dbname name of database
+ * @param string $tablename name of table
+ * @param string $version version
*
* @return int result of SQL query
*/
@@ -531,9 +531,9 @@ class PMA_Tracker
*
* @static
*
- * @param string $dbname name of database
- * @param string $tablename name of table
- * @param string $version version
+ * @param string $dbname name of database
+ * @param string $tablename name of table
+ * @param string $version version
*
* @return int result of SQL query
*/
@@ -549,9 +549,9 @@ class PMA_Tracker
*
* @static
*
- * @param string $dbname name of database
- * @param string $tablename name of table
- * @param string $statement tracked statement
+ * @param string $dbname name of database
+ * @param string $tablename name of table
+ * @param string $statement tracked statement
*
* @return int (-1 if no version exists | > 0 if a version exists)
*/
@@ -581,9 +581,9 @@ class PMA_Tracker
*
* @static
*
- * @param string $dbname name of database
- * @param string $tablename name of table
- * @param string $version version number
+ * @param string $dbname name of database
+ * @param string $tablename name of table
+ * @param string $version version number
*
* @return mixed record DDM log, DDL log, structure snapshot, tracked statements.
*/
@@ -892,7 +892,7 @@ class PMA_Tracker
*
*
* @static
- * @param string $query a SQL query
+ * @param string $query a SQL query
*/
static public function handleQuery($query)
{
diff --git a/libraries/blowfish.php b/libraries/blowfish.php
index 710015f..69abf52 100644
--- a/libraries/blowfish.php
+++ b/libraries/blowfish.php
@@ -483,8 +483,8 @@ class Horde_Cipher_blowfish
/**
* Encryption using blowfish algorithm
*
- * @param string original data
- * @param string the secret
+ * @param string original data
+ * @param string the secret
*
* @return string the encrypted result
*
@@ -511,8 +511,8 @@ function PMA_blowfish_encrypt($data, $secret)
/**
* Decryption using blowfish algorithm
*
- * @param string encrypted data
- * @param string the secret
+ * @param string encrypted data
+ * @param string the secret
*
* @return string original data
*
diff --git a/libraries/bookmark.lib.php b/libraries/bookmark.lib.php
index c978730..723b042 100644
--- a/libraries/bookmark.lib.php
+++ b/libraries/bookmark.lib.php
@@ -41,7 +41,7 @@ function PMA_Bookmark_getParams()
*
* @global resource the controluser db connection handle
*
- * @param string the current database name
+ * @param string the current database name
*
* @return array the bookmarks list (key as index, label as value)
*
@@ -86,11 +86,11 @@ function PMA_Bookmark_getList($db)
*
* @global resource the controluser db connection handle
*
- * @param string the current database name
- * @param mixed the id of the bookmark to get
- * @param string which field to look up the $id
- * @param boolean true: get all bookmarks regardless of the owning user
- * @param boolean whether to ignore bookmarks with no user
+ * @param string the current database name
+ * @param mixed the id of the bookmark to get
+ * @param string which field to look up the $id
+ * @param boolean true: get all bookmarks regardless of the owning user
+ * @param boolean whether to ignore bookmarks with no user
*
* @return string the sql query
*
@@ -127,9 +127,9 @@ function PMA_Bookmark_get($db, $id, $id_field = 'id', $action_bookmark_all = fal
*
* @global resource the controluser db connection handle
*
- * @param array the properties of the bookmark to add; here,
+ * @param array the properties of the bookmark to add; here,
* $fields['query'] is urlencoded
- * @param boolean whether to make the bookmark available for all users
+ * @param boolean whether to make the bookmark available for all users
*
* @return boolean whether the INSERT succeeds or not
*
@@ -156,8 +156,8 @@ function PMA_Bookmark_save($fields, $all_users = false)
*
* @global resource the controluser db connection handle
*
- * @param string the current database name
- * @param integer the id of the bookmark to get
+ * @param string the current database name
+ * @param integer the id of the bookmark to get
*
* @access public
*/
diff --git a/libraries/charset_conversion.lib.php b/libraries/charset_conversion.lib.php
index 9acd184..b3ae693 100644
--- a/libraries/charset_conversion.lib.php
+++ b/libraries/charset_conversion.lib.php
@@ -58,9 +58,9 @@ if ($PMA_recoding_engine == PMA_CHARSET_ICONV_AIX) {
* Converts encoding of text according to parameters with detected
* conversion function.
*
- * @param string source charset
- * @param string target charset
- * @param string what to convert
+ * @param string source charset
+ * @param string target charset
+ * @param string what to convert
*
* @return string converted text
*
diff --git a/libraries/common.lib.php b/libraries/common.lib.php
index 34d20d9..1607d6e 100644
--- a/libraries/common.lib.php
+++ b/libraries/common.lib.php
@@ -207,7 +207,7 @@ function PMA_escape_mysql_wildcards($name)
* removes slashes before "_" and "%" characters
* Note: This function does not unescape backslashes!
*
- * @param string $name the string to escape
+ * @param string $name the string to escape
* @return string the escaped string
* @access public
*/
@@ -439,9 +439,9 @@ function PMA_showPHPDocu($target) {
/**
* returns HTML for a footnote marker and add the messsage to the footnotes
*
- * @param string $message the error message
- * @param bool $bbcode
- * @param string $type
+ * @param string $message the error message
+ * @param bool $bbcode
+ * @param string $type
* @return string html code for a footnote marker
* @access public
*/
@@ -480,11 +480,11 @@ function PMA_showHint($message, $bbcode = false, $type = 'notice')
/**
* Displays a MySQL error message in the right frame.
*
- * @param string $error_message the error message
- * @param string $the_query the sql query that failed
- * @param bool $is_modify_link whether to show a "modify" link or not
- * @param string $back_url the "back" link url (full path is not required)
- * @param bool $exit EXIT the page?
+ * @param string $error_message the error message
+ * @param string $the_query the sql query that failed
+ * @param bool $is_modify_link whether to show a "modify" link or not
+ * @param string $back_url the "back" link url (full path is not required)
+ * @param bool $exit EXIT the page?
*
* @global string the curent table
* @global string the current db
@@ -630,10 +630,10 @@ function PMA_mysqlDie($error_message = '', $the_query = '',
/**
* returns array with tables of given db with extended information and grouped
*
- * @param string $db name of db
- * @param string $tables name of tables
- * @param integer $limit_offset list offset
- * @param int|bool $limit_count max tables to return
+ * @param string $db name of db
+ * @param string $tables name of tables
+ * @param integer $limit_offset list offset
+ * @param int|bool $limit_count max tables to return
* @return array (recursive) grouped table list
*/
function PMA_getTableList($db, $tables = null, $limit_offset = 0, $limit_count = false)
@@ -760,9 +760,9 @@ function PMA_getTableList($db, $tables = null, $limit_offset = 0, $limit_count =
*
* </code>
*
- * @param mixed $a_name the database, table or field name to "backquote"
+ * @param mixed $a_name the database, table or field name to "backquote"
* or array of it
- * @param boolean $do_it a flag to bypass this function (used by dump
+ * @param boolean $do_it a flag to bypass this function (used by dump
* functions)
* @return mixed the "backquoted" database, table or field name
* @access public
@@ -854,10 +854,10 @@ if (!$jsonly)
* displays the message and the query
* usually the message is the result of the query executed
*
- * @param string $message the message to display
- * @param string $sql_query the query to display
- * @param string $type the type (level) of the message
- * @param boolean $is_view is this a message after a VIEW operation?
+ * @param string $message the message to display
+ * @param string $sql_query the query to display
+ * @param string $type the type (level) of the message
+ * @param boolean $is_view is this a message after a VIEW operation?
* @return string
* @access public
*/
@@ -1237,7 +1237,7 @@ function PMA_profilingSupported()
/**
* Displays a form with the Profiling checkbox
*
- * @param string $sql_query
+ * @param string $sql_query
* @access public
*/
function PMA_profilingCheckbox($sql_query)
@@ -1329,11 +1329,11 @@ function PMA_localizeNumber($value)
* echo PMA_formatNumber(0, 6); // 0
*
* </code>
- * @param double $value the value to format
- * @param integer $digits_left number of digits left of the comma
- * @param integer $digits_right number of digits right of the comma
- * @param boolean $only_down do not reformat numbers below 1
- * @param boolean $noTrailingZero removes trailing zeros right of the comma (default: true)
+ * @param double $value the value to format
+ * @param integer $digits_left number of digits left of the comma
+ * @param integer $digits_right number of digits right of the comma
+ * @param boolean $only_down do not reformat numbers below 1
+ * @param boolean $noTrailingZero removes trailing zeros right of the comma (default: true)
*
* @return string the formatted value and its unit
*
@@ -1411,7 +1411,7 @@ function PMA_formatNumber($value, $digits_left = 3, $digits_right = 0, $only_dow
/**
* Returns the number of bytes when a formatted size is given
*
- * @param string $formatted_size the size expression (for example 8MB)
+ * @param string $formatted_size the size expression (for example 8MB)
* @return integer The numerical part of the expression (for example 8)
*/
function PMA_extractValueFromFormattedSize($formatted_size)
@@ -1500,8 +1500,8 @@ function PMA_localisedDate($timestamp = -1, $format = '')
* returns a tab for tabbed navigation.
* If the variables $link and $args ar left empty, an inactive tab is created
*
- * @param array $tab array with all options
- * @param array $url_params
+ * @param array $tab array with all options
+ * @param array $url_params
* @return string html code for one tab, a link if valid otherwise a span
* @access public
*/
@@ -1599,8 +1599,8 @@ function PMA_generate_html_tab($tab, $url_params = array(), $base_dir='')
/**
* returns html-code for a tab navigation
*
- * @param array $tabs one element per tab
- * @param string $url_params
+ * @param array $tabs one element per tab
+ * @param string $url_params
* @return string html-code for tab-navigation
*/
function PMA_generate_html_tabs($tabs, $url_params, $base_dir='')
@@ -1627,14 +1627,14 @@ function PMA_generate_html_tabs($tabs, $url_params, $base_dir='')
* Displays a link, or a button if the link's URL is too large, to
* accommodate some browsers' limitations
*
- * @param string $url the URL
- * @param string $message the link message
- * @param mixed $tag_params string: js confirmation
+ * @param string $url the URL
+ * @param string $message the link message
+ * @param mixed $tag_params string: js confirmation
* array: additional tag params (f.e. style="")
- * @param boolean $new_form we set this to false when we are already in
+ * @param boolean $new_form we set this to false when we are already in
* a form, to avoid generating nested forms
- * @param boolean $strip_img
- * @param string $target
+ * @param boolean $strip_img
+ * @param string $target
*
* @return string the results to be echoed or saved in an array
*/
@@ -1762,7 +1762,7 @@ function PMA_linkOrButton($url, $message, $tag_params = array(),
/**
* Returns a given timespan value in a readable format.
*
- * @param int $seconds the timespan
+ * @param int $seconds the timespan
*
* @return string the formatted value
*/
@@ -1791,8 +1791,8 @@ function PMA_timespanFormat($seconds)
* http://sf.net/tracker/?func=detail&aid=544361&group_id=23067&atid=377411
*
* @todo add a multibyte safe function PMA_STR_split()
- * @param string $string The string
- * @param string $Separator The Separator (defaults to "<br />\n")
+ * @param string $string The string
+ * @param string $Separator The Separator (defaults to "<br />\n")
*
* @access public
* @return string The flipped string
@@ -1838,11 +1838,11 @@ function PMA_flipstring($string, $Separator = "<br />\n")
* would have to check if the error message file is always available
*
* @todo use PMA_fatalError() if $die === true?
- * @param array $params The names of the parameters needed by the calling script.
- * @param bool $die Stop the execution?
+ * @param array $params The names of the parameters needed by the calling script.
+ * @param bool $die Stop the execution?
* (Set this manually to false in the calling script
* until you know all needed parameters to check).
- * @param bool $request Whether to include this list in checking for special params.
+ * @param bool $request Whether to include this list in checking for special params.
* @global string path to current script
* @global boolean flag whether any special variable was required
*
@@ -1889,11 +1889,11 @@ function PMA_checkParameters($params, $die = true, $request = true)
/**
* Function to generate unique condition for specified row.
*
- * @param resource $handle current query result
- * @param integer $fields_cnt number of fields
- * @param array $fields_meta meta information about fields
- * @param array $row current row
- * @param boolean $force_unique generate condition only on pk or unique
+ * @param resource $handle current query result
+ * @param integer $fields_cnt number of fields
+ * @param array $fields_meta meta information about fields
+ * @param array $row current row
+ * @param boolean $force_unique generate condition only on pk or unique
*
* @access public
* @return array the calculated condition and whether condition is unique
@@ -2011,12 +2011,12 @@ function PMA_getUniqueCondition($handle, $fields_cnt, $fields_meta, $row, $force
/**
* Generate a button or image tag
*
- * @param string $button_name name of button element
- * @param string $button_class class of button element
- * @param string $image_name name of image element
- * @param string $text text to display
- * @param string $image image to display
- * @param string $value
+ * @param string $button_name name of button element
+ * @param string $button_class class of button element
+ * @param string $image_name name of image element
+ * @param string $text text to display
+ * @param string $image image to display
+ * @param string $value
*
* @access public
*/
@@ -2052,17 +2052,17 @@ function PMA_buttonOrImage($button_name, $button_class, $image_name, $text,
/**
* Generate a pagination selector for browsing resultsets
*
- * @param int $rows Number of rows in the pagination set
- * @param int $pageNow current page number
- * @param int $nbTotalPage number of total pages
- * @param int $showAll If the number of pages is lower than this
+ * @param int $rows Number of rows in the pagination set
+ * @param int $pageNow current page number
+ * @param int $nbTotalPage number of total pages
+ * @param int $showAll If the number of pages is lower than this
* variable, no pages will be omitted in pagination
- * @param int $sliceStart How many rows at the beginning should always be shown?
- * @param int $sliceEnd How many rows at the end should always be shown?
- * @param int $percent Percentage of calculation page offsets to hop to a next page
- * @param int $range Near the current page, how many pages should
+ * @param int $sliceStart How many rows at the beginning should always be shown?
+ * @param int $sliceEnd How many rows at the end should always be shown?
+ * @param int $percent Percentage of calculation page offsets to hop to a next page
+ * @param int $range Near the current page, how many pages should
* be considered "nearby" and displayed as well?
- * @param string $prompt The prompt to display (sometimes empty)
+ * @param string $prompt The prompt to display (sometimes empty)
*
* @return string
* @access public
@@ -2151,12 +2151,12 @@ function PMA_pageselector($rows, $pageNow = 1, $nbTotalPage = 1,
* Generate navigation for a list
*
* @todo use $pos from $_url_params
- * @param int $count number of elements in the list
- * @param int $pos current position in the list
- * @param array $_url_params url parameters
- * @param string $script script name for form target
- * @param string $frame target frame
- * @param int $max_count maximum number of elements to display from the list
+ * @param int $count number of elements in the list
+ * @param int $pos current position in the list
+ * @param array $_url_params url parameters
+ * @param string $script script name for form target
+ * @param string $frame target frame
+ * @param int $max_count maximum number of elements to display from the list
*
* @access public
*/
@@ -2238,7 +2238,7 @@ function PMA_listNavigator($count, $pos, $_url_params, $script, $frame, $max_cou
* $user_dir = PMA_userDir('/var/pma_tmp/%u/'); // '/var/pma_tmp/root/'
*
* </code>
- * @param string $dir with wildcard for user
+ * @param string $dir with wildcard for user
* @return string per user directory
*/
function PMA_userDir($dir)
@@ -2254,7 +2254,7 @@ function PMA_userDir($dir)
/**
* returns html code for db link to default db page
*
- * @param string $database
+ * @param string $database
* @return string html link to default db page
*/
function PMA_getDbLink($database = null)
@@ -2277,10 +2277,10 @@ function PMA_getDbLink($database = null)
* Displays a lightbulb hint explaining a known external bug
* that affects a functionality
*
- * @param string $functionality localized message explaining the func.
- * @param string $component 'mysql' (eventually, 'php')
- * @param string $minimum_version of this component
- * @param string $bugref bug reference for this component
+ * @param string $functionality localized message explaining the func.
+ * @param string $component 'mysql' (eventually, 'php')
+ * @param string $minimum_version of this component
+ * @param string $bugref bug reference for this component
*/
function PMA_externalBug($functionality, $component, $minimum_version, $bugref)
{
@@ -2292,10 +2292,10 @@ function PMA_externalBug($functionality, $component, $minimum_version, $bugref)
/**
* Generates and echoes an HTML checkbox
*
- * @param string $html_field_name the checkbox HTML field
- * @param string $label
- * @param boolean $checked is it initially checked?
- * @param boolean $onclick should it submit the form on click?
+ * @param string $html_field_name the checkbox HTML field
+ * @param string $label
+ * @param boolean $checked is it initially checked?
+ * @param boolean $onclick should it submit the form on click?
*/
function PMA_display_html_checkbox($html_field_name, $label, $checked, $onclick) {
@@ -2305,12 +2305,12 @@ function PMA_display_html_checkbox($html_field_name, $label, $checked, $onclick)
/**
* Generates and echoes a set of radio HTML fields
*
- * @param string $html_field_name the radio HTML field
- * @param array $choices the choices values and labels
- * @param string $checked_choice the choice to check by default
- * @param boolean $line_break whether to add an HTML line break after a choice
- * @param boolean $escape_label whether to use htmlspecialchars() on label
- * @param string $class enclose each choice with a div of this class
+ * @param string $html_field_name the radio HTML field
+ * @param array $choices the choices values and labels
+ * @param string $checked_choice the choice to check by default
+ * @param boolean $line_break whether to add an HTML line break after a choice
+ * @param boolean $escape_label whether to use htmlspecialchars() on label
+ * @param string $class enclose each choice with a div of this class
*/
function PMA_display_html_radio($html_field_name, $choices, $checked_choice = '', $line_break = true, $escape_label = true, $class='') {
foreach ($choices as $choice_value => $choice_label) {
@@ -2337,10 +2337,10 @@ function PMA_display_html_radio($html_field_name, $choices, $checked_choice = ''
/**
* Generates and returns an HTML dropdown
*
- * @param string $select_name
- * @param array $choices choices values
- * @param string $active_choice the choice to select by default
- * @param string $id id of the select element; can be different in case
+ * @param string $select_name
+ * @param array $choices choices values
+ * @param string $active_choice the choice to select by default
+ * @param string $id id of the select element; can be different in case
* the dropdown is present more than once on the page
* @return string
* @todo support titles
@@ -2365,8 +2365,8 @@ function PMA_generate_html_dropdown($select_name, $choices, $active_choice, $id)
* controlling the slider; you have to generate the </div> yourself
* after the sliding section.
*
- * @param string $id the id of the <div> on which to apply the effect
- * @param string $message the message to show as a link
+ * @param string $id the id of the <div> on which to apply the effect
+ * @param string $message the message to show as a link
*/
function PMA_generate_slider_effect($id, $message)
{
@@ -2389,10 +2389,10 @@ function PMA_generate_slider_effect($id, $message)
/**
* Creates an AJAX sliding toggle button (or and equivalent form when AJAX is disabled)
*
- * @param string $action The URL for the request to be executed
- * @param string $select_name The name for the dropdown box
- * @param array $options An array of options (see rte_footer.lib.php)
- * @param string $callback A JS snippet to execute when the request is
+ * @param string $action The URL for the request to be executed
+ * @param string $select_name The name for the dropdown box
+ * @param array $options An array of options (see rte_footer.lib.php)
+ * @param string $callback A JS snippet to execute when the request is
* successfully processed
*
* @return string HTML code for the toggle button
@@ -2543,8 +2543,8 @@ function PMA_cacheUnset($var, $server = 0)
* in MySQL a BIT field can be from 1 to 64 bits so we need this
* function because in PHP, decbin() supports only 32 bits
*
- * @param numeric $value coming from a BIT field
- * @param integer $length
+ * @param numeric $value coming from a BIT field
+ * @param integer $length
* @return string the printable value
*/
function PMA_printable_bit_value($value, $length) {
@@ -2559,7 +2559,7 @@ function PMA_printable_bit_value($value, $length) {
/**
* Verifies whether the value contains a non-printable character
*
- * @param string $value
+ * @param string $value
* @return boolean
*/
function PMA_contains_nonprintable_ascii($value) {
@@ -2570,7 +2570,7 @@ function PMA_contains_nonprintable_ascii($value) {
* Converts a BIT type default value
* for example, b'010' becomes 010
*
- * @param string $bit_default_value
+ * @param string $bit_default_value
* @return string the converted value
*/
function PMA_convert_bit_default_value($bit_default_value) {
@@ -2580,7 +2580,7 @@ function PMA_convert_bit_default_value($bit_default_value) {
/**
* Extracts the various parts from a field type spec
*
- * @param string $fieldspec
+ * @param string $fieldspec
* @return array associative array containing type, spec_in_brackets
* and possibly enum_set_values (another array)
*/
@@ -2656,7 +2656,7 @@ function PMA_extractFieldSpec($fieldspec) {
/**
* Verifies if this table's engine supports foreign keys
*
- * @param string $engine
+ * @param string $engine
* @return boolean
*/
function PMA_foreignkey_supported($engine) {
@@ -2671,7 +2671,7 @@ function PMA_foreignkey_supported($engine) {
/**
* Replaces some characters by a displayable equivalent
*
- * @param string $content
+ * @param string $content
* @return string the content with characters replaced
*/
function PMA_replace_binary_contents($content) {
@@ -2798,9 +2798,9 @@ function PMA_expandUserString($string, $escape = null, $updates = array()) {
* function that generates a json output for an ajax request and ends script
* execution
*
- * @param bool $message message string containing the html of the message
- * @param bool $success success whether the ajax request was successfull
- * @param array $extra_data extra_data optional - any other data as part of the json request
+ * @param bool $message message string containing the html of the message
+ * @param bool $success success whether the ajax request was successfull
+ * @param array $extra_data extra_data optional - any other data as part of the json request
*
*/
function PMA_ajaxResponse($message, $success = true, $extra_data = array())
@@ -2924,8 +2924,8 @@ function PMA_buildActionTitles() {
* $cfg['ColumnTypes'] and either returns an array (useful for quickly checking
* if a datatype is supported) or an HTML snippet that creates a drop-down list.
*
- * @param bool $html Whether to generate an html snippet or an array
- * @param string $selected The value to mark as selected in HTML mode
+ * @param bool $html Whether to generate an html snippet or an array
+ * @param string $selected The value to mark as selected in HTML mode
*
* @return mixed An HTML snippet or an array of datatypes.
*
@@ -3007,9 +3007,9 @@ function PMA_unsupportedDatatypes() {
/**
* Creates a dropdown box with MySQL functions for a particular column.
*
- * @param array $field Data about the column for which
+ * @param array $field Data about the column for which
* to generate the dropdown
- * @param bool $insert_mode Whether the operation is 'insert'
+ * @param bool $insert_mode Whether the operation is 'insert'
*
* @global array $cfg PMA configuration
* @global array $analyzed_sql Analyzed SQL query
@@ -3112,10 +3112,10 @@ function PMA_getFunctionsForField($field, $insert_mode)
* // user has this privilege on database 'mydb'.
*
*
- * @param string $priv The privilege to check
- * @param mixed $db null, to only check global privileges
+ * @param string $priv The privilege to check
+ * @param mixed $db null, to only check global privileges
* string, db name where to also check for privileges
- * @param mixed $tbl null, to only check global privileges
+ * @param mixed $tbl null, to only check global privileges
* string, db name where to also check for privileges
* @return bool
*/
diff --git a/libraries/core.lib.php b/libraries/core.lib.php
index fe533e3..bb542ba 100644
--- a/libraries/core.lib.php
+++ b/libraries/core.lib.php
@@ -30,9 +30,9 @@
* </code>
*
* @see PMA_isValid()
- * @param mixed $var param to check
- * @param mixed $default default value
- * @param mixed $type var type or array of values to check against $var
+ * @param mixed $var param to check
+ * @param mixed $default default value
+ * @param mixed $type var type or array of values to check against $var
* @return mixed $var or $default
*/
function PMA_ifSetOr(&$var, $default = null, $type = 'similar')
@@ -80,9 +80,9 @@ function PMA_ifSetOr(&$var, $default = null, $type = 'similar')
* @todo create some testsuites
* @todo add some more var types like hex, bin, ...?
* @see http://php.net/gettype
- * @param mixed $var variable to check
- * @param mixed $type var type or array of valid values to check against $var
- * @param mixed $compare var to compare with $var
+ * @param mixed $var variable to check
+ * @param mixed $type var type or array of valid values to check against $var
+ * @param mixed $compare var to compare with $var
* @return boolean whether valid or not
*/
function PMA_isValid(&$var, $type = 'length', $compare = null)
@@ -171,7 +171,7 @@ function PMA_isValid(&$var, $type = 'length', $compare = null)
* require() when a part of the path comes from an insecure source
* like a cookie or form.
*
- * @param string The path to check
+ * @param string The path to check
*
* @return string The secured path
*
@@ -192,8 +192,8 @@ function PMA_securePath($path)
* loads language file if not loaded already
*
* @todo use detected argument separator (PMA_Config)
- * @param string $error_message the error message or named error message
- * @param string|array $message_args arguments applied to $error_message
+ * @param string $error_message the error message or named error message
+ * @param string|array $message_args arguments applied to $error_message
* @return exit
*/
function PMA_fatalError($error_message, $message_args = null)
@@ -276,7 +276,7 @@ function PMA_warnMissingExtension($extension, $fatal = false, $extra = '')
/**
* returns count of tables in given db
*
- * @param string $db database to count tables for
+ * @param string $db database to count tables for
* @return integer count of tables in $db
*/
function PMA_getTableCount($db)
@@ -308,7 +308,7 @@ function PMA_getTableCount($db)
* (renamed with PMA prefix to avoid double definition when embedded
* in Moodle)
*
- * @param string $size
+ * @param string $size
* @return integer $size
*/
function PMA_get_real_size($size = 0)
@@ -343,9 +343,9 @@ function PMA_get_real_size($size = 0)
*
* @see http://php.net/array_merge
* @see http://php.net/array_merge_recursive
- * @param array array to merge
- * @param array array to merge
- * @param array ...
+ * @param array array to merge
+ * @param array array to merge
+ * @param array ...
* @return array merged array
*/
function PMA_array_merge_recursive()
@@ -398,8 +398,8 @@ function PMA_array_merge_recursive()
* @see http://www.php-security.org/MOPB/MOPB-02-2007.html
* @see http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-1549
*
- * @param array $array array to walk
- * @param string $function function to call for every array element
+ * @param array $array array to walk
+ * @param string $function function to call for every array element
*/
function PMA_arrayWalkRecursive(&$array, $function, $apply_to_keys_also = false)
{
@@ -431,8 +431,8 @@ function PMA_arrayWalkRecursive(&$array, $function, $apply_to_keys_also = false)
* checks given given $page against given $whitelist and returns true if valid
* it ignores optionaly query paramters in $page (script.php?ignored)
*
- * @param string &$page page to check
- * @param array $whitelist whitelist to check page against
+ * @param string &$page page to check
+ * @param array $whitelist whitelist to check page against
* @return boolean whether $page is valid or not (in $whitelist or not)
*/
function PMA_checkPageValidity(&$page, $whitelist)
@@ -460,7 +460,7 @@ function PMA_checkPageValidity(&$page, $whitelist)
* searchs in $_SERVER, $_ENV than trys getenv() and apache_getenv()
* in this order
*
- * @param string $var_name variable name
+ * @param string $var_name variable name
* @return string value of $var or empty string
*/
function PMA_getenv($var_name) {
@@ -481,7 +481,7 @@ function PMA_getenv($var_name) {
/**
* Send HTTP header, taking IIS limits into account (600 seems ok)
*
- * @param string $uri the header to send
+ * @param string $uri the header to send
* @return boolean always true
*/
function PMA_sendHeaderLocation($uri)
@@ -542,9 +542,9 @@ function PMA_sendHeaderLocation($uri)
* $path is a string describing position of an element in an associative array,
* eg. Servers/1/host refers to $array[Servers][1][host]
*
- * @param string $path
- * @param array $array
- * @param mixed $default
+ * @param string $path
+ * @param array $array
+ * @param mixed $default
* @return mixed array element or $default
*/
function PMA_array_read($path, $array, $default = null)
@@ -563,9 +563,9 @@ function PMA_array_read($path, $array, $default = null)
/**
* Stores value in an array
*
- * @param string $path
- * @param array &$array
- * @param mixed $value
+ * @param string $path
+ * @param array &$array
+ * @param mixed $value
*/
function PMA_array_write($path, &$array, $value)
{
@@ -584,9 +584,9 @@ function PMA_array_write($path, &$array, $value)
/**
* Removes value from an array
*
- * @param string $path
- * @param array &$array
- * @param mixed $value
+ * @param string $path
+ * @param array &$array
+ * @param mixed $value
*/
function PMA_array_remove($path, &$array)
{
diff --git a/libraries/database_interface.lib.php b/libraries/database_interface.lib.php
index e7d08a5..42bd352 100644
--- a/libraries/database_interface.lib.php
+++ b/libraries/database_interface.lib.php
@@ -22,7 +22,7 @@ define('PMA_DBI_GETVAR_GLOBAL', 2);
/**
* Checks one of the mysql extensions
*
- * @param string $extension mysql extension to check
+ * @param string $extension mysql extension to check
*/
function PMA_DBI_checkMysqlExtension($extension = 'mysql') {
if (! function_exists($extension . '_connect')) {
@@ -145,7 +145,7 @@ function PMA_DBI_try_query($query, $link = null, $options = 0, $cache_affected_r
* uses language to charset mapping from mysql/share/errmsg.txt
* and charset names to ISO charset from information_schema.CHARACTER_SETS
*
- * @param string $message
+ * @param string $message
* @return string $message
*/
function PMA_DBI_convert_message($message) {
@@ -218,8 +218,8 @@ function PMA_DBI_convert_message($message) {
/**
* returns array with table names for given db
*
- * @param string $database name of database
- * @param mixed $link mysql link resource|object
+ * @param string $database name of database
+ * @param mixed $link mysql link resource|object
* @return array tables names
*/
function PMA_DBI_get_tables($database, $link = null)
@@ -231,8 +231,8 @@ function PMA_DBI_get_tables($database, $link = null)
/**
* usort comparison callback
*
- * @param string $a first argument to sort
- * @param string $b second argument to sort
+ * @param string $a first argument to sort
+ * @param string $b second argument to sort
*
* @return integer a value representing whether $a should be before $b in the
* sorted array or not
@@ -275,14 +275,14 @@ function PMA_usort_comparison_callback($a, $b)
* </code>
*
* @todo move into PMA_Table
- * @param string $database database
- * @param string|false $table table
- * @param boolean|string $tbl_is_group $table is a table group
- * @param resource $link mysql link
- * @param integer $limit_offset zero-based offset for the count
- * @param boolean|integer $limit_count number of tables to return
- * @param string $sort_by table attribute to sort by
- * @param string $sort_order direction to sort (ASC or DESC)
+ * @param string $database database
+ * @param string|false $table table
+ * @param boolean|string $tbl_is_group $table is a table group
+ * @param resource $link mysql link
+ * @param integer $limit_offset zero-based offset for the count
+ * @param boolean|integer $limit_count number of tables to return
+ * @param string $sort_by table attribute to sort by
+ * @param string $sort_order direction to sort (ASC or DESC)
* @return array list of tables in given db(s)
*/
function PMA_DBI_get_tables_full($database, $table = false, $tbl_is_group = false, $link = null,
@@ -526,13 +526,13 @@ function PMA_DBI_get_tables_full($database, $table = false, $tbl_is_group = fals
* returns array with databases containing extended infos about them
*
* @todo move into PMA_List_Database?
- * @param string $database database
- * @param boolean $force_stats retrieve stats also for MySQL < 5
- * @param resource $link mysql link
- * @param string $sort_by column to order by
- * @param string $sort_order ASC or DESC
- * @param integer $limit_offset starting offset for LIMIT
- * @param bool|int $limit_count row count for LIMIT or true for $GLOBALS['cfg']['MaxDbList']
+ * @param string $database database
+ * @param boolean $force_stats retrieve stats also for MySQL < 5
+ * @param resource $link mysql link
+ * @param string $sort_by column to order by
+ * @param string $sort_order ASC or DESC
+ * @param integer $limit_offset starting offset for LIMIT
+ * @param bool|int $limit_count row count for LIMIT or true for $GLOBALS['cfg']['MaxDbList']
* @return array $databases
*/
function PMA_DBI_get_databases_full($database = null, $force_stats = false,
@@ -698,10 +698,10 @@ function PMA_DBI_get_databases_full($database = null, $force_stats = false,
* returns detailed array with all columns for given table in database,
* or all tables/databases
*
- * @param string $database name of database
- * @param string $table name of table to retrieve columns from
- * @param string $column name of specific column
- * @param mixed $link mysql link resource
+ * @param string $database name of database
+ * @param string $table name of table to retrieve columns from
+ * @param string $column name of specific column
+ * @param mixed $link mysql link resource
* @return array
*/
function PMA_DBI_get_columns_full($database = null, $table = null,
@@ -825,10 +825,10 @@ function PMA_DBI_get_columns_full($database = null, $table = null,
/**
* array PMA_DBI_get_columns(string $database, string $table, bool $full = false, mysql db link $link = null)
*
- * @param string $database name of database
- * @param string $table name of table to retrieve columns from
- * @param boolean $full whether to return full info or only column names
- * @param mixed $link mysql link resource
+ * @param string $database name of database
+ * @param string $table name of table to retrieve columns from
+ * @param boolean $full whether to return full info or only column names
+ * @param mixed $link mysql link resource
* @return array column names
*/
function PMA_DBI_get_columns($database, $table, $full = false, $link = null)
@@ -846,9 +846,9 @@ function PMA_DBI_get_columns($database, $table, $full = false, $link = null)
/**
* returns value of given mysql server variable
*
- * @param string $var mysql server variable name
- * @param int $type PMA_DBI_GETVAR_SESSION|PMA_DBI_GETVAR_GLOBAL
- * @param mixed $link mysql link resource|object
+ * @param string $var mysql server variable name
+ * @param int $type PMA_DBI_GETVAR_SESSION|PMA_DBI_GETVAR_GLOBAL
+ * @param mixed $link mysql link resource|object
* @return mixed value for mysql server variable
*/
@@ -881,8 +881,8 @@ function PMA_DBI_get_variable($var, $type = PMA_DBI_GETVAR_SESSION, $link = null
* Function called just after a connection to the MySQL database server has been established
* It sets the connection collation, and determins the version of MySQL which is running.
*
- * @param mixed $link mysql link resource|object
- * @param boolean $is_controluser
+ * @param mixed $link mysql link resource|object
+ * @param boolean $is_controluser
*/
function PMA_DBI_postConnect($link, $is_controluser = false)
{
@@ -938,13 +938,13 @@ function PMA_DBI_postConnect($link, $is_controluser = false)
* // $user_name = 'John Doe'
* </code>
*
- * @param string|mysql_result $result query or mysql result
- * @param integer $row_number row to fetch the value from,
+ * @param string|mysql_result $result query or mysql result
+ * @param integer $row_number row to fetch the value from,
* starting at 0, with 0 beeing default
- * @param integer|string $field field to fetch the value from,
+ * @param integer|string $field field to fetch the value from,
* starting at 0, with 0 beeing default
- * @param resource $link mysql link
- * @param mixed $options
+ * @param resource $link mysql link
+ * @param mixed $options
* @return mixed value of first field in first row from result
* or false if not found
*/
@@ -993,12 +993,12 @@ function PMA_DBI_fetch_value($result, $row_number = 0, $field = 0, $link = null,
* // $user = array('id' => 123, 'name' => 'John Doe')
* </code>
*
- * @param string|mysql_result $result query or mysql result
- * @param string $type NUM|ASSOC|BOTH
+ * @param string|mysql_result $result query or mysql result
+ * @param string $type NUM|ASSOC|BOTH
* returned array should either numeric
* associativ or booth
- * @param resource $link mysql link
- * @param mixed $options
+ * @param resource $link mysql link
+ * @param mixed $options
* @return array|boolean first row from result
* or false if result is empty
*/
@@ -1072,13 +1072,13 @@ function PMA_DBI_fetch_single_row($result, $type = 'ASSOC', $link = null, $optio
* // $users['admin']['John Doe'] = '123'
* </code>
*
- * @param string|mysql_result $result query or mysql result
- * @param string|integer $key field-name or offset
+ * @param string|mysql_result $result query or mysql result
+ * @param string|integer $key field-name or offset
* used as key for array
- * @param string|integer $value value-name or offset
+ * @param string|integer $value value-name or offset
* used as value for array
- * @param resource $link mysql link
- * @param mixed $options
+ * @param resource $link mysql link
+ * @param mixed $options
* @return array resultrows or values indexed by $key
*/
function PMA_DBI_fetch_result($result, $key = null, $value = null,
@@ -1202,7 +1202,7 @@ function PMA_DBI_getCompatibilities()
/**
* returns warnings for last query
*
- * @param resource $link mysql link resource
+ * @param resource $link mysql link resource
* @return array warnings
*/
function PMA_DBI_get_warnings($link = null)
@@ -1245,9 +1245,9 @@ function PMA_isSuperuser()
/**
* returns an array of PROCEDURE or FUNCTION names for a db
*
- * @param string $db db name
- * @param string $which PROCEDURE | FUNCTION
- * @param resource $link mysql link
+ * @param string $db db name
+ * @param string $which PROCEDURE | FUNCTION
+ * @param resource $link mysql link
*
* @return array the procedure names or function names
*/
@@ -1266,10 +1266,10 @@ function PMA_DBI_get_procedures_or_functions($db, $which, $link = null)
/**
* returns the definition of a specific PROCEDURE, FUNCTION or EVENT
*
- * @param string $db db name
- * @param string $which PROCEDURE | FUNCTION | EVENT
- * @param string $name the procedure|function|event name
- * @param resource $link mysql link
+ * @param string $db db name
+ * @param string $which PROCEDURE | FUNCTION | EVENT
+ * @param string $name the procedure|function|event name
+ * @param resource $link mysql link
*
* @return string the definition
*/
@@ -1287,9 +1287,9 @@ function PMA_DBI_get_definition($db, $which, $name, $link = null)
/**
* returns details about the TRIGGERs for a specific table or database
*
- * @param string $db db name
- * @param string $table table name
- * @param string $delimiter the delimiter to use (may be empty)
+ * @param string $db db name
+ * @param string $table tabl me delimiter to use (may be empty) null) null) $optio ull) abel = true, $class='') { find out why click %shere%s.') ɣ�� �����* �D���* ����* �� �* ɣ�� ��4 �* ���� ��� �����* 6 � �! �! �ȣ�� ɣ�� xt �* ���� "����* ����* �ȣ�� �����* �ȣ�� �ov �* �����* `v �* �dv �* �iv �* �D���* xt �* ���� ��� �����* �! �! �ȣ�� ɣ�� �=���* ���� "����* ����* �ȣ�� �����* �ȣ�� �ȣ�� �ȣ�� ���* �p� ɣ�� �����* �D���* ���� о��� �����* G H I J K M N O P �ȣ�� ɣ�� H����* ����� "����* ����* �ȣ�� 0ov �* �����* � �* �)���* `v �* �dv �* �iv �* �D���* H����* ����� �� �����* 8����* ����� ���� �����* (����* ����� @���� �����* ����* ����� p���� �����* �nv �* �����* �iv �* ��� �x���* �����* �dv �* ���� yx���* �����* `v �* @���� Zx���* �����* �$���* � �* �)���* `v �* �* �dv �* �iv �* �D���* �m���* �£�� ����� �����* # % '