From: Sam Reed Date: Fri, 3 Dec 2010 09:57:53 +0000 (+0000) Subject: Documentation improvement to r77597 X-Git-Tag: 1.31.0-rc.0~33622 X-Git-Url: http://git.cyclocoop.org/%24image?a=commitdiff_plain;h=ebf546098e3fd18d32a15199d1578a3c3b2e19fa;p=lhc%2Fweb%2Fwiklou.git Documentation improvement to r77597 --- diff --git a/includes/db/Database.php b/includes/db/Database.php index 1543489874..b20f461c3d 100644 --- a/includes/db/Database.php +++ b/includes/db/Database.php @@ -1576,7 +1576,9 @@ abstract class DatabaseBase implements DatabaseType { } /** - * Get an aliased table name. + * Get an aliased table name + * e.g. tableName AS newTableName + * * @param $name string Table name, see tableName() * @param $alias string Alias (optional) * @return string SQL name for aliased table. Will not alias a table to its own name @@ -1590,6 +1592,8 @@ abstract class DatabaseBase implements DatabaseType { } /** + * Gets an array of aliased table names + * * @param $tables array( [alias] => table ) * @return array of strings, see tableNameWithAlias() */