diff --git a/db_search.php b/db_search.php index 6191b14543..acbe0cb999 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 36c1d58d79..d7c2f87e97 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 28f9ac32cb..0130252e87 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 e5d105c70e..1925a611d6 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 f65dc4b89c..1a9cdb0169 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 031a266fe1..bad9bca48c 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 7cc47991e3..25f613f3a8 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 83a42c1482..694546a010 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