Commit f8ea5882 by Alexander Makarov

cleaned up @since

parent 4a8259ff
...@@ -321,7 +321,6 @@ abstract class Application extends Module ...@@ -321,7 +321,6 @@ abstract class Application extends Module
* This is a simple wrapper of PHP function date_default_timezone_get(). * This is a simple wrapper of PHP function date_default_timezone_get().
* @return string the time zone used by this application. * @return string the time zone used by this application.
* @see http://php.net/manual/en/function.date-default-timezone-get.php * @see http://php.net/manual/en/function.date-default-timezone-get.php
* @since 1.0.9
*/ */
public function getTimeZone() public function getTimeZone()
{ {
...@@ -333,7 +332,6 @@ abstract class Application extends Module ...@@ -333,7 +332,6 @@ abstract class Application extends Module
* This is a simple wrapper of PHP function date_default_timezone_set(). * This is a simple wrapper of PHP function date_default_timezone_set().
* @param string $value the time zone used by this application. * @param string $value the time zone used by this application.
* @see http://php.net/manual/en/function.date-default-timezone-set.php * @see http://php.net/manual/en/function.date-default-timezone-set.php
* @since 1.0.9
*/ */
public function setTimeZone($value) public function setTimeZone($value)
{ {
...@@ -384,7 +382,6 @@ abstract class Application extends Module ...@@ -384,7 +382,6 @@ abstract class Application extends Module
/** /**
* Returns the directory that contains the locale data. * Returns the directory that contains the locale data.
* @return string the directory that contains the locale data. It defaults to 'framework/i18n/data'. * @return string the directory that contains the locale data. It defaults to 'framework/i18n/data'.
* @since 1.1.0
*/ */
public function getLocaleDataPath() public function getLocaleDataPath()
{ {
...@@ -394,7 +391,6 @@ abstract class Application extends Module ...@@ -394,7 +391,6 @@ abstract class Application extends Module
/** /**
* Sets the directory that contains the locale data. * Sets the directory that contains the locale data.
* @param string $value the directory that contains the locale data. * @param string $value the directory that contains the locale data.
* @since 1.1.0
*/ */
public function setLocaleDataPath($value) public function setLocaleDataPath($value)
{ {
...@@ -503,7 +499,6 @@ abstract class Application extends Module ...@@ -503,7 +499,6 @@ abstract class Application extends Module
/** /**
* @return CController the currently active controller. Null is returned in this base class. * @return CController the currently active controller. Null is returned in this base class.
* @since 1.1.8
*/ */
public function getController() public function getController()
{ {
......
...@@ -273,7 +273,6 @@ abstract class Module extends Component ...@@ -273,7 +273,6 @@ abstract class Module extends Component
* Returns a value indicating whether the specified module is installed. * Returns a value indicating whether the specified module is installed.
* @param string $id the module ID * @param string $id the module ID
* @return boolean whether the specified module is installed. * @return boolean whether the specified module is installed.
* @since 1.1.2
*/ */
public function hasModule($id) public function hasModule($id)
{ {
......
...@@ -30,9 +30,9 @@ ...@@ -30,9 +30,9 @@
* @author Qiang Xue <qiang.xue@gmail.com> * @author Qiang Xue <qiang.xue@gmail.com>
* @version $Id: CDbMigration.php 3218 2011-05-13 00:06:44Z alexander.makarow $ * @version $Id: CDbMigration.php 3218 2011-05-13 00:06:44Z alexander.makarow $
* @package system.db * @package system.db
* @since 1.1.6 * @since 2.0
*/ */
abstract class CDbMigration extends CComponent abstract class CDbMigration extends yii\base\Component
{ {
private $_db; private $_db;
...@@ -94,7 +94,6 @@ abstract class CDbMigration extends CComponent ...@@ -94,7 +94,6 @@ abstract class CDbMigration extends CComponent
* Child classes may implement this method instead of {@link up} if the DB logic * Child classes may implement this method instead of {@link up} if the DB logic
* needs to be within a transaction. * needs to be within a transaction.
* @return boolean * @return boolean
* @since 1.1.7
*/ */
public function safeUp() public function safeUp()
{ {
...@@ -107,7 +106,6 @@ abstract class CDbMigration extends CComponent ...@@ -107,7 +106,6 @@ abstract class CDbMigration extends CComponent
* Child classes may implement this method instead of {@link up} if the DB logic * Child classes may implement this method instead of {@link up} if the DB logic
* needs to be within a transaction. * needs to be within a transaction.
* @return boolean * @return boolean
* @since 1.1.7
*/ */
public function safeDown() public function safeDown()
{ {
...@@ -146,7 +144,6 @@ abstract class CDbMigration extends CComponent ...@@ -146,7 +144,6 @@ abstract class CDbMigration extends CComponent
* This method executes the specified SQL statement using {@link dbConnection}. * This method executes the specified SQL statement using {@link dbConnection}.
* @param string $sql the SQL statement to be executed * @param string $sql the SQL statement to be executed
* @param array $params input parameters (name=>value) for the SQL execution. See {@link CDbCommand::execute} for more details. * @param array $params input parameters (name=>value) for the SQL execution. See {@link CDbCommand::execute} for more details.
* @since 1.1.7
*/ */
public function execute($sql, $params = array()) public function execute($sql, $params = array())
{ {
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
* @author Qiang Xue <qiang.xue@gmail.com> * @author Qiang Xue <qiang.xue@gmail.com>
* @version $Id: CActiveRecordBehavior.php 2799 2011-01-01 19:31:13Z qiang.xue $ * @version $Id: CActiveRecordBehavior.php 2799 2011-01-01 19:31:13Z qiang.xue $
* @package system.db.ar * @package system.db.ar
* @since 1.0.2 * @since 2.0
*/ */
class CActiveRecordBehavior extends CModelBehavior class CActiveRecordBehavior extends CModelBehavior
{ {
...@@ -80,7 +80,6 @@ class CActiveRecordBehavior extends CModelBehavior ...@@ -80,7 +80,6 @@ class CActiveRecordBehavior extends CModelBehavior
* Responds to {@link CActiveRecord::onBeforeFind} event. * Responds to {@link CActiveRecord::onBeforeFind} event.
* Overrides this method if you want to handle the corresponding event of the {@link CBehavior::owner owner}. * Overrides this method if you want to handle the corresponding event of the {@link CBehavior::owner owner}.
* @param CEvent $event event parameter * @param CEvent $event event parameter
* @since 1.0.9
*/ */
public function beforeFind($event) public function beforeFind($event)
{ {
......
...@@ -235,7 +235,6 @@ class Query extends \yii\base\Object ...@@ -235,7 +235,6 @@ class Query extends \yii\base\Object
* @param mixed $condition the new condition. It can be either a string or an array of strings. * @param mixed $condition the new condition. It can be either a string or an array of strings.
* @param string $operator the operator to join different conditions. Defaults to 'AND'. * @param string $operator the operator to join different conditions. Defaults to 'AND'.
* @return Query the criteria object itself * @return Query the criteria object itself
* @since 1.0.9
*/ */
public function addCondition($condition, $operator = 'AND') public function addCondition($condition, $operator = 'AND')
{ {
...@@ -269,7 +268,6 @@ class Query extends \yii\base\Object ...@@ -269,7 +268,6 @@ class Query extends \yii\base\Object
* Defaults to 'AND'. * Defaults to 'AND'.
* @param string $like the LIKE operator. Defaults to 'LIKE'. You may also set this to be 'NOT LIKE'. * @param string $like the LIKE operator. Defaults to 'LIKE'. You may also set this to be 'NOT LIKE'.
* @return Query the criteria object itself * @return Query the criteria object itself
* @since 1.0.10
*/ */
public function addSearchCondition($column, $keyword, $escape = true, $operator = 'AND', $like = 'LIKE') public function addSearchCondition($column, $keyword, $escape = true, $operator = 'AND', $like = 'LIKE')
{ {
...@@ -293,7 +291,6 @@ class Query extends \yii\base\Object ...@@ -293,7 +291,6 @@ class Query extends \yii\base\Object
* @param string $operator the operator used to concatenate the new condition with the existing one. * @param string $operator the operator used to concatenate the new condition with the existing one.
* Defaults to 'AND'. * Defaults to 'AND'.
* @return Query the criteria object itself * @return Query the criteria object itself
* @since 1.0.10
*/ */
public function addInCondition($column, $values, $operator = 'AND') public function addInCondition($column, $values, $operator = 'AND')
{ {
...@@ -331,7 +328,6 @@ class Query extends \yii\base\Object ...@@ -331,7 +328,6 @@ class Query extends \yii\base\Object
* @param string $operator the operator used to concatenate the new condition with the existing one. * @param string $operator the operator used to concatenate the new condition with the existing one.
* Defaults to 'AND'. * Defaults to 'AND'.
* @return Query the criteria object itself * @return Query the criteria object itself
* @since 1.1.1
*/ */
public function addNotInCondition($column, $values, $operator = 'AND') public function addNotInCondition($column, $values, $operator = 'AND')
{ {
...@@ -368,7 +364,6 @@ class Query extends \yii\base\Object ...@@ -368,7 +364,6 @@ class Query extends \yii\base\Object
* @param string $operator the operator used to concatenate the new condition with the existing one. * @param string $operator the operator used to concatenate the new condition with the existing one.
* Defaults to 'AND'. * Defaults to 'AND'.
* @return Query the criteria object itself * @return Query the criteria object itself
* @since 1.0.10
*/ */
public function addColumnCondition($columns, $columnOperator = 'AND', $operator = 'AND') public function addColumnCondition($columns, $columnOperator = 'AND', $operator = 'AND')
{ {
...@@ -428,7 +423,6 @@ class Query extends \yii\base\Object ...@@ -428,7 +423,6 @@ class Query extends \yii\base\Object
* character on both ends. When this parameter is false, the value will be directly used for * character on both ends. When this parameter is false, the value will be directly used for
* matching without any change. * matching without any change.
* @return Query the criteria object itself * @return Query the criteria object itself
* @since 1.1.1
*/ */
public function compare($column, $value, $partialMatch = false, $operator = 'AND', $escape = true) public function compare($column, $value, $partialMatch = false, $operator = 'AND', $escape = true)
{ {
...@@ -482,7 +476,6 @@ class Query extends \yii\base\Object ...@@ -482,7 +476,6 @@ class Query extends \yii\base\Object
* @param string $operator the operator used to concatenate the new condition with the existing one. * @param string $operator the operator used to concatenate the new condition with the existing one.
* Defaults to 'AND'. * Defaults to 'AND'.
* @return Query the criteria object itself * @return Query the criteria object itself
* @since 1.1.2
*/ */
public function addBetweenCondition($column, $valueStart, $valueEnd, $operator = 'AND') public function addBetweenCondition($column, $valueStart, $valueEnd, $operator = 'AND')
{ {
......
...@@ -74,7 +74,6 @@ class QueryBuilder extends \yii\base\Object ...@@ -74,7 +74,6 @@ class QueryBuilder extends \yii\base\Object
* @param string $table the table that new rows will be inserted into. * @param string $table the table that new rows will be inserted into.
* @param array $columns the column data (name=>value) to be inserted into the table. * @param array $columns the column data (name=>value) to be inserted into the table.
* @return integer number of rows affected by the execution. * @return integer number of rows affected by the execution.
* @since 1.1.6
*/ */
public function insert($table, $columns, &$params = array()) public function insert($table, $columns, &$params = array())
{ {
...@@ -110,7 +109,6 @@ class QueryBuilder extends \yii\base\Object ...@@ -110,7 +109,6 @@ class QueryBuilder extends \yii\base\Object
* refer to {@link where} on how to specify conditions. * refer to {@link where} on how to specify conditions.
* @param array $params the parameters to be bound to the query. * @param array $params the parameters to be bound to the query.
* @return integer number of rows affected by the execution. * @return integer number of rows affected by the execution.
* @since 1.1.6
*/ */
public function update($table, $columns, $conditions = '', &$params = array()) public function update($table, $columns, $conditions = '', &$params = array())
{ {
...@@ -144,7 +142,6 @@ class QueryBuilder extends \yii\base\Object ...@@ -144,7 +142,6 @@ class QueryBuilder extends \yii\base\Object
* refer to {@link where} on how to specify conditions. * refer to {@link where} on how to specify conditions.
* @param array $params the parameters to be bound to the query. * @param array $params the parameters to be bound to the query.
* @return integer number of rows affected by the execution. * @return integer number of rows affected by the execution.
* @since 1.1.6
*/ */
public function delete($table, $conditions = '') public function delete($table, $conditions = '')
{ {
...@@ -224,7 +221,6 @@ class QueryBuilder extends \yii\base\Object ...@@ -224,7 +221,6 @@ class QueryBuilder extends \yii\base\Object
* into the physical one. Anything that is not recognized as abstract type will be kept in the generated SQL. * into the physical one. Anything that is not recognized as abstract type will be kept in the generated SQL.
* For example, 'string' will be turned into 'varchar(255)', while 'string not null' will become 'varchar(255) not null'. * For example, 'string' will be turned into 'varchar(255)', while 'string not null' will become 'varchar(255) not null'.
* @return string the SQL statement for adding a new column. * @return string the SQL statement for adding a new column.
* @since 1.1.6
*/ */
public function addColumn($table, $column, $type) public function addColumn($table, $column, $type)
{ {
...@@ -238,7 +234,6 @@ class QueryBuilder extends \yii\base\Object ...@@ -238,7 +234,6 @@ class QueryBuilder extends \yii\base\Object
* @param string $table the table whose column is to be dropped. The name will be properly quoted by the method. * @param string $table the table whose column is to be dropped. The name will be properly quoted by the method.
* @param string $column the name of the column to be dropped. The name will be properly quoted by the method. * @param string $column the name of the column to be dropped. The name will be properly quoted by the method.
* @return string the SQL statement for dropping a DB column. * @return string the SQL statement for dropping a DB column.
* @since 1.1.6
*/ */
public function dropColumn($table, $column) public function dropColumn($table, $column)
{ {
...@@ -252,7 +247,6 @@ class QueryBuilder extends \yii\base\Object ...@@ -252,7 +247,6 @@ class QueryBuilder extends \yii\base\Object
* @param string $name the old name of the column. The name will be properly quoted by the method. * @param string $name the old name of the column. The name will be properly quoted by the method.
* @param string $newName the new name of the column. The name will be properly quoted by the method. * @param string $newName the new name of the column. The name will be properly quoted by the method.
* @return string the SQL statement for renaming a DB column. * @return string the SQL statement for renaming a DB column.
* @since 1.1.6
*/ */
public function renameColumn($table, $name, $newName) public function renameColumn($table, $name, $newName)
{ {
......
...@@ -45,7 +45,6 @@ class QueryBuilder extends \yii\db\dao\QueryBuilder ...@@ -45,7 +45,6 @@ class QueryBuilder extends \yii\db\dao\QueryBuilder
* @param string $name the old name of the column. The name will be properly quoted by the method. * @param string $name the old name of the column. The name will be properly quoted by the method.
* @param string $newName the new name of the column. The name will be properly quoted by the method. * @param string $newName the new name of the column. The name will be properly quoted by the method.
* @return string the SQL statement for renaming a DB column. * @return string the SQL statement for renaming a DB column.
* @since 1.1.6
*/ */
public function renameColumn($table, $name, $newName) public function renameColumn($table, $name, $newName)
{ {
...@@ -77,7 +76,6 @@ class QueryBuilder extends \yii\db\dao\QueryBuilder ...@@ -77,7 +76,6 @@ class QueryBuilder extends \yii\db\dao\QueryBuilder
* @param string $name the name of the foreign key constraint to be dropped. The name will be properly quoted by the method. * @param string $name the name of the foreign key constraint to be dropped. The name will be properly quoted by the method.
* @param string $table the table whose foreign is to be dropped. The name will be properly quoted by the method. * @param string $table the table whose foreign is to be dropped. The name will be properly quoted by the method.
* @return string the SQL statement for dropping a foreign key constraint. * @return string the SQL statement for dropping a foreign key constraint.
* @since 1.1.6
*/ */
public function dropForeignKey($name, $table) public function dropForeignKey($name, $table)
{ {
......
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
* @author Qiang Xue <qiang.xue@gmail.com> * @author Qiang Xue <qiang.xue@gmail.com>
* @version $Id: CProfileLogRoute.php 3204 2011-05-05 21:36:32Z alexander.makarow $ * @version $Id: CProfileLogRoute.php 3204 2011-05-05 21:36:32Z alexander.makarow $
* @package system.logging * @package system.logging
* @since 1.0 * @since 2.0
*/ */
class CProfileLogRoute extends CWebLogRoute class CProfileLogRoute extends CWebLogRoute
{ {
...@@ -32,7 +32,6 @@ class CProfileLogRoute extends CWebLogRoute ...@@ -32,7 +32,6 @@ class CProfileLogRoute extends CWebLogRoute
* If false, the results will be aggregated by categories. * If false, the results will be aggregated by categories.
* Defaults to true. Note that this property only affects the summary report * Defaults to true. Note that this property only affects the summary report
* that is enabled when {@link report} is 'summary'. * that is enabled when {@link report} is 'summary'.
* @since 1.0.6
*/ */
public $groupByToken = true; public $groupByToken = true;
/** /**
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
* @author Qiang Xue <qiang.xue@gmail.com> * @author Qiang Xue <qiang.xue@gmail.com>
* @version $Id: CWebLogRoute.php 3001 2011-02-24 16:42:44Z alexander.makarow $ * @version $Id: CWebLogRoute.php 3001 2011-02-24 16:42:44Z alexander.makarow $
* @package system.logging * @package system.logging
* @since 1.0 * @since 2.0
*/ */
class CWebLogRoute extends CLogRoute class CWebLogRoute extends CLogRoute
{ {
...@@ -32,7 +32,7 @@ class CWebLogRoute extends CLogRoute ...@@ -32,7 +32,7 @@ class CWebLogRoute extends CLogRoute
* For example if the ajax call expects a json type result any output from the logger will cause ajax call to fail. * For example if the ajax call expects a json type result any output from the logger will cause ajax call to fail.
*/ */
public $ignoreAjaxInFireBug = true; public $ignoreAjaxInFireBug = true;
/** /**
* Displays the log messages. * Displays the log messages.
* @param array $logs list of log messages * @param array $logs list of log messages
......
...@@ -18,7 +18,7 @@ namespace yii\validators; ...@@ -18,7 +18,7 @@ namespace yii\validators;
* @author Qiang Xue <qiang.xue@gmail.com> * @author Qiang Xue <qiang.xue@gmail.com>
* @version $Id: CDateValidator.php 2799 2011-01-01 19:31:13Z qiang.xue $ * @version $Id: CDateValidator.php 2799 2011-01-01 19:31:13Z qiang.xue $
* @package system.validators * @package system.validators
* @since 1.1.7 * @since 2.0
*/ */
class CDateValidator extends Validator class CDateValidator extends Validator
{ {
......
...@@ -18,7 +18,7 @@ namespace yii\validators; ...@@ -18,7 +18,7 @@ namespace yii\validators;
* @author Qiang Xue <qiang.xue@gmail.com> * @author Qiang Xue <qiang.xue@gmail.com>
* @version $Id: CExistValidator.php 2799 2011-01-01 19:31:13Z qiang.xue $ * @version $Id: CExistValidator.php 2799 2011-01-01 19:31:13Z qiang.xue $
* @package system.validators * @package system.validators
* @since 1.0.4 * @since 2.0
*/ */
class CExistValidator extends Validator class CExistValidator extends Validator
{ {
...@@ -41,7 +41,6 @@ class CExistValidator extends Validator ...@@ -41,7 +41,6 @@ class CExistValidator extends Validator
* @var array additional query criteria. This will be combined with the condition * @var array additional query criteria. This will be combined with the condition
* that checks if the attribute value exists in the corresponding table column. * that checks if the attribute value exists in the corresponding table column.
* This array will be used to instantiate a {@link CDbCriteria} object. * This array will be used to instantiate a {@link CDbCriteria} object.
* @since 1.0.8
*/ */
public $criteria = array(); public $criteria = array();
/** /**
......
...@@ -42,7 +42,7 @@ namespace yii\validators; ...@@ -42,7 +42,7 @@ namespace yii\validators;
* @author Qiang Xue <qiang.xue@gmail.com> * @author Qiang Xue <qiang.xue@gmail.com>
* @version $Id: CFileValidator.php 2799 2011-01-01 19:31:13Z qiang.xue $ * @version $Id: CFileValidator.php 2799 2011-01-01 19:31:13Z qiang.xue $
* @package system.validators * @package system.validators
* @since 1.0 * @since 2.0
*/ */
class CFileValidator extends Validator class CFileValidator extends Validator
{ {
......
...@@ -35,7 +35,6 @@ class CUniqueValidator extends Validator ...@@ -35,7 +35,6 @@ class CUniqueValidator extends Validator
* the class of the object currently being validated. * the class of the object currently being validated.
* You may use path alias to reference a class name here. * You may use path alias to reference a class name here.
* @see attributeName * @see attributeName
* @since 1.0.8
*/ */
public $className; public $className;
/** /**
...@@ -43,14 +42,12 @@ class CUniqueValidator extends Validator ...@@ -43,14 +42,12 @@ class CUniqueValidator extends Validator
* used to look for the attribute value being validated. Defaults to null, * used to look for the attribute value being validated. Defaults to null,
* meaning using the name of the attribute being validated. * meaning using the name of the attribute being validated.
* @see className * @see className
* @since 1.0.8
*/ */
public $attributeName; public $attributeName;
/** /**
* @var array additional query criteria. This will be combined with the condition * @var array additional query criteria. This will be combined with the condition
* that checks if the attribute value exists in the corresponding table column. * that checks if the attribute value exists in the corresponding table column.
* This array will be used to instantiate a {@link CDbCriteria} object. * This array will be used to instantiate a {@link CDbCriteria} object.
* @since 1.0.8
*/ */
public $criteria = array(); public $criteria = array();
/** /**
...@@ -61,7 +58,6 @@ class CUniqueValidator extends Validator ...@@ -61,7 +58,6 @@ class CUniqueValidator extends Validator
/** /**
* @var boolean whether this validation rule should be skipped if when there is already a validation * @var boolean whether this validation rule should be skipped if when there is already a validation
* error for the current attribute. Defaults to true. * error for the current attribute. Defaults to true.
* @since 1.1.1
*/ */
public $skipOnError = true; public $skipOnError = true;
......
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