diff options
| author | Jean-Michel Vourgère | 2019-10-20 20:47:32 +0000 |
|---|---|---|
| committer | Robert Treat | 2019-10-31 20:00:17 +0000 |
| commit | 80e18adc0b288f471e3284be53e1b8368811f877 (patch) | |
| tree | 932e8cf2014870f9fd1afd3d1e75491c3ca453d8 /classes | |
| parent | 3c887d8cb2078b428095809ced9a8f47735349cb (diff) | |
codespell assisted typo cleaning
Diffstat (limited to 'classes')
| -rw-r--r-- | classes/Misc.php | 12 | ||||
| -rw-r--r-- | classes/database/Postgres.php | 16 | ||||
| -rw-r--r-- | classes/database/Postgres80.php | 2 | ||||
| -rw-r--r-- | classes/database/Postgres83.php | 4 |
4 files changed, 17 insertions, 17 deletions
diff --git a/classes/Misc.php b/classes/Misc.php index 9939502e..e2553e55 100644 --- a/classes/Misc.php +++ b/classes/Misc.php @@ -626,7 +626,7 @@ * ... * ), * 'content' => The link text - * 'fields' => (optionnal) the data from which content and attr's values are obtained + * 'fields' => (optional) the data from which content and attr's values are obtained * ); * the special attribute 'href' might be a string or an array. If href is an array it * will be generated by getActionUrl. See getActionUrl comment for array format. @@ -1336,7 +1336,7 @@ echo "<div class=\"topbar\"><table style=\"width: 100%\"><tr><td>"; if ($server_info && isset($server_info['platform']) && isset($server_info['username'])) { - /* top left informations when connected */ + /* top left information when connected */ echo sprintf($lang['strtopbar'], '<span class="platform">'.htmlspecialchars($server_info['platform']).'</span>', '<span class="host">'.htmlspecialchars((empty($server_info['host'])) ? 'localhost':$server_info['host']).'</span>', @@ -1345,7 +1345,7 @@ echo "</td>"; - /* top right informations when connected */ + /* top right information when connected */ $toplinks = array ( 'sql' => array ( @@ -1668,7 +1668,7 @@ * @param $navlinks - An array with the the attributes and values that will be shown. See printLinksList for array format. * @param $place - Place where the $navlinks are displayed. Like 'display-browse', where 'display' is the file (display.php) * @param $env - Associative array of defined variables in the scope of the caller. - * Allows to give some environnement details to plugins. + * Allows to give some environment details to plugins. * and 'browse' is the place inside that code (doBrowse). */ function printNavLinks($navlinks, $place, $env = array()) { @@ -1788,7 +1788,7 @@ } /** - * Converts a PHP.INI size variable to bytes. Taken from publically available + * Converts a PHP.INI size variable to bytes. Taken from publicly available * function by Chris DeRose, here: http://www.php.net/manual/en/configuration.directives.php#ini.file-uploads * @param $strIniSize The PHP.INI variable * @return size in bytes, false on failure @@ -2551,7 +2551,7 @@ /** * returns an array representing FKs definition for a table, sorted by fields * or by constraint. - * @param $table The table to retrieve FK contraints from + * @param $table The table to retrieve FK constraints from * @returns the array of FK definition: * array( * 'byconstr' => array( diff --git a/classes/database/Postgres.php b/classes/database/Postgres.php index 17eef2bd..0984cc66 100644 --- a/classes/database/Postgres.php +++ b/classes/database/Postgres.php @@ -831,7 +831,7 @@ class Postgres extends ADODB_base { return $this->selectSet($sql); } - // Schema functons + // Schema functions /** * Return all schemas in the current database. @@ -1732,7 +1732,7 @@ class Postgres extends ADODB_base { /** * Creates a new table in the database copying attribs and other properties from another table * @param $name The name of the table - * @param $like an array giving the schema ans the name of the table from which attribs are copying from: + * @param $like an array giving the schema and the name of the table from which attribs are copying from: * array( * 'table' => table name, * 'schema' => the schema name, @@ -2366,7 +2366,7 @@ class Postgres extends ADODB_base { /** * Returns all available autovacuum per table information. - * @param $table if given, return autovacuum info for the given table or return all informations for all table + * @param $table if given, return autovacuum info for the given table or return all information for all table * * @return A recordset */ @@ -2402,7 +2402,7 @@ class Postgres extends ADODB_base { /* tmp var to parse the results */ $_autovacs = $this->selectSet($sql); - /* result aray to return as RS */ + /* result array to return as RS */ $autovacs = array(); while (!$_autovacs->EOF) { $_ = array( @@ -2928,7 +2928,7 @@ class Postgres extends ADODB_base { * @param $restartvalue The sequence current value * @param $cachevalue The sequence cache value * @param $cycledvalue Sequence can cycle ? - * @param $startvalue The sequence start value when issueing a restart + * @param $startvalue The sequence start value when issuing a restart * @return 0 success */ function alterSequenceProps($seqrs, $increment, $minvalue, $maxvalue, @@ -2967,7 +2967,7 @@ class Postgres extends ADODB_base { * @param $restartvalue The starting value * @param $cachevalue The cache value * @param $cycledvalue True if cycled, false otherwise - * @param $startvalue The sequence start value when issueing a restart + * @param $startvalue The sequence start value when issuing a restart * @return 0 success * @return -3 rename error * @return -4 comment error @@ -3033,7 +3033,7 @@ class Postgres extends ADODB_base { * @param $restartvalue The starting value * @param $cachevalue The cache value * @param $cycledvalue True if cycled, false otherwise - * @param $startvalue The sequence start value when issueing a restart + * @param $startvalue The sequence start value when issuing a restart * @return 0 success * @return -1 transaction error * @return -2 get existing sequence error @@ -3746,7 +3746,7 @@ class Postgres extends ADODB_base { * @param $del_action The action for deletes (eg. RESTRICT) * @param $match The match type (eg. MATCH FULL) * @param $deferrable The deferrability (eg. NOT DEFERRABLE) - * @param $intially The initial deferrability (eg. INITIALLY IMMEDIATE) + * @param $initially The initial deferrability (eg. INITIALLY IMMEDIATE) * @param $name (optional) The name to give the key, otherwise default name is assigned * @return 0 success * @return -1 no fields given diff --git a/classes/database/Postgres80.php b/classes/database/Postgres80.php index db6cf098..a824dddd 100644 --- a/classes/database/Postgres80.php +++ b/classes/database/Postgres80.php @@ -240,7 +240,7 @@ class Postgres80 extends Postgres81 { * @param $restartvalue The starting value * @param $cachevalue The cache value * @param $cycledvalue True if cycled, false otherwise - * @param $startvalue The sequence start value when issueing a restart + * @param $startvalue The sequence start value when issuing a restart * @return 0 success * @return -3 rename error * @return -4 comment error diff --git a/classes/database/Postgres83.php b/classes/database/Postgres83.php index fc14e76e..4b903dcd 100644 --- a/classes/database/Postgres83.php +++ b/classes/database/Postgres83.php @@ -56,7 +56,7 @@ class Postgres83 extends Postgres84 { return $this->help_page; } - // Databse functions + // Database functions /** * Return all database available on the server @@ -278,7 +278,7 @@ class Postgres83 extends Postgres84 { * @param $restartvalue The sequence current value * @param $cachevalue The sequence cache value * @param $cycledvalue Sequence can cycle ? - * @param $startvalue The sequence start value when issueing a restart (ignored) + * @param $startvalue The sequence start value when issuing a restart (ignored) * @return 0 success */ function alterSequenceProps($seqrs, $increment, $minvalue, $maxvalue, |
