Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yii2
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PSDI Army
yii2
Commits
f8ea5882
Commit
f8ea5882
authored
Dec 09, 2011
by
Alexander Makarov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cleaned up @since
parent
4a8259ff
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
9 additions
and
73 deletions
+9
-73
Application.php
framework/base/Application.php
+0
-5
Module.php
framework/base/Module.php
+0
-1
Migration.php
framework/db/Migration.php
+2
-5
ActiveRecord.php
framework/db/ar/ActiveRecord.php
+0
-0
ActiveRecordBehavior.php
framework/db/ar/ActiveRecordBehavior.php
+1
-2
Command.php
framework/db/dao/Command.php
+0
-33
Query.php
framework/db/dao/Query.php
+0
-7
QueryBuilder.php
framework/db/dao/QueryBuilder.php
+0
-6
QueryBuilder.php
framework/db/dao/mysql/QueryBuilder.php
+0
-2
ProfileTarget.php
framework/logging/ProfileTarget.php
+1
-2
WebTarget.php
framework/logging/WebTarget.php
+2
-2
DateValidator.php
framework/validators/DateValidator.php
+1
-1
ExistValidator.php
framework/validators/ExistValidator.php
+1
-2
FileValidator.php
framework/validators/FileValidator.php
+1
-1
UniqueValidator.php
framework/validators/UniqueValidator.php
+0
-4
No files found.
framework/base/Application.php
View file @
f8ea5882
...
...
@@ -321,7 +321,6 @@ abstract class Application extends Module
* This is a simple wrapper of PHP function date_default_timezone_get().
* @return string the time zone used by this application.
* @see http://php.net/manual/en/function.date-default-timezone-get.php
* @since 1.0.9
*/
public
function
getTimeZone
()
{
...
...
@@ -333,7 +332,6 @@ abstract class Application extends Module
* This is a simple wrapper of PHP function date_default_timezone_set().
* @param string $value the time zone used by this application.
* @see http://php.net/manual/en/function.date-default-timezone-set.php
* @since 1.0.9
*/
public
function
setTimeZone
(
$value
)
{
...
...
@@ -384,7 +382,6 @@ abstract class Application extends Module
/**
* Returns the directory that contains the locale data.
* @return string the directory that contains the locale data. It defaults to 'framework/i18n/data'.
* @since 1.1.0
*/
public
function
getLocaleDataPath
()
{
...
...
@@ -394,7 +391,6 @@ abstract class Application extends Module
/**
* Sets 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
)
{
...
...
@@ -503,7 +499,6 @@ abstract class Application extends Module
/**
* @return CController the currently active controller. Null is returned in this base class.
* @since 1.1.8
*/
public
function
getController
()
{
...
...
framework/base/Module.php
View file @
f8ea5882
...
...
@@ -273,7 +273,6 @@ abstract class Module extends Component
* Returns a value indicating whether the specified module is installed.
* @param string $id the module ID
* @return boolean whether the specified module is installed.
* @since 1.1.2
*/
public
function
hasModule
(
$id
)
{
...
...
framework/db/Migration.php
View file @
f8ea5882
...
...
@@ -30,9 +30,9 @@
* @author Qiang Xue <qiang.xue@gmail.com>
* @version $Id: CDbMigration.php 3218 2011-05-13 00:06:44Z alexander.makarow $
* @package system.db
* @since
1.1.6
* @since
2.0
*/
abstract
class
CDbMigration
extends
C
Component
abstract
class
CDbMigration
extends
yii\base\
Component
{
private
$_db
;
...
...
@@ -94,7 +94,6 @@ abstract class CDbMigration extends CComponent
* Child classes may implement this method instead of {@link up} if the DB logic
* needs to be within a transaction.
* @return boolean
* @since 1.1.7
*/
public
function
safeUp
()
{
...
...
@@ -107,7 +106,6 @@ abstract class CDbMigration extends CComponent
* Child classes may implement this method instead of {@link up} if the DB logic
* needs to be within a transaction.
* @return boolean
* @since 1.1.7
*/
public
function
safeDown
()
{
...
...
@@ -146,7 +144,6 @@ abstract class CDbMigration extends CComponent
* This method executes the specified SQL statement using {@link dbConnection}.
* @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.
* @since 1.1.7
*/
public
function
execute
(
$sql
,
$params
=
array
())
{
...
...
framework/db/ar/ActiveRecord.php
View file @
f8ea5882
This diff is collapsed.
Click to expand it.
framework/db/ar/ActiveRecordBehavior.php
View file @
f8ea5882
...
...
@@ -16,7 +16,7 @@
* @author Qiang Xue <qiang.xue@gmail.com>
* @version $Id: CActiveRecordBehavior.php 2799 2011-01-01 19:31:13Z qiang.xue $
* @package system.db.ar
* @since
1.0.2
* @since
2.0
*/
class
CActiveRecordBehavior
extends
CModelBehavior
{
...
...
@@ -80,7 +80,6 @@ class CActiveRecordBehavior extends CModelBehavior
* Responds to {@link CActiveRecord::onBeforeFind} event.
* Overrides this method if you want to handle the corresponding event of the {@link CBehavior::owner owner}.
* @param CEvent $event event parameter
* @since 1.0.9
*/
public
function
beforeFind
(
$event
)
{
...
...
framework/db/dao/Command.php
View file @
f8ea5882
This diff is collapsed.
Click to expand it.
framework/db/dao/Query.php
View file @
f8ea5882
...
...
@@ -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 string $operator the operator to join different conditions. Defaults to 'AND'.
* @return Query the criteria object itself
* @since 1.0.9
*/
public
function
addCondition
(
$condition
,
$operator
=
'AND'
)
{
...
...
@@ -269,7 +268,6 @@ class Query extends \yii\base\Object
* Defaults to 'AND'.
* @param string $like the LIKE operator. Defaults to 'LIKE'. You may also set this to be 'NOT LIKE'.
* @return Query the criteria object itself
* @since 1.0.10
*/
public
function
addSearchCondition
(
$column
,
$keyword
,
$escape
=
true
,
$operator
=
'AND'
,
$like
=
'LIKE'
)
{
...
...
@@ -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.
* Defaults to 'AND'.
* @return Query the criteria object itself
* @since 1.0.10
*/
public
function
addInCondition
(
$column
,
$values
,
$operator
=
'AND'
)
{
...
...
@@ -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.
* Defaults to 'AND'.
* @return Query the criteria object itself
* @since 1.1.1
*/
public
function
addNotInCondition
(
$column
,
$values
,
$operator
=
'AND'
)
{
...
...
@@ -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.
* Defaults to 'AND'.
* @return Query the criteria object itself
* @since 1.0.10
*/
public
function
addColumnCondition
(
$columns
,
$columnOperator
=
'AND'
,
$operator
=
'AND'
)
{
...
...
@@ -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
* matching without any change.
* @return Query the criteria object itself
* @since 1.1.1
*/
public
function
compare
(
$column
,
$value
,
$partialMatch
=
false
,
$operator
=
'AND'
,
$escape
=
true
)
{
...
...
@@ -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.
* Defaults to 'AND'.
* @return Query the criteria object itself
* @since 1.1.2
*/
public
function
addBetweenCondition
(
$column
,
$valueStart
,
$valueEnd
,
$operator
=
'AND'
)
{
...
...
framework/db/dao/QueryBuilder.php
View file @
f8ea5882
...
...
@@ -74,7 +74,6 @@ class QueryBuilder extends \yii\base\Object
* @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.
* @return integer number of rows affected by the execution.
* @since 1.1.6
*/
public
function
insert
(
$table
,
$columns
,
&
$params
=
array
())
{
...
...
@@ -110,7 +109,6 @@ class QueryBuilder extends \yii\base\Object
* refer to {@link where} on how to specify conditions.
* @param array $params the parameters to be bound to the query.
* @return integer number of rows affected by the execution.
* @since 1.1.6
*/
public
function
update
(
$table
,
$columns
,
$conditions
=
''
,
&
$params
=
array
())
{
...
...
@@ -144,7 +142,6 @@ class QueryBuilder extends \yii\base\Object
* refer to {@link where} on how to specify conditions.
* @param array $params the parameters to be bound to the query.
* @return integer number of rows affected by the execution.
* @since 1.1.6
*/
public
function
delete
(
$table
,
$conditions
=
''
)
{
...
...
@@ -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.
* 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.
* @since 1.1.6
*/
public
function
addColumn
(
$table
,
$column
,
$type
)
{
...
...
@@ -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 $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.
* @since 1.1.6
*/
public
function
dropColumn
(
$table
,
$column
)
{
...
...
@@ -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 $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.
* @since 1.1.6
*/
public
function
renameColumn
(
$table
,
$name
,
$newName
)
{
...
...
framework/db/dao/mysql/QueryBuilder.php
View file @
f8ea5882
...
...
@@ -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 $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.
* @since 1.1.6
*/
public
function
renameColumn
(
$table
,
$name
,
$newName
)
{
...
...
@@ -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 $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.
* @since 1.1.6
*/
public
function
dropForeignKey
(
$name
,
$table
)
{
...
...
framework/logging/ProfileTarget.php
View file @
f8ea5882
...
...
@@ -23,7 +23,7 @@
* @author Qiang Xue <qiang.xue@gmail.com>
* @version $Id: CProfileLogRoute.php 3204 2011-05-05 21:36:32Z alexander.makarow $
* @package system.logging
* @since
1
.0
* @since
2
.0
*/
class
CProfileLogRoute
extends
CWebLogRoute
{
...
...
@@ -32,7 +32,6 @@ class CProfileLogRoute extends CWebLogRoute
* If false, the results will be aggregated by categories.
* Defaults to true. Note that this property only affects the summary report
* that is enabled when {@link report} is 'summary'.
* @since 1.0.6
*/
public
$groupByToken
=
true
;
/**
...
...
framework/logging/WebTarget.php
View file @
f8ea5882
...
...
@@ -17,7 +17,7 @@
* @author Qiang Xue <qiang.xue@gmail.com>
* @version $Id: CWebLogRoute.php 3001 2011-02-24 16:42:44Z alexander.makarow $
* @package system.logging
* @since
1
.0
* @since
2
.0
*/
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.
*/
public
$ignoreAjaxInFireBug
=
true
;
/**
* Displays the log messages.
* @param array $logs list of log messages
...
...
framework/validators/DateValidator.php
View file @
f8ea5882
...
...
@@ -18,7 +18,7 @@ namespace yii\validators;
* @author Qiang Xue <qiang.xue@gmail.com>
* @version $Id: CDateValidator.php 2799 2011-01-01 19:31:13Z qiang.xue $
* @package system.validators
* @since
1.1.7
* @since
2.0
*/
class
CDateValidator
extends
Validator
{
...
...
framework/validators/ExistValidator.php
View file @
f8ea5882
...
...
@@ -18,7 +18,7 @@ namespace yii\validators;
* @author Qiang Xue <qiang.xue@gmail.com>
* @version $Id: CExistValidator.php 2799 2011-01-01 19:31:13Z qiang.xue $
* @package system.validators
* @since
1.0.4
* @since
2.0
*/
class
CExistValidator
extends
Validator
{
...
...
@@ -41,7 +41,6 @@ class CExistValidator extends Validator
* @var array additional query criteria. This will be combined with the condition
* that checks if the attribute value exists in the corresponding table column.
* This array will be used to instantiate a {@link CDbCriteria} object.
* @since 1.0.8
*/
public
$criteria
=
array
();
/**
...
...
framework/validators/FileValidator.php
View file @
f8ea5882
...
...
@@ -42,7 +42,7 @@ namespace yii\validators;
* @author Qiang Xue <qiang.xue@gmail.com>
* @version $Id: CFileValidator.php 2799 2011-01-01 19:31:13Z qiang.xue $
* @package system.validators
* @since
1
.0
* @since
2
.0
*/
class
CFileValidator
extends
Validator
{
...
...
framework/validators/UniqueValidator.php
View file @
f8ea5882
...
...
@@ -35,7 +35,6 @@ class CUniqueValidator extends Validator
* the class of the object currently being validated.
* You may use path alias to reference a class name here.
* @see attributeName
* @since 1.0.8
*/
public
$className
;
/**
...
...
@@ -43,14 +42,12 @@ class CUniqueValidator extends Validator
* used to look for the attribute value being validated. Defaults to null,
* meaning using the name of the attribute being validated.
* @see className
* @since 1.0.8
*/
public
$attributeName
;
/**
* @var array additional query criteria. This will be combined with the condition
* that checks if the attribute value exists in the corresponding table column.
* This array will be used to instantiate a {@link CDbCriteria} object.
* @since 1.0.8
*/
public
$criteria
=
array
();
/**
...
...
@@ -61,7 +58,6 @@ class CUniqueValidator extends Validator
/**
* @var boolean whether this validation rule should be skipped if when there is already a validation
* error for the current attribute. Defaults to true.
* @since 1.1.1
*/
public
$skipOnError
=
true
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment