The branch, master has been updated via e57f27e50ba565be52ed3d271d6c9076f2ae48fd (commit) from 327b3d14560dd8aa68da071a7661e6c12d4b5c41 (commit)
- Log ----------------------------------------------------------------- commit e57f27e50ba565be52ed3d271d6c9076f2ae48fd Author: Michal Čihař mcihar@suse.cz Date: Mon Jun 27 11:20:20 2011 +0200
Remove @uses tags from docblocks
-----------------------------------------------------------------------
Summary of changes: db_export.php | 4 - db_search.php | 25 ------ import.php | 1 - index.php | 19 ----- libraries/Config.class.php | 44 ----------- libraries/Error.class.php | 55 -------------- libraries/Error_Handler.class.php | 62 --------------- libraries/File.class.php | 70 ----------------- libraries/Index.class.php | 19 ----- libraries/List.class.php | 11 --- libraries/List_Database.class.php | 49 ------------ libraries/Message.class.php | 87 --------------------- libraries/PMA.php | 4 - libraries/Partition.class.php | 2 - libraries/RecentTable.class.php | 7 -- libraries/StorageEngine.class.php | 39 ---------- libraries/Table.class.php | 14 ---- libraries/Theme.class.php | 44 ----------- libraries/Theme_Manager.class.php | 7 -- libraries/auth/cookie.auth.lib.php | 75 ------------------- libraries/blobstreaming.lib.php | 9 -- libraries/bookmark.lib.php | 22 ------ libraries/check_user_privileges.lib.php | 21 ----- libraries/common.lib.php | 121 ------------------------------ libraries/config/ConfigFile.class.php | 8 -- libraries/config/Form.class.php | 5 - libraries/config/FormDisplay.class.php | 40 ---------- libraries/config/FormDisplay.tpl.php | 10 --- libraries/config/validate.lib.php | 11 --- libraries/core.lib.php | 59 --------------- libraries/database_interface.lib.php | 68 ----------------- libraries/db_info.inc.php | 25 ------ libraries/db_routines.lib.php | 61 --------------- libraries/db_structure.lib.php | 5 - libraries/dbi/mysql.dbi.lib.php | 15 ---- libraries/dbi/mysqli.dbi.lib.php | 84 --------------------- libraries/display_tbl.lib.php | 69 ----------------- libraries/engines/innodb.lib.php | 14 ---- libraries/footer.inc.php | 25 ------ libraries/grab_globals.lib.php | 5 - libraries/header.inc.php | 2 - libraries/import.lib.php | 65 ---------------- libraries/js_escape.lib.php | 7 -- libraries/mysql_charsets.lib.php | 8 -- libraries/ob.lib.php | 12 --- libraries/plugin_interface.lib.php | 26 ------- libraries/relation.lib.php | 124 ------------------------------- libraries/relation_cleanup.lib.php | 12 --- libraries/replication_gui.lib.php | 1 - libraries/sanitizing.lib.php | 2 - libraries/select_lang.lib.php | 15 ---- libraries/select_server.lib.php | 6 -- libraries/server_common.inc.php | 6 -- libraries/server_synchronize.lib.php | 49 ------------ libraries/session.inc.php | 4 - libraries/sql_query_form.lib.php | 52 ------------- libraries/string.lib.php | 10 --- libraries/string_type_ctype.lib.php | 7 -- libraries/string_type_native.lib.php | 15 ---- libraries/tbl_replace_fields.inc.php | 9 -- libraries/transformations.lib.php | 29 ------- libraries/url_generating.lib.php | 17 ---- libraries/user_preferences.lib.php | 41 ---------- navigation.php | 55 -------------- pmd_common.php | 47 ------------ querywindow.php | 24 ------ server_binlog.php | 19 ----- tbl_create.php | 26 ------- tbl_replace.php | 27 ------- test/theme.php | 1 - user_password.php | 14 ---- 71 files changed, 0 insertions(+), 2047 deletions(-)
diff --git a/db_export.php b/db_export.php index a24ed18..aab4c51 100644 --- a/db_export.php +++ b/db_export.php @@ -3,10 +3,6 @@ /** * dumps a database * - * @uses libraries/db_common.inc.php - * @uses libraries/db_info.inc.php - * @uses libraries/display_export.lib.php - * @uses $tables from libraries/db_info.inc.php * @package phpMyAdmin */
diff --git a/db_search.php b/db_search.php index 17a28d7..ea50569 100644 --- a/db_search.php +++ b/db_search.php @@ -5,30 +5,6 @@ * * @todo make use of UNION when searching multiple tables * @todo display executed query, optional? - * @uses $cfg['UseDbSearch'] - * @uses $GLOBALS['db'] - * @uses PMA_DBI_get_tables() - * @uses PMA_sqlAddslashes() - * @uses PMA_getSearchSqls() - * @uses PMA_DBI_fetch_value() - * @uses PMA_linkOrButton() - * @uses PMA_generate_common_url() - * @uses PMA_generate_common_hidden_inputs() - * @uses PMA_showMySQLDocu() - * @uses $_REQUEST['search_str'] - * @uses $_REQUEST['submit_search'] - * @uses $_REQUEST['search_option'] - * @uses $_REQUEST['table_select'] - * @uses $_REQUEST['unselectall'] - * @uses $_REQUEST['selectall'] - * @uses $_REQUEST['field_str'] - * @uses is_string() - * @uses htmlspecialchars() - * @uses array_key_exists() - * @uses is_array() - * @uses array_intersect() - * @uses sprintf() - * @uses in_array() * @package phpMyAdmin */
@@ -130,7 +106,6 @@ if (isset($_REQUEST['submit_search'])) { * Builds the SQL search query * * @todo can we make use of fulltextsearch IN BOOLEAN MODE for this? - * @uses PMA_DBI_query * PMA_backquote * PMA_DBI_free_result * PMA_DBI_fetch_assoc diff --git a/import.php b/import.php index fea35c5..6506dc8 100644 --- a/import.php +++ b/import.php @@ -3,7 +3,6 @@ /** * Core script for import, this is just the glue around all other stuff * - * @uses PMA_Bookmark_getList() * @package phpMyAdmin */
diff --git a/index.php b/index.php index 070099b..cb5eb63 100644 --- a/index.php +++ b/index.php @@ -3,26 +3,7 @@ /** * forms frameset * - * @uses $GLOBALS['cfg']['QueryHistoryDB'] - * @uses $GLOBALS['cfg']['Server']['user'] - * @uses $GLOBALS['cfg']['DefaultTabServer'] as src for the mainframe - * @uses $GLOBALS['cfg']['DefaultTabDatabase'] as src for the mainframe - * @uses $GLOBALS['cfg']['NaviWidth'] for navi frame width - * @uses $GLOBALS['collation_connection'] from $_REQUEST (grab_globals.lib.php) * or common.inc.php - * @uses $GLOBALS['available_languages'] from common.inc.php (select_lang.lib.php) - * @uses $GLOBALS['db'] - * @uses $GLOBALS['lang'] - * @uses $GLOBALS['text_dir'] - * @uses $_ENV['HTTP_HOST'] - * @uses PMA_getRelationsParam() - * @uses PMA_purgeHistory() - * @uses PMA_generate_common_url() - * @uses PMA_VERSION - * @uses session_write_close() - * @uses time() - * @uses PMA_getenv() - * @uses header() to send charset * @package phpMyAdmin */
diff --git a/libraries/Config.class.php b/libraries/Config.class.php index f71a4e9..9c7ab48 100644 --- a/libraries/Config.class.php +++ b/libraries/Config.class.php @@ -305,10 +305,6 @@ class PMA_Config /** * loads default values from default source * - * @uses file_exists() - * @uses $this->default_source - * @uses $this->error_config_default_file - * @uses $this->settings * @return boolean success */ function loadDefaults() @@ -418,16 +414,6 @@ class PMA_Config * Loads user preferences and merges them with current config * must be called after control connection has been estabilished * - * @uses $GLOBALS['cfg'] - * @uses $GLOBALS['collation_connection'] - * @uses $GLOBALS['lang'] - * @uses $_SESSION['cache']['server_$server']['config_mtime'] - * @uses $_SESSION['cache']['server_$server']['userprefs'] - * @uses $_SESSION['cache']['server_$server']['userprefs_mtime'] - * @uses $_SESSION['PMA_Theme_Manager'] - * @uses PMA_apply_userprefs() - * @uses PMA_array_merge_recursive() - * @uses PMA_load_userprefs() * @return boolean */ function loadUserPreferences() @@ -530,10 +516,6 @@ class PMA_Config * If user preferences are not yet initialized, option is applied to global config and * added to a update queue, which is processed by {@link loadUserPreferences()} * - * @uses $GLOBALS['cfg'] - * @uses PMA_array_read() - * @uses PMA_array_write() - * @uses PMA_persist_option() * @param string $cookie_name can be null * @param string $cfg_path * @param mixed $new_cfg_value @@ -672,7 +654,6 @@ class PMA_Config /** * sets configuration variable * - * @uses $this->settings * @param string $setting configuration option * @param string $value new value for configuration option */ @@ -890,14 +871,6 @@ class PMA_Config /** * checks for font size configuration, and sets font size as requested by user * - * @uses $_GET - * @uses $_POST - * @uses $_COOKIE - * @uses preg_match() - * @uses function_exists() - * @uses PMA_Config::set() - * @uses PMA_Config::get() - * @uses PMA_Config::setCookie() */ function checkFontsize() { @@ -1105,8 +1078,6 @@ class PMA_Config /** * returns options for font size selection * - * @uses preg_replace() - * @uses ksort() * @static * @param string $current_size current selected font size with unit * @return array selectable font sizes @@ -1167,9 +1138,6 @@ class PMA_Config /** * returns html selectbox for font sizes * - * @uses $GLOBALS['PMA_Config'] - * @uses PMA_Config::get() - * @uses PMA_Config::_getFontsizeOptions() * @static * @param string $current_size currently slected font size with unit * @return string html selectbox @@ -1204,8 +1172,6 @@ class PMA_Config /** * return complete font size selection form * - * @uses PMA_generate_common_hidden_inputs() - * @uses PMA_Config::_getFontsizeSelection() * @static * @param string $current_size currently slected font size with unit * @return string html selectbox @@ -1225,10 +1191,6 @@ class PMA_Config /** * removes cookie * - * @uses PMA_Config::isHttps() - * @uses PMA_Config::getCookiePath() - * @uses setcookie() - * @uses time() * @param string $cookie name of cookie to remove * @return boolean result of setcookie() */ @@ -1242,12 +1204,6 @@ class PMA_Config * sets cookie if value is different from current cokkie value, * or removes if value is equal to default * - * @uses PMA_Config::isHttps() - * @uses PMA_Config::getCookiePath() - * @uses $_COOKIE - * @uses PMA_Config::removeCookie() - * @uses setcookie() - * @uses time() * @param string $cookie name of cookie to remove * @param mixed $value new cookie value * @param string $default default value diff --git a/libraries/Error.class.php b/libraries/Error.class.php index 2cfd5fe..e5d105c 100644 --- a/libraries/Error.class.php +++ b/libraries/Error.class.php @@ -93,12 +93,6 @@ class PMA_Error extends PMA_Message /** * Constructor * - * @uses debug_backtrace() - * @uses PMA_Error::setNumber() - * @uses PMA_Error::setMessage() - * @uses PMA_Error::setFile() - * @uses PMA_Error::setLine() - * @uses PMA_Error::setBacktrace() * @param integer $errno * @param string $errstr * @param string $errfile @@ -122,7 +116,6 @@ class PMA_Error extends PMA_Message /** * sets PMA_Error::$_backtrace * - * @uses PMA_Error::$_backtrace to set it * @param array $backtrace */ public function setBacktrace($backtrace) @@ -133,7 +126,6 @@ class PMA_Error extends PMA_Message /** * sets PMA_Error::$_line * - * @uses PMA_Error::$_line to set it * @param integer $line */ public function setLine($line) @@ -144,8 +136,6 @@ class PMA_Error extends PMA_Message /** * sets PMA_Error::$_file * - * @uses PMA_Error::$_file to set it - * @uses PMA_Error::relPath() * @param string $file */ public function setFile($file) @@ -157,13 +147,6 @@ class PMA_Error extends PMA_Message /** * returns unique PMA_Error::$_hash, if not exists it will be created * - * @uses PMA_Error::$_hash as return value and to set it if required - * @uses PMA_Error::getNumber() - * @uses PMA_Error::getMessage() - * @uses PMA_Error::getFile() - * @uses PMA_Error::getLine() - * @uses PMA_Error::getBacktrace() - * @uses md5() * @param string $file * @return string PMA_Error::$_hash */ @@ -185,7 +168,6 @@ class PMA_Error extends PMA_Message /** * returns PMA_Error::$_backtrace * - * @uses PMA_Error::$_backtrace as return value * @return array PMA_Error::$_backtrace */ public function getBacktrace() @@ -196,7 +178,6 @@ class PMA_Error extends PMA_Message /** * returns PMA_Error::$_file * - * @uses PMA_Error::$_file as return value * @return string PMA_Error::$_file */ public function getFile() @@ -207,7 +188,6 @@ class PMA_Error extends PMA_Message /** * returns PMA_Error::$_line * - * @uses PMA_Error::$_line as return value * @return integer PMA_Error::$_line */ public function getLine() @@ -218,8 +198,6 @@ class PMA_Error extends PMA_Message /** * returns type of error * - * @uses PMA_Error::$errortype - * @uses PMA_Error::getNumber() * @return string type of error */ public function getType() @@ -230,8 +208,6 @@ class PMA_Error extends PMA_Message /** * returns level of error * - * @uses PMA_Error::$$errorlevel - * @uses PMA_Error::getNumber() * @return string level of error */ public function getLevel() @@ -242,9 +218,6 @@ class PMA_Error extends PMA_Message /** * returns title prepared for HTML Title-Tag * - * @uses PMA_Error::getTitle() - * @uses htmlspecialchars() - * @uses substr() * @return string HTML escaped and truncated title */ public function getHtmlTitle() @@ -255,8 +228,6 @@ class PMA_Error extends PMA_Message /** * returns title for error * - * @uses PMA_Error::getType() - * @uses PMA_Error::getMessage() * @return string */ public function getTitle() @@ -267,10 +238,6 @@ class PMA_Error extends PMA_Message /** * Display HTML backtrace * - * @uses PMA_Error::getBacktrace() - * @uses PMA_Error::relPath() - * @uses PMA_Error::displayArg() - * @uses count() */ public function displayBacktrace() { @@ -300,9 +267,6 @@ class PMA_Error extends PMA_Message * Display a single function argument * if $function is one of include/require the $arg is converted te relative path * - * @uses PMA_Error::relPath() - * @uses in_array() - * @uses gettype() * @param string $arg * @param string $function */ @@ -327,11 +291,6 @@ class PMA_Error extends PMA_Message /** * Displays the error in HTML * - * @uses PMA_Error::getLevel() - * @uses PMA_Error::getType() - * @uses PMA_Error::getMessage() - * @uses PMA_Error::displayBacktrace() - * @uses PMA_Error::isDisplayed() */ public function display() { @@ -356,10 +315,6 @@ class PMA_Error extends PMA_Message /** * whether this error is a user error * - * @uses E_USER_WARNING - * @uses E_USER_ERROR - * @uses E_USER_NOTICE - * @uses PMA_Error::getNumber() * @return boolean */ public function isUserError() @@ -374,16 +329,6 @@ class PMA_Error extends PMA_Message * and make users feel save to submit error reports * * @static - * @uses PHP_OS() - * @uses __FILE__() - * @uses realpath() - * @uses substr() - * @uses explode() - * @uses dirname() - * @uses implode() - * @uses count() - * @uses array_pop() - * @uses str_replace() * @param string $dest path to be shorten * @return string shortened path */ diff --git a/libraries/Error_Handler.class.php b/libraries/Error_Handler.class.php index 0b90898..f65dc4b 100644 --- a/libraries/Error_Handler.class.php +++ b/libraries/Error_Handler.class.php @@ -28,7 +28,6 @@ class PMA_Error_Handler /** * Constructor - set PHP error handler * - * @uses set_error_handler() */ public function __construct() { @@ -40,10 +39,6 @@ class PMA_Error_Handler * * stores errors in session * - * @uses $_SESSION['errors'] - * @uses array_merge() - * @uses PMA_Error_Handler::$_errors - * @uses PMA_Error::isDisplayed() */ public function __destruct() { @@ -69,8 +64,6 @@ class PMA_Error_Handler /** * returns array with all errors * - * @uses PMA_Error_Handler::$_errors as return value - * @uses PMA_Error_Handler::_checkSavedErrors() * @return array PMA_Error_Handler::$_errors */ protected function getErrors() @@ -90,24 +83,6 @@ class PMA_Error_Handler * Do not use the context parameter as we want to avoid storing the * complete $GLOBALS inside $_SESSION['errors'] * - * @uses E_USER_NOTICE - * @uses E_USER_WARNING - * @uses E_STRICT - * @uses E_NOTICE - * @uses E_WARNING - * @uses E_CORE_WARNING - * @uses E_COMPILE_WARNING - * @uses E_USER_ERROR - * @uses E_ERROR - * @uses E_PARSE - * @uses E_CORE_ERROR - * @uses E_COMPILE_ERROR - * @uses E_RECOVERABLE_ERROR - * @uses PMA_Error - * @uses PMA_Error_Handler::$_errors - * @uses PMA_Error_Handler::_dispFatalError() - * @uses PMA_Error::getHash() - * @uses PMA_Error::getNumber() * @param integer $errno * @param string $errstr * @param string $errfile @@ -151,8 +126,6 @@ class PMA_Error_Handler * log error to configured log facility * * @todo finish! - * @uses PMA_Error::getMessage() - * @uses error_log() * @param PMA_Error $error */ protected function _logError($error) @@ -163,7 +136,6 @@ class PMA_Error_Handler /** * trigger a custom error * - * @uses trigger_error() * @param string $errorInfo * @param integer $errorNumber * @param string $file @@ -178,10 +150,6 @@ class PMA_Error_Handler /** * display fatal error and exit * - * @uses headers_sent() - * @uses PMA_Error::display() - * @uses PMA_Error_Handler::_dispPageStart() - * @uses PMA_Error_Handler::_dispPageEnd() * @param PMA_Error $error */ protected function _dispFatalError($error) @@ -197,10 +165,6 @@ class PMA_Error_Handler /** * display the whole error page with all errors * - * @uses headers_sent() - * @uses PMA_Error_Handler::dispAllErrors() - * @uses PMA_Error_Handler::_dispPageStart() - * @uses PMA_Error_Handler::_dispPageEnd() */ public function dispErrorPage() { @@ -214,10 +178,6 @@ class PMA_Error_Handler /** * display user errors not displayed * - * @uses PMA_Error_Handler::getErrors() - * @uses PMA_Error::isDisplayed() - * @uses PMA_Error::isUserError() - * @uses PMA_Error::display() */ public function dispUserErrors() { @@ -231,7 +191,6 @@ class PMA_Error_Handler /** * display HTML header * - * @uses PMA_Error::getTitle() * @param PMA_error $error */ protected function _dispPageStart($error = null) @@ -257,8 +216,6 @@ class PMA_Error_Handler /** * display all errors regardless already displayed or user errors * - * @uses PMA_Error_Handler::getErrors() - * @uses PMA_Error::display() */ public function dispAllErrors() { @@ -270,11 +227,6 @@ class PMA_Error_Handler /** * display errors not displayed * - * @uses $cfg['Error_Handler']['display'] - * @uses PMA_Error_Handler::getErrors() - * @uses PMA_Error_Handler::dispUserErrors() - * @uses PMA_Error::isDisplayed() - * @uses PMA_Error::display() */ public function dispErrors() { @@ -296,9 +248,6 @@ class PMA_Error_Handler /** * look in session for saved errors * - * @uses $_SESSION['errors'] - * @uses PMA_Error_Handler::$_errors - * @uses array_merge() */ protected function _checkSavedErrors() { @@ -321,8 +270,6 @@ class PMA_Error_Handler /** * return count of errors * - * @uses PMA_Error_Handler::getErrors() - * @uses count() * @return integer number of errors occoured */ public function countErrors() @@ -333,9 +280,6 @@ class PMA_Error_Handler /** * return count of user errors * - * @uses PMA_Error_Handler::countErrors() - * @uses PMA_Error_Handler::getErrors() - * @uses PMA_Error::isUserError() * @return integer number of user errors occoured */ public function countUserErrors() @@ -355,7 +299,6 @@ class PMA_Error_Handler /** * whether use errors occured or not * - * @uses PMA_Error_Handler::countUserErrors() * @return boolean */ public function hasUserErrors() @@ -366,7 +309,6 @@ class PMA_Error_Handler /** * whether errors occured or not * - * @uses PMA_Error_Handler::countErrors() * @return boolean */ public function hasErrors() @@ -377,9 +319,6 @@ class PMA_Error_Handler /** * number of errors to be displayed * - * @uses $cfg['Error_Handler']['display'] - * @uses PMA_Error_Handler::countErrors() - * @uses PMA_Error_Handler::countUserErrors() * @return integer number of errors to be displayed */ public function countDisplayErrors() @@ -394,7 +333,6 @@ class PMA_Error_Handler /** * whether there are errors to display or not * - * @uses PMA_Error_Handler::countDisplayErrors() * @return boolean */ public function hasDisplayErrors() diff --git a/libraries/File.class.php b/libraries/File.class.php index 2a33bf3..c2d5dad 100644 --- a/libraries/File.class.php +++ b/libraries/File.class.php @@ -79,7 +79,6 @@ class PMA_File * constructor * * @access public - * @uses PMA_File::setName() * @param string $name file name */ function __construct($name = false) @@ -94,7 +93,6 @@ class PMA_File * * @see PMA_File::cleanUp() * @access public - * @uses PMA_File::cleanUp() */ function __destruct() { @@ -105,8 +103,6 @@ class PMA_File * deletes file if it is temporary, usally from a moved upload file * * @access public - * @uses PMA_File::delet() - * @uses PMA_File::isTemp() * @return boolean success */ function cleanUp() @@ -122,8 +118,6 @@ class PMA_File * deletes the file * * @access public - * @uses PMA_File::getName() - * @uses unlink() * @return boolean success */ function delete() @@ -136,7 +130,6 @@ class PMA_File * file objects with temp flags are deleted with object destruction * * @access public - * @uses PMA_File::$_is_temp to set and read it * @param boolean sets the temp flag * @return boolean PMA_File::$_is_temp */ @@ -153,7 +146,6 @@ class PMA_File * accessor * * @access public - * @uses PMA_File::$_name * @param string $name file name */ function setName($name) @@ -163,17 +155,6 @@ class PMA_File
/** * @access public - * @uses PMA_File::getName() - * @uses PMA_File::isUploaded() - * @uses PMA_File::checkUploadedFile() - * @uses PMA_File::isReadable() - * @uses PMA_File::$_content - * @uses function_exists() - * @uses file_get_contents() - * @uses filesize() - * @uses fread() - * @uses fopen() - * @uses bin2hex() * @return string binary file content */ function getContent($as_binary = true, $offset = 0, $length = null) @@ -209,8 +190,6 @@ class PMA_File
/** * @access public - * @uses PMA_File::getName() - * @uses is_uploaded_file() */ function isUploaded() { @@ -221,7 +200,6 @@ class PMA_File * accessor * * @access public - * @uses PMA_File::$name as return value * @return string PMA_File::$_name */ function getName() @@ -232,9 +210,6 @@ class PMA_File /** * @todo replace error message with localized string * @access public - * @uses PMA_File::isUploaded() - * @uses PMA_File::setName() - * @uses PMA_File::$_error_message * @param string name of file uploaded * @return boolean success */ @@ -253,12 +228,6 @@ class PMA_File
/** * @access public - * @uses PMA_File::fetchUploadedFromTblChangeRequestMultiple() - * @uses PMA_File::setUploadedFile() - * @uses PMA_File::setRecentBLOBReference() - * @uses curl_setopt_array() - * @uses PMA_File::$_error_message - * @uses $_FILES * @param string $key the md5 hash of the column name * @param string $rownumber * @return boolean success @@ -375,9 +344,6 @@ class PMA_File * sets the name if the file to the one selected in the tbl_change form * * @access public - * @uses $_REQUEST - * @uses PMA_File::setLocalSelectedFile() - * @uses is_string() * @param string $key the md5 hash of the column name * @param string $rownumber * @return boolean success @@ -437,7 +403,6 @@ class PMA_File
/** * @access public - * @uses PMA_File->$_error_message as return value * @return string error message */ function getError() @@ -447,7 +412,6 @@ class PMA_File
/** * @access public - * @uses PMA_File->$_error_message to check it * @return boolean whether an error occured or not */ function isError() @@ -460,8 +424,6 @@ class PMA_File * and uses the submitted/selected file * * @access public - * @uses PMA_File::setUploadedFromTblChangeRequest() - * @uses PMA_File::setSelectedFromTblChangeRequest() * @param string $key the md5 hash of the column name * @param string $rownumber * @return boolean success @@ -485,10 +447,6 @@ class PMA_File /** * * @access public - * @uses PMA_File::setName() - * @uses PMA_securePath() - * @uses PMA_userDir() - * @uses $GLOBALS['cfg']['UploadDir'] * @param string $name * @return boolean success */ @@ -508,10 +466,6 @@ class PMA_File
/** * @access public - * @uses PMA_File::getName() - * @uses is_readable() - * @uses ob_start() - * @uses ob_end_clean() * @return boolean whether the file is readable or not */ function isReadable() @@ -532,20 +486,6 @@ class PMA_File * @todo replace error message with localized string * @todo move check of $cfg['TempDir'] into PMA_Config? * @access public - * @uses $cfg['TempDir'] - * @uses PMA_File::isReadable() - * @uses PMA_File::getName() - * @uses PMA_File::setName() - * @uses PMA_File::isTemp() - * @uses PMA_File::$_error_message - * @uses is_dir() - * @uses mkdir() - * @uses chmod() - * @uses is_writable() - * @uses basename() - * @uses move_uploaded_file() - * @uses ob_start() - * @uses ob_end_clean() * @return boolean whether uploaded fiel is fine or not */ function checkUploadedFile() @@ -588,14 +528,6 @@ class PMA_File * * @todo move file read part into readChunk() or getChunk() * @todo add support for compression plugins - * @uses PMA_File::$_compression to set it - * @uses PMA_File::getName() - * @uses fopen() - * @uses fread() - * @uses strlen() - * @uses fclose() - * @uses chr() - * @uses substr() * @access protected * @return string MIME type of compression, none for none */ @@ -729,8 +661,6 @@ class PMA_File }
/** - * @uses PMA_File::$_compression as return value - * @uses PMA_File::detectCompression() * @return string MIME type of compression, none for none * @access public */ diff --git a/libraries/Index.class.php b/libraries/Index.class.php index fb5cafe..9992e1c 100644 --- a/libraries/Index.class.php +++ b/libraries/Index.class.php @@ -86,7 +86,6 @@ class PMA_Index /** * Constructor * - * @uses $this->set() * @param array $params */ public function __construct($params = array()) @@ -112,8 +111,6 @@ class PMA_Index /** * returns an array with all indexes from the given table * - * @uses PMA_Index::_loadIndexes() - * @uses PMA_Index::$_registry * @param string $table * @param string $schema * @return array @@ -132,8 +129,6 @@ class PMA_Index /** * return primary if set, false otherwise * - * @uses PMA_Index::_loadIndexes() - * @uses PMA_Index::$_registry * @param string $table * @param string $schema * @return mixed primary index or false if no one exists @@ -152,11 +147,6 @@ class PMA_Index /** * Load index data for table * - * @uses PMA_Index::$_registry - * @uses PMA_DBI_fetch_result() - * @uses PMA_backquote() - * @uses PMA_Index - * @uses PMA_Index->addColumn() * @param string $table * @param string $schema * @return boolean @@ -186,8 +176,6 @@ class PMA_Index /** * Add column to index * - * @uses $this->_columns - * @uses PMA_Index_Column * @param array $params column params */ public function addColumn($params) @@ -227,7 +215,6 @@ class PMA_Index /** * Returns true if $column indexed in this index * - * @uses $this->_columns * @param string $column * @return boolean */ @@ -546,12 +533,6 @@ class PMA_Index /** * Function to check over array of indexes and look for common problems * - * @uses is_string() - * @uses is_array() - * @uses count() - * @uses array_pop() - * @uses reset() - * @uses current() * @access public * @param string name of table * @return string Output HTML diff --git a/libraries/List.class.php b/libraries/List.class.php index 65ac7fc..83a42c1 100644 --- a/libraries/List.class.php +++ b/libraries/List.class.php @@ -27,9 +27,6 @@ abstract class PMA_List extends ArrayObject /** * returns item only if there is only one in the list * - * @uses count() - * @uses reset() - * @uses PMA_List::getEmpty() to return it * @return single item */ public function getSingleItem() @@ -44,7 +41,6 @@ abstract class PMA_List extends ArrayObject /** * defines what is an empty item (0, '', false or null) * - * @uses PMA_List::$item_empty as return value * @return mixed an empty item */ public function getEmpty() @@ -56,9 +52,6 @@ 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 * - * @uses PMA_List::$items to check for existence of specific item - * @uses func_get_args() - * @uses in_array() to check if given arguments exists in PMA_List::$items * @param string $db_name,.. one or more mysql result resources * @return boolean true if all items exists, otheriwse false */ @@ -77,9 +70,6 @@ abstract class PMA_List extends ArrayObject /** * returns HTML <option>-tags to be used inside <select></select> * - * @uses PMA_List::$items to build up the option items - * @uses PMA_List::getDefault() to mark this as selected if requested - * @uses htmlspecialchars() to escape items * @param mixed $selected the selected db or true for selecting current db * @param boolean $include_information_schema * @return string HTML option tags @@ -108,7 +98,6 @@ abstract class PMA_List extends ArrayObject /** * returns default item * - * @uses PMA_List::getEmpty() as fallback * @return string default item */ public function getDefault() diff --git a/libraries/List_Database.class.php b/libraries/List_Database.class.php index 2663673..2349852 100644 --- a/libraries/List_Database.class.php +++ b/libraries/List_Database.class.php @@ -56,10 +56,6 @@ require_once './libraries/List.class.php'; /** * Constructor * - * @uses PMA_List_Database::$_db_link - * @uses PMA_List_Database::$_db_link_user - * @uses PMA_List_Database::$_db_link_control - * @uses PMA_List_Database::build() * @param mixed $db_link_user user database link resource|object * @param mixed $db_link_control control database link resource|object */ @@ -77,9 +73,6 @@ require_once './libraries/List.class.php'; * checks if the configuration wants to hide some databases * * @todo temporaly use this docblock to test how to doc $GLOBALS - * @uses PMA_List_Database::$items - * @uses preg_match() - * @uses $cfg['Server']['hide_db'] */ protected function _checkHideDatabase() { @@ -98,16 +91,6 @@ require_once './libraries/List.class.php'; * retrieves database list from server * * @todo we could also search mysql tables if all fail? - * @uses PMA_List_Database::$_show_databases_disabled for not retrying if SHOW DATABASES is disabled - * @uses PMA_List_Database::$_db_link - * @uses PMA_List_Database::$_db_link_control in case of SHOW DATABASES is disabled for userlink - * @uses PMA_DBI_fetch_result() - * @uses PMA_DBI_getError() - * @uses natsort() - * @uses sort() - * @uses $cfg['NaturalOrder'] - * @uses $GLOBALS['error_showdatabases'] - * @uses $GLOBALS['errno'] * @param string $like_db_name usally a db_name containing wildcards */ protected function _retrieve($like_db_name = null) @@ -160,11 +143,6 @@ require_once './libraries/List.class.php'; /** * builds up the list * - * @uses PMA_List_Database::$items to initialize it - * @uses PMA_List_Database::_checkOnlyDatabase() - * @uses PMA_List_Database::_retrieve() - * @uses PMA_List_Database::_checkHideDatabase() - * @uses exchangeArray() */ public function build() { @@ -179,17 +157,6 @@ require_once './libraries/List.class.php'; /** * checks the only_db configuration * - * @uses PMA_List_Database::$_show_databases_disabled - * @uses PMA_List_Database::$items - * @uses PMA_List_Database::_retrieve() - * @uses PMA_unescape_mysql_wildcards() - * @uses preg_match() - * @uses array_diff() - * @uses array_merge() - * @uses is_array() - * @uses strlen() - * @uses is_string() - * @uses $cfg['Server']['only_db'] * @return boolean false if there is no only_db, otherwise true */ protected function _checkOnlyDatabase() @@ -240,9 +207,6 @@ require_once './libraries/List.class.php'; /** * returns default item * - * @uses PMA_List::getEmpty() - * @uses $GLOBALS['db'] - * @uses strlen() * @return string default item */ public function getDefault() @@ -257,18 +221,6 @@ require_once './libraries/List.class.php'; /** * returns array with dbs grouped with extended infos * - * @uses $GLOBALS['PMA_List_Database'] - * @uses $GLOBALS['cfgRelation']['commwork'] - * @uses $cfg['ShowTooltip'] - * @uses $cfg['LeftFrameDBTree'] - * @uses $cfg['LeftFrameDBSeparator'] - * @uses $cfg['ShowTooltipAliasDB'] - * @uses PMA_getTableCount() - * @uses PMA_getDbComment() - * @uses is_array() - * @uses implode() - * @uses strstr() - * @uses explode() * @param integer $offset * @param integer $count * @return array db list @@ -347,7 +299,6 @@ require_once './libraries/List.class.php'; /** * returns a part of the items * - * @uses array_slice() * @param integer $offset * @param integer $count * @return array some items diff --git a/libraries/Message.class.php b/libraries/Message.class.php index 3b0d0c5..d5e7d07 100644 --- a/libraries/Message.class.php +++ b/libraries/Message.class.php @@ -137,13 +137,6 @@ class PMA_Message /** * Constructor * - * @uses PMA_Message::setNumber() - * @uses PMA_Message::setString() - * @uses PMA_Message::setParams() - * @uses PMA_Message::NOTICE - * @uses PMA_Message::SANITIZE_NONE - * @uses PMA_Message::SANITIZE_STRING - * @uses PMA_Message::SANITIZE_PARAMS * @param string $string * @param integer $number * @param array $params @@ -160,7 +153,6 @@ class PMA_Message /** * magic method: return string representation for this object * - * @uses PMA_Message::getMessage() * @return string */ public function __toString() @@ -174,8 +166,6 @@ class PMA_Message * shorthand for getting a simple success message * * @static - * @uses PMA_Message as returned object - * @uses PMA_Message::SUCCESS * @param string $string a localized string e.g. __('Your SQL query has been executed successfully') * @return PMA_Message */ @@ -194,8 +184,6 @@ class PMA_Message * shorthand for getting a simple error message * * @static - * @uses PMA_Message as returned object - * @uses PMA_Message::ERROR * @param string $string a localized string e.g. __('Error') * @return PMA_Message */ @@ -214,8 +202,6 @@ class PMA_Message * shorthand for getting a simple notice message * * @static - * @uses PMA_Message as returned object - * @uses PMA_Message::NOTICE * @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 */ @@ -230,8 +216,6 @@ class PMA_Message * shorthand for getting a customized message * * @static - * @uses PMA_Message as returned object - * @uses PMA_Message::setMessage() * @param string $message * @param integer $type * @return PMA_Message @@ -249,9 +233,6 @@ class PMA_Message * shorthand for getting a customized message * * @static - * @uses PMA_Message as returned object - * @uses PMA_Message::success() - * @uses PMA_Message::addParam() * @param integer $rows Number of rows * @return PMA_Message */ @@ -268,9 +249,6 @@ class PMA_Message * shorthand for getting a customized message * * @static - * @uses PMA_Message as returned object - * @uses PMA_Message::success() - * @uses PMA_Message::addParam() * @param integer $rows Number of rows * @return PMA_Message */ @@ -287,9 +265,6 @@ class PMA_Message * shorthand for getting a customized message * * @static - * @uses PMA_Message as returned object - * @uses PMA_Message::success() - * @uses PMA_Message::addParam() * @param integer $rows Number of rows * @return PMA_Message */ @@ -306,8 +281,6 @@ class PMA_Message * shorthand for getting a customized error message * * @static - * @uses PMA_Message::raw() - * @uses PMA_Message::ERROR * @param string $message * @return PMA_Message */ @@ -322,8 +295,6 @@ class PMA_Message * shorthand for getting a customized notice message * * @static - * @uses PMA_Message::raw() - * @uses PMA_Message::NOTICE * @param string $message * @return PMA_Message */ @@ -338,8 +309,6 @@ class PMA_Message * shorthand for getting a customized success message * * @static - * @uses PMA_Message::raw() - * @uses PMA_Message::SUCCESS * @param string $message * @return PMA_Message */ @@ -352,9 +321,6 @@ class PMA_Message * returns whether this message is a success message or not * and optionaly makes this message a success message * - * @uses PMA_Message::SUCCESS - * @uses PMA_Message::setNumber() - * @uses PMA_Message::getNumber() * @param boolean $set * @return boolean whether this is a success message or not */ @@ -371,9 +337,6 @@ class PMA_Message * returns whether this message is a notice message or not * and optionally makes this message a notice message * - * @uses PMA_Message::NOTICE - * @uses PMA_Message::setNumber() - * @uses PMA_Message::getNumber() * @param boolean $set * @return boolean whether this is a notice message or not */ @@ -390,9 +353,6 @@ class PMA_Message * returns whether this message is an error message or not * and optionally makes this message an error message * - * @uses PMA_Message::ERROR - * @uses PMA_Message::setNumber() - * @uses PMA_Message::getNumber() * @param boolean $set * @return boolean whether this is an error message or not */ @@ -408,8 +368,6 @@ class PMA_Message /** * set raw message (overrides string) * - * @uses PMA_Message::$_message to set it - * @uses PMA_Message::sanitize() * @param string $message * @param boolean $sanitize whether to sanitize $message or not */ @@ -424,8 +382,6 @@ class PMA_Message /** * set string (does not take effect if raw message is set) * - * @uses PMA_Message::$_string to set it - * @uses PMA_Message::sanitize() * @param string $_string * @param boolean $sanitize whether to sanitize $string or not */ @@ -440,7 +396,6 @@ class PMA_Message /** * set message type number * - * @uses PMA_Message::$_number to set it * @param integer $number */ public function setNumber($number) @@ -458,9 +413,6 @@ class PMA_Message * $message->addParam('<img src="img" />', false); * </code> * - * @uses htmlspecialchars() - * @uses PMA_Message::$_params to fill - * @uses PMA_Message::notice() * @param mixed $param * @param boolean $raw */ @@ -478,8 +430,6 @@ class PMA_Message /** * add another string to be concatenated on displaying * - * @uses PMA_Message::$_added_messages to fill - * @uses PMA_Message::notice() * @param string $string to be added * @param string $separator to use between this and previous string/message */ @@ -492,7 +442,6 @@ class PMA_Message /** * add a bunch of messages at once * - * @uses PMA_Message::addMessage() * @param array $messages to be added * @param string $separator to use between this and previous string/message */ @@ -506,8 +455,6 @@ class PMA_Message /** * add another raw message to be concatenated on displaying * - * @uses PMA_Message::$_added_messages to fill - * @uses PMA_Message::rawNotice() * @param mixed $message to be added * @param string $separator to use between this and previous string/message */ @@ -527,8 +474,6 @@ class PMA_Message /** * set all params at once, usually used in conjunction with string * - * @uses PMA_Message::sanitize() - * @uses PMA_Message::$_params to set * @param array $params * @param boolean $sanitize */ @@ -543,7 +488,6 @@ class PMA_Message /** * return all parameters * - * @uses PMA_Message::$_params as return value * @return array */ public function getParams() @@ -554,7 +498,6 @@ class PMA_Message /** * return all added messages * - * @uses PMA_Message::$_added_messages as return value * @return array */ public function getAddedMessages() @@ -566,9 +509,6 @@ class PMA_Message * Sanitizes $message * * @static - * @uses is_array() - * @uses htmlspecialchars() - * @uses PMA_Message::sanitize() recursive * @param mixed $message the message(s) * @return mixed the sanitized message(s) * @access public @@ -591,7 +531,6 @@ class PMA_Message * for formatting * * @static - * @uses PMA_sanitize * @param string $message the message * @return string the decoded message * @access public @@ -604,11 +543,6 @@ class PMA_Message /** * wrapper for sprintf() * - * @uses sprintf() - * @uses func_get_args() - * @uses is_array() - * @uses array_unshift() - * @uses call_user_func_array() * @return string formatted */ static public function format() @@ -625,11 +559,6 @@ class PMA_Message /** * returns unique PMA_Message::$_hash, if not exists it will be created * - * @uses PMA_Message::$_hash as return value and to set it if required - * @uses PMA_Message::getNumber() - * @uses PMA_Message::$_string - * @uses PMA_Message::$_message - * @uses md5() * @return string PMA_Message::$_hash */ public function getHash() @@ -648,13 +577,6 @@ class PMA_Message /** * returns compiled message * - * @uses PMA_Message::$_message as return value - * @uses PMA_Message::getString() - * @uses PMA_Message::getParams() - * @uses PMA_Message::format() - * @uses PMA_Message::decodeBB() - * @uses PMA_Message::getAddedMessages() - * @uses strlen() * @return string complete message */ public function getMessage() @@ -688,7 +610,6 @@ class PMA_Message /** * returns PMA_Message::$_string * - * @uses PMA_Message::$_string as return value * @return string PMA_Message::$_string */ public function getString() @@ -699,7 +620,6 @@ class PMA_Message /** * returns PMA_Message::$_number * - * @uses PMA_Message::$_number as return value * @return integer PMA_Message::$_number */ public function getNumber() @@ -710,8 +630,6 @@ class PMA_Message /** * returns level of message * - * @uses PMA_Message::$level - * @uses PMA_Message::getNumber() * @return string level of message */ public function getLevel() @@ -722,8 +640,6 @@ class PMA_Message /** * Displays the message in HTML * - * @uses PMA_Message::getDisplay() - * @uses PMA_Message::isDisplayed() */ public function display() { @@ -734,8 +650,6 @@ class PMA_Message /** * returns HTML code for displaying this message * - * @uses PMA_Message::getLevel() - * @uses PMA_Message::getMessage() * * @return string whole message box */ @@ -748,7 +662,6 @@ class PMA_Message /** * sets and returns whether the message was displayed or not * - * @uses PMA_Message::$_is_displayed to set it and/or return it * @param boolean $is_displayed * @return boolean PMA_Message::$_is_displayed */ diff --git a/libraries/PMA.php b/libraries/PMA.php index 4b391c2..4f148b7 100644 --- a/libraries/PMA.php +++ b/libraries/PMA.php @@ -82,10 +82,6 @@ class PMA /** * Accessor to PMA::$databases * - * @uses PMA::$databases - * @uses PMA::$userlink - * @uses PMA::$controllink - * @uses PMA_List_Database * @return PMA_List_Databases */ public function getDatabaseList() diff --git a/libraries/Partition.class.php b/libraries/Partition.class.php index c2b14a4..6c5f256 100644 --- a/libraries/Partition.class.php +++ b/libraries/Partition.class.php @@ -17,7 +17,6 @@ class PMA_Partition * returns array of partition names for a specific db/table * * @access public - * @uses PMA_DBI_fetch_result() * @return array of partition names */ static public function getPartitionNames($db, $table) @@ -36,7 +35,6 @@ class PMA_Partition * @staticvar boolean $have_partitioning * @staticvar boolean $already_checked * @access public - * @uses PMA_DBI_fetch_result() * @return boolean */ static public function havePartitioning() diff --git a/libraries/RecentTable.class.php b/libraries/RecentTable.class.php index 4e5bd27..5a53a41 100644 --- a/libraries/RecentTable.class.php +++ b/libraries/RecentTable.class.php @@ -70,10 +70,6 @@ class PMA_RecentTable /** * Returns recently used tables from phpMyAdmin database. * - * @uses $pma_table - * @uses PMA_query_as_controluser() - * @uses PMA_DBI_fetch_array() - * @uses json_decode() * * @return array */ @@ -95,9 +91,6 @@ class PMA_RecentTable /** * Save recent tables into phpMyAdmin database. * - * @uses PMA_DBI_try_query() - * @uses json_decode() - * @uses PMA_Message * * @return true|PMA_Message */ diff --git a/libraries/StorageEngine.class.php b/libraries/StorageEngine.class.php index bcb4f68..d3e1019 100644 --- a/libraries/StorageEngine.class.php +++ b/libraries/StorageEngine.class.php @@ -51,7 +51,6 @@ class PMA_StorageEngine * @static * @staticvar array $storage_engines storage engines * @access public - * @uses PMA_DBI_fetch_result() * @return array of storage engines */ static public function getStorageEngines() @@ -69,9 +68,6 @@ class PMA_StorageEngine * returns HTML code for storage engine select box * * @static - * @uses PMA_StorageEngine::getStorageEngines() - * @uses strtolower() - * @uses htmlspecialchars() * @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 @@ -110,9 +106,6 @@ class PMA_StorageEngine * * Loads the corresponding engine plugin, if available. * - * @uses str_replace() - * @uses file_exists() - * @uses PMA_StorageEngine * @param string $engine The engine ID * @return object The engine plugin */ @@ -134,7 +127,6 @@ class PMA_StorageEngine * return true if given engine name is supported/valid, otherwise false * * @static - * @uses PMA_StorageEngine::getStorageEngines() * @param string $engine name of engine * @return boolean whether $engine is valid or not */ @@ -150,13 +142,6 @@ class PMA_StorageEngine /** * returns as HTML table of the engine's server variables * - * @uses PMA_ENGINE_DETAILS_TYPE_SIZE - * @uses PMA_ENGINE_DETAILS_TYPE_NUMERIC - * @uses PMA_StorageEngine::getVariablesStatus() - * @uses PMA_showHint() - * @uses PMA_formatByteDown() - * @uses PMA_formatNumber() - * @uses htmlspecialchars() * @return string The table that was generated based on the retrieved information */ function getHtmlVariables() @@ -219,12 +204,6 @@ class PMA_StorageEngine /** * returns array with detailed info about engine specific server variables * - * @uses PMA_ENGINE_DETAILS_TYPE_PLAINTEXT - * @uses PMA_StorageEngine::getVariables() - * @uses PMA_StorageEngine::getVariablesLikePattern() - * @uses PMA_DBI_query() - * @uses PMA_DBI_fetch_assoc() - * @uses PMA_DBI_free_result() * @return array with detailed info about specific engine server variables */ function getVariablesStatus() @@ -269,15 +248,6 @@ class PMA_StorageEngine /** * Constructor * - * @uses PMA_StorageEngine::getStorageEngines() - * @uses PMA_ENGINE_SUPPORT_DEFAULT - * @uses PMA_ENGINE_SUPPORT_YES - * @uses PMA_ENGINE_SUPPORT_DISABLED - * @uses PMA_ENGINE_SUPPORT_NO - * @uses $this->engine - * @uses $this->title - * @uses $this->comment - * @uses $this->support * @param string $engine The engine ID */ function __construct($engine) @@ -313,7 +283,6 @@ class PMA_StorageEngine * public String getTitle() * * Reveals the engine's title - * @uses $this->title * @return string The title */ function getTitle() @@ -325,7 +294,6 @@ class PMA_StorageEngine * public String getComment() * * Fetches the server's comment about this engine - * @uses $this->comment * @return string The comment */ function getComment() @@ -336,13 +304,6 @@ class PMA_StorageEngine /** * public String getSupportInformationMessage() * - * @uses PMA_ENGINE_SUPPORT_DEFAULT - * @uses PMA_ENGINE_SUPPORT_YES - * @uses PMA_ENGINE_SUPPORT_DISABLED - * @uses PMA_ENGINE_SUPPORT_NO - * @uses $this->support - * @uses $this->title - * @uses sprintf * @return string The localized message. */ function getSupportInformationMessage() diff --git a/libraries/Table.class.php b/libraries/Table.class.php index fddf614..baa677f 100644 --- a/libraries/Table.class.php +++ b/libraries/Table.class.php @@ -92,7 +92,6 @@ class PMA_Table /** * sets table name * - * @uses $this->name to set it * @param string $table_name new table name */ function setName($table_name) @@ -103,7 +102,6 @@ class PMA_Table /** * returns table name * - * @uses $this->name as return value * @param boolean whether to quote name with backticks `` * @return string table name */ @@ -118,7 +116,6 @@ class PMA_Table /** * sets database name for this table * - * @uses $this->db_name to set it * @param string $db_name */ function setDbName($db_name) @@ -129,7 +126,6 @@ class PMA_Table /** * returns database name for this table * - * @uses $this->db_name as return value * @param boolean whether to quote name with backticks `` * @return string database name for this table */ @@ -167,7 +163,6 @@ class PMA_Table /** * sets given $value for given $param * - * @uses $this->settings to add or change value * @param string param name * @param mixed param value */ @@ -179,7 +174,6 @@ class PMA_Table /** * returns value for given setting/param * - * @uses $this->settings to return value * @param string name for value to return * @return mixed value for $param */ @@ -1220,9 +1214,6 @@ class PMA_Table /** * Return UI preferences for this table from phpMyAdmin database. * - * @uses PMA_query_as_controluser() - * @uses PMA_DBI_fetch_array() - * @uses json_decode() * * @return array */ @@ -1249,9 +1240,6 @@ class PMA_Table /** * Save this table's UI preferences into phpMyAdmin database. * - * @uses PMA_DBI_try_query() - * @uses json_decode() - * @uses PMA_Message * * @return true|PMA_Message */ @@ -1282,7 +1270,6 @@ class PMA_Table * If pmadb and table_uiprefs is set, it will load the UI preferences from * phpMyAdmin database. * - * @uses getUiPrefsFromDb() */ protected function loadUiPrefs() { @@ -1305,7 +1292,6 @@ class PMA_Table * - PROP_SORTED_COLUMN * - PROP_COLUMN_ORDER * - * @uses loadUiPrefs() * * @param string $property * @return mixed diff --git a/libraries/Theme.class.php b/libraries/Theme.class.php index 09f46e2..d1b79fd 100644 --- a/libraries/Theme.class.php +++ b/libraries/Theme.class.php @@ -69,13 +69,6 @@ class PMA_Theme {
/** * @access public - * @uses PMA_Theme::getPath() - * @uses PMA_Theme::$mtime_info - * @uses PMA_Theme::setVersion() - * @uses PMA_Theme::setName() - * @uses filemtime() - * @uses filesize() - * @uses file_exists() * @return boolean whether loading them info was successful or not */ function loadInfo() @@ -114,10 +107,6 @@ class PMA_Theme { * * @static * @access public - * @uses PMA_Theme - * @uses PMA_Theme::setPath() - * @uses PMA_Theme::loadInfo() - * @uses PMA_Theme::checkImgPath() * @param string $folder path to theme * @return object PMA_Theme */ @@ -140,12 +129,6 @@ class PMA_Theme { * checks image path for existance - if not found use img from original theme * * @access public - * @uses PMA_Theme::getPath() - * @uses PMA_Theme::setImgPath() - * @uses PMA_Theme::getName() - * @uses $GLOBALS['cfg']['ThemePath'] - * @uses is_dir() - * @uses sprintf() */ function checkImgPath() { @@ -167,7 +150,6 @@ class PMA_Theme { * returns path to theme * * @access public - * @uses PMA_Theme::$path as return value * @return string $path path to theme */ function getPath() @@ -179,7 +161,6 @@ class PMA_Theme { * returns layout file * * @access public - * @uses PMA_Theme::getPath() * @return string layout file */ function getLayoutFile() @@ -191,7 +172,6 @@ class PMA_Theme { * set path to theme * * @access public - * @uses PMA_Theme::$path to set it * @param string $path path to theme */ function setPath($path) @@ -203,7 +183,6 @@ class PMA_Theme { * sets version * * @access public - * @uses PMA_Theme::$version * @param string new version */ function setVersion($version) @@ -215,7 +194,6 @@ class PMA_Theme { * returns version * * @access public - * @uses PMA_Theme::$version * @return string version */ function getVersion() @@ -228,8 +206,6 @@ class PMA_Theme { * returns true if theme version is equal or higher to $version * * @access public - * @uses version_compare() - * @uses PMA_Theme::getVersion() * @param string $version version to compare to * @return boolean */ @@ -242,8 +218,6 @@ class PMA_Theme { * sets name * * @access public - * @uses PMA_Theme::$name to set it - * @uses trim() * @param string $name new name */ function setName($name) @@ -255,7 +229,6 @@ class PMA_Theme { * returns name * * @access public - * @uses PMA_Theme::$name as return value * @return string name */ function getName() @@ -267,7 +240,6 @@ class PMA_Theme { * sets id * * @access public - * @uses PMA_Theme::$id to set it * @param string $id new id */ function setId($id) @@ -279,7 +251,6 @@ class PMA_Theme { * returns id * * @access public - * @uses PMA_Theme::$id as return value * @return string id */ function getId() @@ -289,7 +260,6 @@ class PMA_Theme {
/** * @access public - * @uses PMA_Theme::$img_path to set it * @param string path to images for this theme */ function setImgPath($path) @@ -299,7 +269,6 @@ class PMA_Theme {
/** * @access public - * @uses PMA_Theme::$img_path as retunr value * @return string image path for this theme */ function getImgPath() @@ -311,11 +280,6 @@ class PMA_Theme { * load css (send to stdout, normally the browser) * * @access public - * @uses PMA_Theme::getPath() - * @uses PMA_Theme::$types - * @uses PMA_SQP_buildCssData() - * @uses file_exists() - * @uses in_array() * @param string $type left, right or print */ function loadCss(&$type) @@ -351,14 +315,6 @@ class PMA_Theme { * prints out the preview for this theme * * @access public - * @uses PMA_Theme::getName() - * @uses PMA_Theme::getVersion() - * @uses PMA_Theme::getId() - * @uses PMA_Theme::getPath() - * @uses PMA_generate_common_url() - * @uses addslashes() - * @uses file_exists() - * @uses htmlspecialchars() */ function printPreview() { diff --git a/libraries/Theme_Manager.class.php b/libraries/Theme_Manager.class.php index 55cc32c..b179ccc 100644 --- a/libraries/Theme_Manager.class.php +++ b/libraries/Theme_Manager.class.php @@ -187,11 +187,6 @@ class PMA_Theme_Manager /** * save theme in cookie * - * @uses $GLOBALS['PMA_Config']->setCookie(); - * @uses PMA_Theme_Manager::getThemeCookieName() - * @uses PMA_Theme_Manager::$theme - * @uses PMA_Theme_Manager::$theme_default - * @uses PMA_Theme::getId() */ function setThemeCookie() { @@ -331,8 +326,6 @@ class PMA_Theme_Manager /** * prints out preview for every theme * - * @uses $this->themes - * @uses PMA_Theme::printPreview() */ function printPreviews() { diff --git a/libraries/auth/cookie.auth.lib.php b/libraries/auth/cookie.auth.lib.php index 8660ff0..ff758b8 100644 --- a/libraries/auth/cookie.auth.lib.php +++ b/libraries/auth/cookie.auth.lib.php @@ -78,8 +78,6 @@ if (function_exists('mcrypt_encrypt')) {
/** * Returns blowfish secret or generates one if needed. - * @uses $cfg['blowfish_secret'] - * @uses $_SESSION['auto_blowfish_secret'] * * @access public */ @@ -101,32 +99,6 @@ function PMA_get_blowfish_secret() { * * this function MUST exit/quit the application * - * @uses $GLOBALS['server'] - * @uses $GLOBALS['PHP_AUTH_USER'] - * @uses $GLOBALS['pma_auth_server'] - * @uses $GLOBALS['text_dir'] - * @uses $GLOBALS['pmaThemeImage'] - * @uses $GLOBALS['target'] - * @uses $GLOBALS['db'] - * @uses $GLOBALS['table'] - * @uses $GLOBALS['pmaThemeImage'] - * @uses $cfg['Servers'] - * @uses $cfg['LoginCookieRecall'] - * @uses $cfg['Lang'] - * @uses $cfg['Server'] - * @uses $cfg['ReplaceHelpImg'] - * @uses $cfg['blowfish_secret'] - * @uses $cfg['AllowArbitraryServer'] - * @uses $_COOKIE - * @uses $_REQUEST['old_usr'] - * @uses PMA_sendHeaderLocation() - * @uses PMA_select_language() - * @uses PMA_select_server() - * @uses file_exists() - * @uses sprintf() - * @uses count() - * @uses htmlspecialchars() - * @uses is_array() * @global string the last connection error * * @access public @@ -337,25 +309,6 @@ if (top != self) { * @todo AllowArbitraryServer on does not imply that the user wants an * arbitrary server, or? so we should also check if this is filled and * not only if allowed - * @uses $GLOBALS['PHP_AUTH_USER'] - * @uses $GLOBALS['PHP_AUTH_PW'] - * @uses $GLOBALS['no_activity'] - * @uses $GLOBALS['server'] - * @uses $GLOBALS['from_cookie'] - * @uses $GLOBALS['pma_auth_server'] - * @uses $cfg['AllowArbitraryServer'] - * @uses $cfg['LoginCookieValidity'] - * @uses $cfg['Servers'] - * @uses $_REQUEST['old_usr'] from logout link - * @uses $_REQUEST['pma_username'] from login form - * @uses $_REQUEST['pma_password'] from login form - * @uses $_REQUEST['pma_servername'] from login form - * @uses $_COOKIE - * @uses $_SESSION['last_access_time'] - * @uses $GLOBALS['PMA_Config']->removeCookie() - * @uses PMA_blowfish_decrypt() - * @uses PMA_auth_fails() - * @uses time() * * @return boolean whether we get authentication settings or not * @@ -480,23 +433,6 @@ function PMA_auth_check() /** * Set the user and password after last checkings if required * - * @uses $GLOBALS['PHP_AUTH_USER'] - * @uses $GLOBALS['PHP_AUTH_PW'] - * @uses $GLOBALS['server'] - * @uses $GLOBALS['from_cookie'] - * @uses $GLOBALS['pma_auth_server'] - * @uses $cfg['Server'] - * @uses $cfg['AllowArbitraryServer'] - * @uses $cfg['LoginCookieStore'] - * @uses $cfg['PmaAbsoluteUri'] - * @uses $_SESSION['last_access_time'] - * @uses PMA_COMING_FROM_COOKIE_LOGIN - * @uses $GLOBALS['PMA_Config']->setCookie() - * @uses PMA_blowfish_encrypt() - * @uses $GLOBALS['PMA_Config']->removeCookie() - * @uses PMA_sendHeaderLocation() - * @uses time() - * @uses define() * @return boolean always true * * @access public @@ -615,17 +551,6 @@ function PMA_auth_set_user() * this function MUST exit/quit the application, * currently doen by call to PMA_auth() * - * @uses $GLOBALS['server'] - * @uses $GLOBALS['allowDeny_forbidden'] - * @uses $GLOBALS['no_activity'] - * @uses $cfg['LoginCookieValidity'] - * @uses $GLOBALS['PMA_Config']->removeCookie() - * @uses PMA_getenv() - * @uses PMA_DBI_getError() - * @uses PMA_sanitize() - * @uses PMA_auth() - * @uses sprintf() - * @uses basename() * @access public */ function PMA_auth_fails() diff --git a/libraries/blobstreaming.lib.php b/libraries/blobstreaming.lib.php index ce1711c..fc5265b 100644 --- a/libraries/blobstreaming.lib.php +++ b/libraries/blobstreaming.lib.php @@ -43,12 +43,6 @@ function initPBMSDatabase() * checks whether the necessary plugins for BLOBStreaming exist * * @access public - * @uses PMA_Config::get() - * @uses PMA_Config::settings() - * @uses PMA_Config::set() - * @uses PMA_BS_GetVariables() - * @uses PMA_cacheSet() - * @uses PMA_cacheGet() * @return boolean */ function checkBLOBStreamingPlugins() @@ -205,9 +199,6 @@ function checkBLOBStreamingPlugins() * returns a list of BLOBStreaming variables used by MySQL * * @access public - * @uses PMA_Config::get() - * @uses PMA_DBI_query() - * @uses PMA_DBI_fetch_assoc() * @return array - list of BLOBStreaming variables */ function PMA_BS_GetVariables() diff --git a/libraries/bookmark.lib.php b/libraries/bookmark.lib.php index dfc1946..5492cbf 100644 --- a/libraries/bookmark.lib.php +++ b/libraries/bookmark.lib.php @@ -9,11 +9,6 @@ /** * Defines the bookmark parameters for the current user * - * @uses $GLOBALS['server'] - * @uses PMA_getRelationsParam() - * @uses $GLOBALS['cfg']['Server']['user'] - * @uses $GLOBALS['cfg']['Server']['pmadb'] - * @uses $GLOBALS['cfg']['Server']['bookmarktable'] * @return array the bookmark parameters for the current user * @access public */ @@ -44,11 +39,6 @@ function PMA_Bookmark_getParams() /** * Gets the list of bookmarks defined for the current database * - * @uses PMA_backquote() - * @uses PMA_sqlAddslashes() - * @uses PMA_DBI_fetch_result() - * @uses PMA_DBI_QUERY_STORE - * @uses PMA_Bookmark_getParams() * @global resource the controluser db connection handle * * @param string the current database name @@ -94,10 +84,6 @@ function PMA_Bookmark_getList($db) /** * Gets the sql command from a bookmark * - * @uses PMA_backquote() - * @uses PMA_sqlAddslashes() - * @uses PMA_sqlAddslashes() okmark etList($db) ndle se r .lib.php hp on orking with linked tables have been deactivated. To find out why click %shere%s.') �̐� �(�S�+ Ȥ�S�+ �4�S�+ ��T�+ �̐� �0�T�+ �̐� �̐� �=�S�+ 6 � �! �! @̐� �̐� x��T�+ �̐� "!�S�+ >�S�+ @̐� � �S�+ ̐� ��/U�+ �(�S�+ �/U�+ ��/U�+ ��/U�+ Ȥ�S�+ x��T�+ �̐� �̐� �=�S�+ �! �! @̐� �̐� ȝ�T�+ � ̐� "!�S�+ >�S�+ @̐� � �S�+ ̐� p̐� h̐� ;�S�+ �p� �̐� �(�S�+ Ȥ�S�+ � ̐� p̐� �=�S�+ G H I J K M N O P @̐� �̐� HU�T�+ @̐� "!�S�+ >�S�+ @̐� 0�/U�+ �(�S�+ ��T�+ ��_T�+ �/U�+ ��/U�+ ��/U�+ Ȥ�S�+ HU�T�+ @̐� � ̐� �=�S�+ 8U�T�+ @̐� � ̐� �=�S�+ (U�T�+ @̐� � ̐� �=�S�+ U�T�+ @̐� ̐� �=�S�+ ��/U�+ �(�S�+ ��/U�+ �̐� ��_T�+ �'�S�+ ��/U�+ � ̐� y�_T�+ �'�S�+ �/U�+ � ̐� Z�_T�+ �'�S�+ _T�+ ��T�+ ��_T�+ �/U�+ ���T�+ ��/U�+ ��/U�+ Ȥ�S�+ ��]T�+ `̐� 0̐� �=�S�+ # % ' ) * - . 0 3 5 6 7 8 : <