Commit 267f2d78 by Carsten Brandt

fixed docs in db Schema classes

parent 8976b7cb
...@@ -216,7 +216,7 @@ abstract class Schema extends Object ...@@ -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 = '')
......
...@@ -332,10 +332,8 @@ SQL; ...@@ -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 = '')
{ {
......
...@@ -236,10 +236,8 @@ class Schema extends \yii\db\Schema ...@@ -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 = '')
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment