Comments formatting and PHPDoc fixes
This commit is contained in:
@@ -151,8 +151,8 @@ class PMA_Message
|
|||||||
* @uses PMA_Message::SANITIZE_PARAMS
|
* @uses PMA_Message::SANITIZE_PARAMS
|
||||||
* @param string $string
|
* @param string $string
|
||||||
* @param integer $number
|
* @param integer $number
|
||||||
* @param array $$params
|
* @param array $params
|
||||||
* @param boolean $sanitize
|
* @param integer $sanitize
|
||||||
*/
|
*/
|
||||||
public function __construct($string = '', $number = PMA_Message::NOTICE,
|
public function __construct($string = '', $number = PMA_Message::NOTICE,
|
||||||
$params = array(), $sanitize = PMA_Message::SANITIZE_NONE)
|
$params = array(), $sanitize = PMA_Message::SANITIZE_NONE)
|
||||||
@@ -624,8 +624,8 @@ class PMA_Message
|
|||||||
* @static
|
* @static
|
||||||
* @uses is_array()
|
* @uses is_array()
|
||||||
* @uses htmlspecialchars()
|
* @uses htmlspecialchars()
|
||||||
* @uses PMA_Message::sanitize() recursiv
|
* @uses PMA_Message::sanitize() recursive
|
||||||
* @param mixed the message(s)
|
* @param mixed $message the message(s)
|
||||||
* @return mixed the sanitized message(s)
|
* @return mixed the sanitized message(s)
|
||||||
* @access public
|
* @access public
|
||||||
*/
|
*/
|
||||||
@@ -686,7 +686,6 @@ class PMA_Message
|
|||||||
* @uses PMA_Message::$_string
|
* @uses PMA_Message::$_string
|
||||||
* @uses PMA_Message::$_message
|
* @uses PMA_Message::$_message
|
||||||
* @uses md5()
|
* @uses md5()
|
||||||
* @param string $file
|
|
||||||
* @return string PMA_Message::$_hash
|
* @return string PMA_Message::$_hash
|
||||||
*/
|
*/
|
||||||
public function getHash()
|
public function getHash()
|
||||||
|
@@ -709,8 +709,8 @@ function PMA_mysqlDie($error_message = '', $the_query = '',
|
|||||||
* @param string $db name of db
|
* @param string $db name of db
|
||||||
* @param string $tables name of tables
|
* @param string $tables name of tables
|
||||||
* @param integer $limit_offset list offset
|
* @param integer $limit_offset list offset
|
||||||
* @param integer $limit_count max tables to return
|
* @param int|bool $limit_count max tables to return
|
||||||
* return array (recursive) grouped table list
|
* @return array (recursive) grouped table list
|
||||||
*/
|
*/
|
||||||
function PMA_getTableList($db, $tables = null, $limit_offset = 0, $limit_count = false)
|
function PMA_getTableList($db, $tables = null, $limit_offset = 0, $limit_count = false)
|
||||||
{
|
{
|
||||||
|
@@ -945,7 +945,6 @@ function PMA_DBI_get_variable($var, $type = PMA_DBI_GETVAR_SESSION, $link = null
|
|||||||
* @uses $GLOBALS['mysql_charset_map']
|
* @uses $GLOBALS['mysql_charset_map']
|
||||||
* @uses $GLOBALS['charset']
|
* @uses $GLOBALS['charset']
|
||||||
* @uses $GLOBALS['lang']
|
* @uses $GLOBALS['lang']
|
||||||
* @uses $GLOBALS['server']
|
|
||||||
* @uses $GLOBALS['cfg']['Lang']
|
* @uses $GLOBALS['cfg']['Lang']
|
||||||
* @uses defined()
|
* @uses defined()
|
||||||
* @uses explode()
|
* @uses explode()
|
||||||
@@ -989,7 +988,7 @@ function PMA_DBI_postConnect($link, $is_controluser = false)
|
|||||||
define('PMA_DRIZZLE', PMA_MYSQL_MAJOR_VERSION >= 2009);
|
define('PMA_DRIZZLE', PMA_MYSQL_MAJOR_VERSION >= 2009);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Skip charsets for Drizzle */
|
// Skip charsets for Drizzle
|
||||||
if (!PMA_DRIZZLE) {
|
if (!PMA_DRIZZLE) {
|
||||||
if (! empty($GLOBALS['collation_connection'])) {
|
if (! empty($GLOBALS['collation_connection'])) {
|
||||||
PMA_DBI_query("SET CHARACTER SET 'utf8';", $link, PMA_DBI_QUERY_STORE);
|
PMA_DBI_query("SET CHARACTER SET 'utf8';", $link, PMA_DBI_QUERY_STORE);
|
||||||
|
Reference in New Issue
Block a user