Browse Source

fixed docs in db Schema classes

tags/2.0.0-alpha
Carsten Brandt 11 years ago
parent
commit
267f2d7849
  1. 2
      framework/yii/db/Schema.php
  2. 4
      framework/yii/db/mssql/Schema.php
  3. 4
      framework/yii/db/mysql/Schema.php

2
framework/yii/db/Schema.php

@ -216,7 +216,7 @@ abstract class Schema extends Object
* This method should be overridden by child classes in order to support this feature * This method should be overridden by child classes in order to support this feature
* because the default implementation simply throws an exception. * because the default implementation simply throws an exception.
* @param string $schema the schema of the tables. Defaults to empty string, meaning the current or default schema. * @param string $schema the schema of the tables. Defaults to empty string, meaning the current or default schema.
* @return array all table names in the database. The names have NO the schema name prefix. * @return array all table names in the database. The names have NO schema name prefix.
* @throws NotSupportedException if this method is called * @throws NotSupportedException if this method is called
*/ */
protected function findTableNames($schema = '') protected function findTableNames($schema = '')

4
framework/yii/db/mssql/Schema.php

@ -332,10 +332,8 @@ SQL;
/** /**
* Returns all table names in the database. * Returns all table names in the database.
* This method should be overridden by child classes in order to support this feature
* because the default implementation simply throws an exception.
* @param string $schema the schema of the tables. Defaults to empty string, meaning the current or default schema. * @param string $schema the schema of the tables. Defaults to empty string, meaning the current or default schema.
* @return array all table names in the database. The names have NO the schema name prefix. * @return array all table names in the database. The names have NO schema name prefix.
*/ */
protected function findTableNames($schema = '') protected function findTableNames($schema = '')
{ {

4
framework/yii/db/mysql/Schema.php

@ -236,10 +236,8 @@ class Schema extends \yii\db\Schema
/** /**
* Returns all table names in the database. * Returns all table names in the database.
* This method should be overridden by child classes in order to support this feature
* because the default implementation simply throws an exception.
* @param string $schema the schema of the tables. Defaults to empty string, meaning the current or default schema. * @param string $schema the schema of the tables. Defaults to empty string, meaning the current or default schema.
* @return array all table names in the database. The names have NO the schema name prefix. * @return array all table names in the database. The names have NO schema name prefix.
*/ */
protected function findTableNames($schema = '') protected function findTableNames($schema = '')
{ {

Loading…
Cancel
Save