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