mirror of
https://github.com/vrana/adminer.git
synced 2025-08-08 07:36:44 +02:00
Doc-comments: Use consistent style
This commit is contained in:
@@ -92,7 +92,7 @@ if (!defined('Adminer\DRIVER')) {
|
||||
return (bool) $this->link;
|
||||
}
|
||||
|
||||
/** Sets the client character set
|
||||
/** Set the client character set
|
||||
* @param string
|
||||
* @return bool
|
||||
*/
|
||||
|
@@ -773,7 +773,7 @@ class Adminer {
|
||||
return unconvert_field($field, $return);
|
||||
}
|
||||
|
||||
/** Returns export output options
|
||||
/** Return export output options
|
||||
* @return array
|
||||
*/
|
||||
function dumpOutput() {
|
||||
@@ -784,7 +784,7 @@ class Adminer {
|
||||
return $return;
|
||||
}
|
||||
|
||||
/** Returns export format options
|
||||
/** Return export format options
|
||||
* @return array empty to disable export
|
||||
*/
|
||||
function dumpFormat() {
|
||||
@@ -984,7 +984,7 @@ class Adminer {
|
||||
return true;
|
||||
}
|
||||
|
||||
/** Prints navigation after Adminer title
|
||||
/** Print navigation after Adminer title
|
||||
* @param string can be "auth" if there is no database connection, "db" if there is no database selected, "ns" with invalid schema
|
||||
* @return null
|
||||
*/
|
||||
@@ -1075,7 +1075,7 @@ class Adminer {
|
||||
);
|
||||
}
|
||||
|
||||
/** Prints databases list in menu
|
||||
/** Print databases list in menu
|
||||
* @param string
|
||||
* @return null
|
||||
*/
|
||||
@@ -1110,7 +1110,7 @@ class Adminer {
|
||||
echo "</p></form>\n";
|
||||
}
|
||||
|
||||
/** Prints table list in menu
|
||||
/** Print table list in menu
|
||||
* @param array result of table_status('', true)
|
||||
* @return null
|
||||
*/
|
||||
|
@@ -123,7 +123,7 @@ function unset_permanent() {
|
||||
cookie("adminer_permanent", implode(" ", $permanent));
|
||||
}
|
||||
|
||||
/** Renders an error message and a login form
|
||||
/** Render an error message and a login form
|
||||
* @param string plain text
|
||||
* @return null exits
|
||||
*/
|
||||
|
@@ -641,7 +641,7 @@ function indexesAddColumn(prefix) {
|
||||
|
||||
|
||||
|
||||
/** Updates the form action
|
||||
/** Update the form action
|
||||
* @param HTMLFormElement
|
||||
* @param string
|
||||
*/
|
||||
|
@@ -405,7 +405,7 @@ function selectSearchSearch() {
|
||||
|
||||
|
||||
|
||||
/** Toggles column context menu
|
||||
/** Toggle column context menu
|
||||
* @param [string] extra class name
|
||||
* @this HTMLElement
|
||||
*/
|
||||
|
@@ -52,7 +52,7 @@ if (isset($_GET["elastic"])) {
|
||||
return $return;
|
||||
}
|
||||
|
||||
/** Performs query relative to actual selected DB
|
||||
/** Perform query relative to actual selected DB
|
||||
* @param string $path
|
||||
* @param array|null $content
|
||||
* @param string $method
|
||||
|
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
/** Exports one database (e.g. development) so that it can be synced with other database (e.g. production)
|
||||
/** Export one database (e.g. development) so that it can be synced with other database (e.g. production)
|
||||
* @link https://www.adminer.org/plugins/#use
|
||||
* @author Jakub Vrana, https://www.vrana.cz/
|
||||
* @license https://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0
|
||||
|
Reference in New Issue
Block a user