Permalink
Browse files

Merge pull request #2067 from Ragazzo/CDbCommand-dropTable-createTabl…

…e-fix

Fixed docs for createTable and dropTable methods
[ci skip]
  • Loading branch information...
mdomba committed Feb 4, 2013
2 parents 32b7363 + 16406af commit 8ead9e740592bb2d0444494bac3b6cd9ccf4baa8
Showing with 3 additions and 3 deletions.
  1. +3 −3 framework/db/CDbCommand.php
@@ -1313,7 +1313,7 @@ public function delete($table, $conditions='', $params=array())
* @param string $table the name of the table to be created. The name will be properly quoted by the method.
* @param array $columns the columns (name=>definition) in the new table.
* @param string $options additional SQL fragment that will be appended to the generated SQL.
- * @return integer number of rows affected by the execution.
+ * @return integer 0 is always returned. See {@link http://php.net/manual/en/pdostatement.rowcount.php} for more information.
* @since 1.1.6
*/
public function createTable($table, $columns, $options=null)
@@ -1325,7 +1325,7 @@ public function createTable($table, $columns, $options=null)
* Builds and executes a SQL statement for renaming a DB table.
* @param string $table the table to be renamed. The name will be properly quoted by the method.
* @param string $newName the new table name. The name will be properly quoted by the method.
- * @return integer number of rows affected by the execution.
+ * @return integer 0 is always returned. See {@link http://php.net/manual/en/pdostatement.rowcount.php} for more information.
* @since 1.1.6
*/
public function renameTable($table, $newName)
@@ -1336,7 +1336,7 @@ public function renameTable($table, $newName)
/**
* Builds and executes a SQL statement for dropping a DB table.
* @param string $table the table to be dropped. The name will be properly quoted by the method.
- * @return integer number of rows affected by the execution.
+ * @return integer 0 is always returned. See {@link http://php.net/manual/en/pdostatement.rowcount.php} for more information.
* @since 1.1.6
*/
public function dropTable($table)

0 comments on commit 8ead9e7

Please sign in to comment.