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
9212c16c
Commit
9212c16c
authored
Sep 28, 2013
by
Alexander Makarov
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master'
parents
bf722c04
b873f9f2
Show whitespace changes
Inline
Side-by-side
Showing
31 changed files
with
70 additions
and
70 deletions
+70
-70
build.xml
build/build.xml
+1
-1
ClassmapController.php
build/controllers/ClassmapController.php
+1
-1
PhpDocController.php
build/controllers/PhpDocController.php
+1
-1
autoloader.md
docs/internals/autoloader.md
+2
-2
BaseYii.php
framework/yii/BaseYii.php
+4
-4
Yii.php
framework/yii/Yii.php
+4
-4
classes.php
framework/yii/classes.php
+11
-11
ArrayHelper.php
framework/yii/helpers/ArrayHelper.php
+1
-1
BaseArrayHelper.php
framework/yii/helpers/BaseArrayHelper.php
+3
-3
BaseConsole.php
framework/yii/helpers/BaseConsole.php
+3
-3
BaseFileHelper.php
framework/yii/helpers/BaseFileHelper.php
+3
-3
BaseHtml.php
framework/yii/helpers/BaseHtml.php
+3
-3
BaseHtmlPurifier.php
framework/yii/helpers/BaseHtmlPurifier.php
+3
-3
BaseInflector.php
framework/yii/helpers/BaseInflector.php
+3
-3
BaseJson.php
framework/yii/helpers/BaseJson.php
+3
-3
BaseMarkdown.php
framework/yii/helpers/BaseMarkdown.php
+3
-3
BaseSecurity.php
framework/yii/helpers/BaseSecurity.php
+3
-3
BaseStringHelper.php
framework/yii/helpers/BaseStringHelper.php
+3
-3
BaseVarDumper.php
framework/yii/helpers/BaseVarDumper.php
+3
-3
Console.php
framework/yii/helpers/Console.php
+1
-1
FileHelper.php
framework/yii/helpers/FileHelper.php
+1
-1
Html.php
framework/yii/helpers/Html.php
+1
-1
HtmlPurifier.php
framework/yii/helpers/HtmlPurifier.php
+1
-1
Inflector.php
framework/yii/helpers/Inflector.php
+1
-1
Json.php
framework/yii/helpers/Json.php
+1
-1
Markdown.php
framework/yii/helpers/Markdown.php
+1
-1
Security.php
framework/yii/helpers/Security.php
+1
-1
StringHelper.php
framework/yii/helpers/StringHelper.php
+1
-1
VarDumper.php
framework/yii/helpers/VarDumper.php
+1
-1
Logger.php
framework/yii/log/Logger.php
+1
-1
Response.php
framework/yii/web/Response.php
+1
-1
No files found.
build/build.xml
View file @
9212c16c
...
@@ -265,7 +265,7 @@ Please update yiisite/common/data/versions.php file with the following code:
...
@@ -265,7 +265,7 @@ Please update yiisite/common/data/versions.php file with the following code:
where
<
target name
>
can be one of the following:
where
<
target name
>
can be one of the following:
- sync : synchronize yiilite.php and
YiiBase
.php
- sync : synchronize yiilite.php and
BaseYii
.php
- message : extract i18n messages of the framework
- message : extract i18n messages of the framework
- src : build source release
- src : build source release
- doc : build documentation release (Windows only)
- doc : build documentation release (Windows only)
...
...
build/controllers/ClassmapController.php
View file @
9212c16c
...
@@ -45,7 +45,7 @@ class ClassmapController extends Controller
...
@@ -45,7 +45,7 @@ class ClassmapController extends Controller
'only'
=>
array
(
'.php'
),
'only'
=>
array
(
'.php'
),
'except'
=>
array
(
'except'
=>
array
(
'Yii.php'
,
'Yii.php'
,
'
YiiBase
.php'
,
'
BaseYii
.php'
,
'/debug/'
,
'/debug/'
,
'/console/'
,
'/console/'
,
'/test/'
,
'/test/'
,
...
...
build/controllers/PhpDocController.php
View file @
9212c16c
...
@@ -56,7 +56,7 @@ class PhpDocController extends Controller
...
@@ -56,7 +56,7 @@ class PhpDocController extends Controller
},
},
'only'
=>
array
(
'.php'
),
'only'
=>
array
(
'.php'
),
'except'
=>
array
(
'except'
=>
array
(
'
YiiBase
.php'
,
'
BaseYii
.php'
,
'Yii.php'
,
'Yii.php'
,
'/debug/views/'
,
'/debug/views/'
,
'/requirements/'
,
'/requirements/'
,
...
...
docs/internals/autoloader.md
View file @
9212c16c
...
@@ -16,4 +16,4 @@ PEAR-style libraries
...
@@ -16,4 +16,4 @@ PEAR-style libraries
References
References
----------
----------
-
YiiBase::autoload
-
BaseYii::autoload
\ No newline at end of file
\ No newline at end of file
framework/yii/
YiiBase
.php
→
framework/yii/
BaseYii
.php
View file @
9212c16c
...
@@ -49,15 +49,15 @@ defined('YII_ENABLE_ERROR_HANDLER') or define('YII_ENABLE_ERROR_HANDLER', true);
...
@@ -49,15 +49,15 @@ defined('YII_ENABLE_ERROR_HANDLER') or define('YII_ENABLE_ERROR_HANDLER', true);
/**
/**
*
YiiBase
is the core helper class for the Yii framework.
*
BaseYii
is the core helper class for the Yii framework.
*
*
* Do not use
YiiBase
directly. Instead, use its child class [[Yii]] where
* Do not use
BaseYii
directly. Instead, use its child class [[Yii]] where
* you can customize methods of
YiiBase
.
* you can customize methods of
BaseYii
.
*
*
* @author Qiang Xue <qiang.xue@gmail.com>
* @author Qiang Xue <qiang.xue@gmail.com>
* @since 2.0
* @since 2.0
*/
*/
class
YiiBase
class
BaseYii
{
{
/**
/**
* @var array class map used by the Yii autoloading mechanism.
* @var array class map used by the Yii autoloading mechanism.
...
...
framework/yii/Yii.php
View file @
9212c16c
...
@@ -7,18 +7,18 @@
...
@@ -7,18 +7,18 @@
* @license http://www.yiiframework.com/license/
* @license http://www.yiiframework.com/license/
*/
*/
require
(
__DIR__
.
'/
YiiBase
.php'
);
require
(
__DIR__
.
'/
BaseYii
.php'
);
/**
/**
* Yii is a helper class serving common framework functionalities.
* Yii is a helper class serving common framework functionalities.
*
*
* It extends from [[
YiiBase
]] which provides the actual implementation.
* It extends from [[
BaseYii
]] which provides the actual implementation.
* By writing your own Yii class, you can customize some functionalities of [[
YiiBase
]].
* By writing your own Yii class, you can customize some functionalities of [[
BaseYii
]].
*
*
* @author Qiang Xue <qiang.xue@gmail.com>
* @author Qiang Xue <qiang.xue@gmail.com>
* @since 2.0
* @since 2.0
*/
*/
class
Yii
extends
\yii\
YiiBase
class
Yii
extends
\yii\
BaseYii
{
{
}
}
...
...
framework/yii/classes.php
View file @
9212c16c
...
@@ -125,27 +125,27 @@ return array(
...
@@ -125,27 +125,27 @@ return array(
'yii\grid\GridViewAsset'
=>
YII_PATH
.
'/grid/GridViewAsset.php'
,
'yii\grid\GridViewAsset'
=>
YII_PATH
.
'/grid/GridViewAsset.php'
,
'yii\grid\SerialColumn'
=>
YII_PATH
.
'/grid/SerialColumn.php'
,
'yii\grid\SerialColumn'
=>
YII_PATH
.
'/grid/SerialColumn.php'
,
'yii\helpers\ArrayHelper'
=>
YII_PATH
.
'/helpers/ArrayHelper.php'
,
'yii\helpers\ArrayHelper'
=>
YII_PATH
.
'/helpers/ArrayHelper.php'
,
'yii\helpers\
ArrayHelperBase'
=>
YII_PATH
.
'/helpers/ArrayHelperBase
.php'
,
'yii\helpers\
BaseArrayHelper'
=>
YII_PATH
.
'/helpers/BaseArrayHelper
.php'
,
'yii\helpers\Console'
=>
YII_PATH
.
'/helpers/Console.php'
,
'yii\helpers\Console'
=>
YII_PATH
.
'/helpers/Console.php'
,
'yii\helpers\
ConsoleBase'
=>
YII_PATH
.
'/helpers/ConsoleBas
e.php'
,
'yii\helpers\
BaseConsole'
=>
YII_PATH
.
'/helpers/BaseConsol
e.php'
,
'yii\helpers\FileHelper'
=>
YII_PATH
.
'/helpers/FileHelper.php'
,
'yii\helpers\FileHelper'
=>
YII_PATH
.
'/helpers/FileHelper.php'
,
'yii\helpers\
FileHelperBase'
=>
YII_PATH
.
'/helpers/FileHelperBase
.php'
,
'yii\helpers\
BaseFileHelper'
=>
YII_PATH
.
'/helpers/BaseFileHelper
.php'
,
'yii\helpers\Html'
=>
YII_PATH
.
'/helpers/Html.php'
,
'yii\helpers\Html'
=>
YII_PATH
.
'/helpers/Html.php'
,
'yii\helpers\
HtmlBase'
=>
YII_PATH
.
'/helpers/HtmlBase
.php'
,
'yii\helpers\
BaseHtml'
=>
YII_PATH
.
'/helpers/BaseHtml
.php'
,
'yii\helpers\HtmlPurifier'
=>
YII_PATH
.
'/helpers/HtmlPurifier.php'
,
'yii\helpers\HtmlPurifier'
=>
YII_PATH
.
'/helpers/HtmlPurifier.php'
,
'yii\helpers\
HtmlPurifierBase'
=>
YII_PATH
.
'/helpers/HtmlPurifierBase
.php'
,
'yii\helpers\
BaseHtmlPurifier'
=>
YII_PATH
.
'/helpers/BaseHtmlPurifier
.php'
,
'yii\helpers\Inflector'
=>
YII_PATH
.
'/helpers/Inflector.php'
,
'yii\helpers\Inflector'
=>
YII_PATH
.
'/helpers/Inflector.php'
,
'yii\helpers\
InflectorBase'
=>
YII_PATH
.
'/helpers/InflectorBase
.php'
,
'yii\helpers\
BaseInflector'
=>
YII_PATH
.
'/helpers/BaseInflector
.php'
,
'yii\helpers\Json'
=>
YII_PATH
.
'/helpers/Json.php'
,
'yii\helpers\Json'
=>
YII_PATH
.
'/helpers/Json.php'
,
'yii\helpers\
JsonBase'
=>
YII_PATH
.
'/helpers/JsonBase
.php'
,
'yii\helpers\
BaseJson'
=>
YII_PATH
.
'/helpers/BaseJson
.php'
,
'yii\helpers\Markdown'
=>
YII_PATH
.
'/helpers/Markdown.php'
,
'yii\helpers\Markdown'
=>
YII_PATH
.
'/helpers/Markdown.php'
,
'yii\helpers\
MarkdownBase'
=>
YII_PATH
.
'/helpers/MarkdownBase
.php'
,
'yii\helpers\
BaseMarkdown'
=>
YII_PATH
.
'/helpers/BaseMarkdown
.php'
,
'yii\helpers\Security'
=>
YII_PATH
.
'/helpers/Security.php'
,
'yii\helpers\Security'
=>
YII_PATH
.
'/helpers/Security.php'
,
'yii\helpers\
SecurityBase'
=>
YII_PATH
.
'/helpers/SecurityBase
.php'
,
'yii\helpers\
BaseSecurity'
=>
YII_PATH
.
'/helpers/BaseSecurity
.php'
,
'yii\helpers\StringHelper'
=>
YII_PATH
.
'/helpers/StringHelper.php'
,
'yii\helpers\StringHelper'
=>
YII_PATH
.
'/helpers/StringHelper.php'
,
'yii\helpers\
StringHelperBase'
=>
YII_PATH
.
'/helpers/StringHelperBase
.php'
,
'yii\helpers\
BaseStringHelper'
=>
YII_PATH
.
'/helpers/BaseStringHelper
.php'
,
'yii\helpers\VarDumper'
=>
YII_PATH
.
'/helpers/VarDumper.php'
,
'yii\helpers\VarDumper'
=>
YII_PATH
.
'/helpers/VarDumper.php'
,
'yii\helpers\
VarDumperBase'
=>
YII_PATH
.
'/helpers/VarDumperBase
.php'
,
'yii\helpers\
BaseVarDumper'
=>
YII_PATH
.
'/helpers/BaseVarDumper
.php'
,
'yii\i18n\DbMessageSource'
=>
YII_PATH
.
'/i18n/DbMessageSource.php'
,
'yii\i18n\DbMessageSource'
=>
YII_PATH
.
'/i18n/DbMessageSource.php'
,
'yii\i18n\Formatter'
=>
YII_PATH
.
'/i18n/Formatter.php'
,
'yii\i18n\Formatter'
=>
YII_PATH
.
'/i18n/Formatter.php'
,
'yii\i18n\GettextFile'
=>
YII_PATH
.
'/i18n/GettextFile.php'
,
'yii\i18n\GettextFile'
=>
YII_PATH
.
'/i18n/GettextFile.php'
,
...
...
framework/yii/helpers/ArrayHelper.php
View file @
9212c16c
...
@@ -14,6 +14,6 @@ namespace yii\helpers;
...
@@ -14,6 +14,6 @@ namespace yii\helpers;
* @author Qiang Xue <qiang.xue@gmail.com>
* @author Qiang Xue <qiang.xue@gmail.com>
* @since 2.0
* @since 2.0
*/
*/
class
ArrayHelper
extends
ArrayHelperBase
class
ArrayHelper
extends
BaseArrayHelper
{
{
}
}
framework/yii/helpers/
ArrayHelperBase
.php
→
framework/yii/helpers/
BaseArrayHelper
.php
View file @
9212c16c
...
@@ -12,14 +12,14 @@ use yii\base\Arrayable;
...
@@ -12,14 +12,14 @@ use yii\base\Arrayable;
use
yii\base\InvalidParamException
;
use
yii\base\InvalidParamException
;
/**
/**
*
ArrayHelperBase
provides concrete implementation for [[ArrayHelper]].
*
BaseArrayHelper
provides concrete implementation for [[ArrayHelper]].
*
*
* Do not use
ArrayHelperBase
. Use [[ArrayHelper]] instead.
* Do not use
BaseArrayHelper
. Use [[ArrayHelper]] instead.
*
*
* @author Qiang Xue <qiang.xue@gmail.com>
* @author Qiang Xue <qiang.xue@gmail.com>
* @since 2.0
* @since 2.0
*/
*/
class
ArrayHelperBase
class
BaseArrayHelper
{
{
/**
/**
* Converts an object or an array of objects into an array.
* Converts an object or an array of objects into an array.
...
...
framework/yii/helpers/
ConsoleBas
e.php
→
framework/yii/helpers/
BaseConsol
e.php
View file @
9212c16c
...
@@ -8,14 +8,14 @@
...
@@ -8,14 +8,14 @@
namespace
yii\helpers
;
namespace
yii\helpers
;
/**
/**
*
ConsoleBas
e provides concrete implementation for [[Console]].
*
BaseConsol
e provides concrete implementation for [[Console]].
*
*
* Do not use
ConsoleBas
e. Use [[Console]] instead.
* Do not use
BaseConsol
e. Use [[Console]] instead.
*
*
* @author Carsten Brandt <mail@cebe.cc>
* @author Carsten Brandt <mail@cebe.cc>
* @since 2.0
* @since 2.0
*/
*/
class
ConsoleBas
e
class
BaseConsol
e
{
{
const
FG_BLACK
=
30
;
const
FG_BLACK
=
30
;
const
FG_RED
=
31
;
const
FG_RED
=
31
;
...
...
framework/yii/helpers/
FileHelperBase
.php
→
framework/yii/helpers/
BaseFileHelper
.php
View file @
9212c16c
...
@@ -12,15 +12,15 @@ namespace yii\helpers;
...
@@ -12,15 +12,15 @@ namespace yii\helpers;
use
Yii
;
use
Yii
;
/**
/**
*
FileHelperBase
provides concrete implementation for [[FileHelper]].
*
BaseFileHelper
provides concrete implementation for [[FileHelper]].
*
*
* Do not use
FileHelperBase
. Use [[FileHelper]] instead.
* Do not use
BaseFileHelper
. Use [[FileHelper]] instead.
*
*
* @author Qiang Xue <qiang.xue@gmail.com>
* @author Qiang Xue <qiang.xue@gmail.com>
* @author Alex Makarov <sam@rmcreative.ru>
* @author Alex Makarov <sam@rmcreative.ru>
* @since 2.0
* @since 2.0
*/
*/
class
FileHelperBase
class
BaseFileHelper
{
{
/**
/**
* Normalizes a file/directory path.
* Normalizes a file/directory path.
...
...
framework/yii/helpers/
HtmlBase
.php
→
framework/yii/helpers/
BaseHtml
.php
View file @
9212c16c
...
@@ -13,14 +13,14 @@ use yii\web\Request;
...
@@ -13,14 +13,14 @@ use yii\web\Request;
use
yii\base\Model
;
use
yii\base\Model
;
/**
/**
*
HtmlBase
provides concrete implementation for [[Html]].
*
BaseHtml
provides concrete implementation for [[Html]].
*
*
* Do not use
HtmlBase
. Use [[Html]] instead.
* Do not use
BaseHtml
. Use [[Html]] instead.
*
*
* @author Qiang Xue <qiang.xue@gmail.com>
* @author Qiang Xue <qiang.xue@gmail.com>
* @since 2.0
* @since 2.0
*/
*/
class
HtmlBase
class
BaseHtml
{
{
/**
/**
* @var array list of void elements (element name => 1)
* @var array list of void elements (element name => 1)
...
...
framework/yii/helpers/
HtmlPurifierBase
.php
→
framework/yii/helpers/
BaseHtmlPurifier
.php
View file @
9212c16c
...
@@ -7,14 +7,14 @@
...
@@ -7,14 +7,14 @@
namespace
yii\helpers
;
namespace
yii\helpers
;
/**
/**
*
HtmlPurifierBase
provides concrete implementation for [[HtmlPurifier]].
*
BaseHtmlPurifier
provides concrete implementation for [[HtmlPurifier]].
*
*
* Do not use
HtmlPurifierBase
. Use [[HtmlPurifier]] instead.
* Do not use
BaseHtmlPurifier
. Use [[HtmlPurifier]] instead.
*
*
* @author Alexander Makarov <sam@rmcreative.ru>
* @author Alexander Makarov <sam@rmcreative.ru>
* @since 2.0
* @since 2.0
*/
*/
class
HtmlPurifierBase
class
BaseHtmlPurifier
{
{
/**
/**
* Passes markup through HTMLPurifier making it safe to output to end user
* Passes markup through HTMLPurifier making it safe to output to end user
...
...
framework/yii/helpers/
InflectorBase
.php
→
framework/yii/helpers/
BaseInflector
.php
View file @
9212c16c
...
@@ -10,14 +10,14 @@ namespace yii\helpers;
...
@@ -10,14 +10,14 @@ namespace yii\helpers;
use
Yii
;
use
Yii
;
/**
/**
*
InflectorBase
provides concrete implementation for [[Inflector]].
*
BaseInflector
provides concrete implementation for [[Inflector]].
*
*
* Do not use
InflectorBase
. Use [[Inflector]] instead.
* Do not use
BaseInflector
. Use [[Inflector]] instead.
*
*
* @author Antonio Ramirez <amigo.cobos@gmail.com>
* @author Antonio Ramirez <amigo.cobos@gmail.com>
* @since 2.0
* @since 2.0
*/
*/
class
InflectorBase
class
BaseInflector
{
{
/**
/**
* @var array the rules for converting a word into its plural form.
* @var array the rules for converting a word into its plural form.
...
...
framework/yii/helpers/
JsonBase
.php
→
framework/yii/helpers/
BaseJson
.php
View file @
9212c16c
...
@@ -12,14 +12,14 @@ use yii\base\Arrayable;
...
@@ -12,14 +12,14 @@ use yii\base\Arrayable;
use
yii\web\JsExpression
;
use
yii\web\JsExpression
;
/**
/**
*
JsonBase
provides concrete implementation for [[Json]].
*
BaseJson
provides concrete implementation for [[Json]].
*
*
* Do not use
JsonBase
. Use [[Json]] instead.
* Do not use
BaseJson
. Use [[Json]] instead.
*
*
* @author Qiang Xue <qiang.xue@gmail.com>
* @author Qiang Xue <qiang.xue@gmail.com>
* @since 2.0
* @since 2.0
*/
*/
class
JsonBase
class
BaseJson
{
{
/**
/**
* Encodes the given value into a JSON string.
* Encodes the given value into a JSON string.
...
...
framework/yii/helpers/
MarkdownBase
.php
→
framework/yii/helpers/
BaseMarkdown
.php
View file @
9212c16c
...
@@ -10,14 +10,14 @@ namespace yii\helpers;
...
@@ -10,14 +10,14 @@ namespace yii\helpers;
use
Michelf\MarkdownExtra
;
use
Michelf\MarkdownExtra
;
/**
/**
*
MarkdownBase
provides concrete implementation for [[Markdown]].
*
BaseMarkdown
provides concrete implementation for [[Markdown]].
*
*
* Do not use
MarkdownBase
. Use [[Markdown]] instead.
* Do not use
BaseMarkdown
. Use [[Markdown]] instead.
*
*
* @author Alexander Makarov <sam@rmcreative.ru>
* @author Alexander Makarov <sam@rmcreative.ru>
* @since 2.0
* @since 2.0
*/
*/
class
MarkdownBase
class
BaseMarkdown
{
{
/**
/**
* @var MarkdownExtra
* @var MarkdownExtra
...
...
framework/yii/helpers/
SecurityBase
.php
→
framework/yii/helpers/
BaseSecurity
.php
View file @
9212c16c
...
@@ -13,15 +13,15 @@ use yii\base\InvalidConfigException;
...
@@ -13,15 +13,15 @@ use yii\base\InvalidConfigException;
use
yii\base\InvalidParamException
;
use
yii\base\InvalidParamException
;
/**
/**
*
SecurityBase
provides concrete implementation for [[Security]].
*
BaseSecurity
provides concrete implementation for [[Security]].
*
*
* Do not use
SecurityBase
. Use [[Security]] instead.
* Do not use
BaseSecurity
. Use [[Security]] instead.
*
*
* @author Qiang Xue <qiang.xue@gmail.com>
* @author Qiang Xue <qiang.xue@gmail.com>
* @author Tom Worster <fsb@thefsb.org>
* @author Tom Worster <fsb@thefsb.org>
* @since 2.0
* @since 2.0
*/
*/
class
SecurityBase
class
BaseSecurity
{
{
/**
/**
* Encrypts data.
* Encrypts data.
...
...
framework/yii/helpers/
StringHelperBase
.php
→
framework/yii/helpers/
BaseStringHelper
.php
View file @
9212c16c
...
@@ -10,15 +10,15 @@ namespace yii\helpers;
...
@@ -10,15 +10,15 @@ namespace yii\helpers;
use
yii\base\InvalidParamException
;
use
yii\base\InvalidParamException
;
/**
/**
*
StringHelperBase
provides concrete implementation for [[StringHelper]].
*
BaseStringHelper
provides concrete implementation for [[StringHelper]].
*
*
* Do not use
StringHelperBase
. Use [[StringHelper]] instead.
* Do not use
BaseStringHelper
. Use [[StringHelper]] instead.
*
*
* @author Qiang Xue <qiang.xue@gmail.com>
* @author Qiang Xue <qiang.xue@gmail.com>
* @author Alex Makarov <sam@rmcreative.ru>
* @author Alex Makarov <sam@rmcreative.ru>
* @since 2.0
* @since 2.0
*/
*/
class
StringHelperBase
class
BaseStringHelper
{
{
/**
/**
* Returns the number of bytes in the given string.
* Returns the number of bytes in the given string.
...
...
framework/yii/helpers/
VarDumperBase
.php
→
framework/yii/helpers/
BaseVarDumper
.php
View file @
9212c16c
...
@@ -9,14 +9,14 @@
...
@@ -9,14 +9,14 @@
namespace
yii\helpers
;
namespace
yii\helpers
;
/**
/**
*
VarDumperBase
provides concrete implementation for [[VarDumper]].
*
BaseVarDumper
provides concrete implementation for [[VarDumper]].
*
*
* Do not use
VarDumperBase
. Use [[VarDumper]] instead.
* Do not use
BaseVarDumper
. Use [[VarDumper]] instead.
*
*
* @author Qiang Xue <qiang.xue@gmail.com>
* @author Qiang Xue <qiang.xue@gmail.com>
* @since 2.0
* @since 2.0
*/
*/
class
VarDumperBase
class
BaseVarDumper
{
{
private
static
$_objects
;
private
static
$_objects
;
private
static
$_output
;
private
static
$_output
;
...
...
framework/yii/helpers/Console.php
View file @
9212c16c
...
@@ -14,6 +14,6 @@ namespace yii\helpers;
...
@@ -14,6 +14,6 @@ namespace yii\helpers;
* @author Carsten Brandt <mail@cebe.cc>
* @author Carsten Brandt <mail@cebe.cc>
* @since 2.0
* @since 2.0
*/
*/
class
Console
extends
ConsoleBas
e
class
Console
extends
BaseConsol
e
{
{
}
}
framework/yii/helpers/FileHelper.php
View file @
9212c16c
...
@@ -16,6 +16,6 @@ namespace yii\helpers;
...
@@ -16,6 +16,6 @@ namespace yii\helpers;
* @author Alex Makarov <sam@rmcreative.ru>
* @author Alex Makarov <sam@rmcreative.ru>
* @since 2.0
* @since 2.0
*/
*/
class
FileHelper
extends
FileHelperBase
class
FileHelper
extends
BaseFileHelper
{
{
}
}
framework/yii/helpers/Html.php
View file @
9212c16c
...
@@ -13,6 +13,6 @@ namespace yii\helpers;
...
@@ -13,6 +13,6 @@ namespace yii\helpers;
* @author Qiang Xue <qiang.xue@gmail.com>
* @author Qiang Xue <qiang.xue@gmail.com>
* @since 2.0
* @since 2.0
*/
*/
class
Html
extends
HtmlBase
class
Html
extends
BaseHtml
{
{
}
}
framework/yii/helpers/HtmlPurifier.php
View file @
9212c16c
...
@@ -32,6 +32,6 @@ namespace yii\helpers;
...
@@ -32,6 +32,6 @@ namespace yii\helpers;
* @author Alexander Makarov <sam@rmcreative.ru>
* @author Alexander Makarov <sam@rmcreative.ru>
* @since 2.0
* @since 2.0
*/
*/
class
HtmlPurifier
extends
HtmlPurifierBase
class
HtmlPurifier
extends
BaseHtmlPurifier
{
{
}
}
framework/yii/helpers/Inflector.php
View file @
9212c16c
...
@@ -13,6 +13,6 @@ namespace yii\helpers;
...
@@ -13,6 +13,6 @@ namespace yii\helpers;
* @author Antonio Ramirez <amigo.cobos@gmail.com>
* @author Antonio Ramirez <amigo.cobos@gmail.com>
* @since 2.0
* @since 2.0
*/
*/
class
Inflector
extends
InflectorBase
class
Inflector
extends
BaseInflector
{
{
}
}
framework/yii/helpers/Json.php
View file @
9212c16c
...
@@ -14,6 +14,6 @@ namespace yii\helpers;
...
@@ -14,6 +14,6 @@ namespace yii\helpers;
* @author Qiang Xue <qiang.xue@gmail.com>
* @author Qiang Xue <qiang.xue@gmail.com>
* @since 2.0
* @since 2.0
*/
*/
class
Json
extends
JsonBase
class
Json
extends
BaseJson
{
{
}
}
framework/yii/helpers/Markdown.php
View file @
9212c16c
...
@@ -30,6 +30,6 @@ namespace yii\helpers;
...
@@ -30,6 +30,6 @@ namespace yii\helpers;
* @author Alexander Makarov <sam@rmcreative.ru>
* @author Alexander Makarov <sam@rmcreative.ru>
* @since 2.0
* @since 2.0
*/
*/
class
Markdown
extends
MarkdownBase
class
Markdown
extends
BaseMarkdown
{
{
}
}
framework/yii/helpers/Security.php
View file @
9212c16c
...
@@ -24,6 +24,6 @@ namespace yii\helpers;
...
@@ -24,6 +24,6 @@ namespace yii\helpers;
* @author Tom Worster <fsb@thefsb.org>
* @author Tom Worster <fsb@thefsb.org>
* @since 2.0
* @since 2.0
*/
*/
class
Security
extends
SecurityBase
class
Security
extends
BaseSecurity
{
{
}
}
framework/yii/helpers/StringHelper.php
View file @
9212c16c
...
@@ -14,6 +14,6 @@ namespace yii\helpers;
...
@@ -14,6 +14,6 @@ namespace yii\helpers;
* @author Alex Makarov <sam@rmcreative.ru>
* @author Alex Makarov <sam@rmcreative.ru>
* @since 2.0
* @since 2.0
*/
*/
class
StringHelper
extends
StringHelperBase
class
StringHelper
extends
BaseStringHelper
{
{
}
}
framework/yii/helpers/VarDumper.php
View file @
9212c16c
...
@@ -23,6 +23,6 @@ namespace yii\helpers;
...
@@ -23,6 +23,6 @@ namespace yii\helpers;
* @author Qiang Xue <qiang.xue@gmail.com>
* @author Qiang Xue <qiang.xue@gmail.com>
* @since 2.0
* @since 2.0
*/
*/
class
VarDumper
extends
VarDumperBase
class
VarDumper
extends
BaseVarDumper
{
{
}
}
framework/yii/log/Logger.php
View file @
9212c16c
...
@@ -220,7 +220,7 @@ class Logger extends Component
...
@@ -220,7 +220,7 @@ class Logger extends Component
* Returns the total elapsed time since the start of the current request.
* Returns the total elapsed time since the start of the current request.
* This method calculates the difference between now and the timestamp
* This method calculates the difference between now and the timestamp
* defined by constant `YII_BEGIN_TIME` which is evaluated at the beginning
* defined by constant `YII_BEGIN_TIME` which is evaluated at the beginning
* of [[
YiiBase
]] class file.
* of [[
BaseYii
]] class file.
* @return float the total elapsed time in seconds for current request.
* @return float the total elapsed time in seconds for current request.
*/
*/
public
function
getElapsedTime
()
public
function
getElapsedTime
()
...
...
framework/yii/web/Response.php
View file @
9212c16c
...
@@ -581,7 +581,7 @@ class Response extends \yii\base\Response
...
@@ -581,7 +581,7 @@ class Response extends \yii\base\Response
* In a controller action you may use this method like this:
* In a controller action you may use this method like this:
*
*
* ~~~
* ~~~
* return Yii::$app->getResponse()->redirect($url)
->send()
;
* return Yii::$app->getResponse()->redirect($url);
* ~~~
* ~~~
*
*
* @param string|array $url the URL to be redirected to. This can be in one of the following formats:
* @param string|array $url the URL to be redirected to. This can be in one of the following formats:
...
...
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