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
d3db0b1c
Commit
d3db0b1c
authored
Sep 27, 2013
by
Alexander Makarov
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #913 from yiisoft/rename-helper-base-classes
Fixes #911: Renamed base helper classes
parents
f8ddb3d7
76cab3ea
Show whitespace changes
Inline
Side-by-side
Showing
23 changed files
with
55 additions
and
55 deletions
+55
-55
classes.php
framework/yii/classes.php
+11
-11
AbstractArrayHelper.php
framework/yii/helpers/AbstractArrayHelper.php
+3
-3
AbstractConsole.php
framework/yii/helpers/AbstractConsole.php
+3
-3
AbstractFileHelper.php
framework/yii/helpers/AbstractFileHelper.php
+3
-3
AbstractHtml.php
framework/yii/helpers/AbstractHtml.php
+3
-3
AbstractHtmlPurifier.php
framework/yii/helpers/AbstractHtmlPurifier.php
+3
-3
AbstractInflector.php
framework/yii/helpers/AbstractInflector.php
+3
-3
AbstractJson.php
framework/yii/helpers/AbstractJson.php
+3
-3
AbstractMarkdown.php
framework/yii/helpers/AbstractMarkdown.php
+3
-3
AbstractSecurity.php
framework/yii/helpers/AbstractSecurity.php
+3
-3
AbstractStringHelper.php
framework/yii/helpers/AbstractStringHelper.php
+3
-3
AbstractVarDumper.php
framework/yii/helpers/AbstractVarDumper.php
+3
-3
ArrayHelper.php
framework/yii/helpers/ArrayHelper.php
+1
-1
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
No files found.
framework/yii/classes.php
View file @
d3db0b1c
...
...
@@ -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\A
rrayHelperBase'
=>
YII_PATH
.
'/helpers/ArrayHelperBase
.php'
,
'yii\helpers\A
bstractArrayHelper'
=>
YII_PATH
.
'/helpers/AbstractArrayHelper
.php'
,
'yii\helpers\Console'
=>
YII_PATH
.
'/helpers/Console.php'
,
'yii\helpers\
ConsoleBase'
=>
YII_PATH
.
'/helpers/ConsoleBas
e.php'
,
'yii\helpers\
AbstractConsole'
=>
YII_PATH
.
'/helpers/AbstractConsol
e.php'
,
'yii\helpers\FileHelper'
=>
YII_PATH
.
'/helpers/FileHelper.php'
,
'yii\helpers\
FileHelperBase'
=>
YII_PATH
.
'/helpers/FileHelperBase
.php'
,
'yii\helpers\
AbstractFileHelper'
=>
YII_PATH
.
'/helpers/AbstractFileHelper
.php'
,
'yii\helpers\Html'
=>
YII_PATH
.
'/helpers/Html.php'
,
'yii\helpers\
HtmlBase'
=>
YII_PATH
.
'/helpers/HtmlBase
.php'
,
'yii\helpers\
AbstractHtml'
=>
YII_PATH
.
'/helpers/AbstractHtml
.php'
,
'yii\helpers\HtmlPurifier'
=>
YII_PATH
.
'/helpers/HtmlPurifier.php'
,
'yii\helpers\
HtmlPurifierBase'
=>
YII_PATH
.
'/helpers/HtmlPurifierBase
.php'
,
'yii\helpers\
AbstractHtmlPurifier'
=>
YII_PATH
.
'/helpers/AbstractHtmlPurifier
.php'
,
'yii\helpers\Inflector'
=>
YII_PATH
.
'/helpers/Inflector.php'
,
'yii\helpers\
InflectorBase'
=>
YII_PATH
.
'/helpers/InflectorBase
.php'
,
'yii\helpers\
AbstractInflector'
=>
YII_PATH
.
'/helpers/AbstractInflector
.php'
,
'yii\helpers\Json'
=>
YII_PATH
.
'/helpers/Json.php'
,
'yii\helpers\
JsonBase'
=>
YII_PATH
.
'/helpers/JsonBase
.php'
,
'yii\helpers\
AbstractJson'
=>
YII_PATH
.
'/helpers/AbstractJson
.php'
,
'yii\helpers\Markdown'
=>
YII_PATH
.
'/helpers/Markdown.php'
,
'yii\helpers\
MarkdownBase'
=>
YII_PATH
.
'/helpers/MarkdownBase
.php'
,
'yii\helpers\
AbstractMarkdown'
=>
YII_PATH
.
'/helpers/AbstractMarkdown
.php'
,
'yii\helpers\Security'
=>
YII_PATH
.
'/helpers/Security.php'
,
'yii\helpers\
SecurityBase'
=>
YII_PATH
.
'/helpers/SecurityBase
.php'
,
'yii\helpers\
AbstractSecurity'
=>
YII_PATH
.
'/helpers/AbstractSecurity
.php'
,
'yii\helpers\StringHelper'
=>
YII_PATH
.
'/helpers/StringHelper.php'
,
'yii\helpers\
StringHelperBase'
=>
YII_PATH
.
'/helpers/StringHelperBase
.php'
,
'yii\helpers\
AbstractStringHelper'
=>
YII_PATH
.
'/helpers/AbstractStringHelper
.php'
,
'yii\helpers\VarDumper'
=>
YII_PATH
.
'/helpers/VarDumper.php'
,
'yii\helpers\
VarDumperBase'
=>
YII_PATH
.
'/helpers/VarDumperBase
.php'
,
'yii\helpers\
AbstractVarDumper'
=>
YII_PATH
.
'/helpers/AbstractVarDumper
.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/A
rrayHelperBase
.php
→
framework/yii/helpers/A
bstractArrayHelper
.php
View file @
d3db0b1c
...
...
@@ -12,14 +12,14 @@ use yii\base\Arrayable;
use
yii\base\InvalidParamException
;
/**
* A
rrayHelperBase
provides concrete implementation for [[ArrayHelper]].
* A
bstractArrayHelper
provides concrete implementation for [[ArrayHelper]].
*
* Do not use A
rrayHelperBase
. Use [[ArrayHelper]] instead.
* Do not use A
bstractArrayHelper
. Use [[ArrayHelper]] instead.
*
* @author Qiang Xue <qiang.xue@gmail.com>
* @since 2.0
*/
class
ArrayHelperBase
abstract
class
AbstractArrayHelper
{
/**
* Converts an object or an array of objects into an array.
...
...
framework/yii/helpers/
ConsoleBas
e.php
→
framework/yii/helpers/
AbstractConsol
e.php
View file @
d3db0b1c
...
...
@@ -8,14 +8,14 @@
namespace
yii\helpers
;
/**
*
ConsoleBas
e provides concrete implementation for [[Console]].
*
AbstractConsol
e provides concrete implementation for [[Console]].
*
* Do not use
ConsoleBas
e. Use [[Console]] instead.
* Do not use
AbstractConsol
e. Use [[Console]] instead.
*
* @author Carsten Brandt <mail@cebe.cc>
* @since 2.0
*/
class
ConsoleBas
e
abstract
class
AbstractConsol
e
{
const
FG_BLACK
=
30
;
const
FG_RED
=
31
;
...
...
framework/yii/helpers/
FileHelperBase
.php
→
framework/yii/helpers/
AbstractFileHelper
.php
View file @
d3db0b1c
...
...
@@ -12,15 +12,15 @@ namespace yii\helpers;
use
Yii
;
/**
*
FileHelperBase
provides concrete implementation for [[FileHelper]].
*
AbstractFileHelper
provides concrete implementation for [[FileHelper]].
*
* Do not use
FileHelperBase
. Use [[FileHelper]] instead.
* Do not use
AbstractFileHelper
. Use [[FileHelper]] instead.
*
* @author Qiang Xue <qiang.xue@gmail.com>
* @author Alex Makarov <sam@rmcreative.ru>
* @since 2.0
*/
class
FileHelperBase
abstract
class
AbstractFileHelper
{
/**
* Normalizes a file/directory path.
...
...
framework/yii/helpers/
HtmlBase
.php
→
framework/yii/helpers/
AbstractHtml
.php
View file @
d3db0b1c
...
...
@@ -13,14 +13,14 @@ use yii\web\Request;
use
yii\base\Model
;
/**
*
HtmlBase
provides concrete implementation for [[Html]].
*
AbstractHtml
provides concrete implementation for [[Html]].
*
* Do not use
HtmlBase
. Use [[Html]] instead.
* Do not use
AbstractHtml
. Use [[Html]] instead.
*
* @author Qiang Xue <qiang.xue@gmail.com>
* @since 2.0
*/
class
HtmlBase
abstract
class
AbstractHtml
{
/**
* @var array list of void elements (element name => 1)
...
...
framework/yii/helpers/
HtmlPurifierBase
.php
→
framework/yii/helpers/
AbstractHtmlPurifier
.php
View file @
d3db0b1c
...
...
@@ -7,14 +7,14 @@
namespace
yii\helpers
;
/**
*
HtmlPurifierBase
provides concrete implementation for [[HtmlPurifier]].
*
AbstractHtmlPurifier
provides concrete implementation for [[HtmlPurifier]].
*
* Do not use
HtmlPurifierBase
. Use [[HtmlPurifier]] instead.
* Do not use
AbstractHtmlPurifier
. Use [[HtmlPurifier]] instead.
*
* @author Alexander Makarov <sam@rmcreative.ru>
* @since 2.0
*/
class
HtmlPurifierBase
abstract
class
AbstractHtmlPurifier
{
/**
* Passes markup through HTMLPurifier making it safe to output to end user
...
...
framework/yii/helpers/
InflectorBase
.php
→
framework/yii/helpers/
AbstractInflector
.php
View file @
d3db0b1c
...
...
@@ -10,14 +10,14 @@ namespace yii\helpers;
use
Yii
;
/**
*
InflectorBase
provides concrete implementation for [[Inflector]].
*
AbstractInflector
provides concrete implementation for [[Inflector]].
*
* Do not use
InflectorBase
. Use [[Inflector]] instead.
* Do not use
AbstractInflector
. Use [[Inflector]] instead.
*
* @author Antonio Ramirez <amigo.cobos@gmail.com>
* @since 2.0
*/
class
InflectorBase
abstract
class
AbstractInflector
{
/**
* @var array the rules for converting a word into its plural form.
...
...
framework/yii/helpers/
JsonBase
.php
→
framework/yii/helpers/
AbstractJson
.php
View file @
d3db0b1c
...
...
@@ -12,14 +12,14 @@ use yii\base\Arrayable;
use
yii\web\JsExpression
;
/**
*
JsonBase
provides concrete implementation for [[Json]].
*
AbstractJson
provides concrete implementation for [[Json]].
*
* Do not use
JsonBase
. Use [[Json]] instead.
* Do not use
AbstractJson
. Use [[Json]] instead.
*
* @author Qiang Xue <qiang.xue@gmail.com>
* @since 2.0
*/
class
JsonBase
abstract
class
AbstractJson
{
/**
* Encodes the given value into a JSON string.
...
...
framework/yii/helpers/
MarkdownBase
.php
→
framework/yii/helpers/
AbstractMarkdown
.php
View file @
d3db0b1c
...
...
@@ -10,14 +10,14 @@ namespace yii\helpers;
use
Michelf\MarkdownExtra
;
/**
*
MarkdownBase
provides concrete implementation for [[Markdown]].
*
AbstractMarkdown
provides concrete implementation for [[Markdown]].
*
* Do not use
MarkdownBase
. Use [[Markdown]] instead.
* Do not use
AbstractMarkdown
. Use [[Markdown]] instead.
*
* @author Alexander Makarov <sam@rmcreative.ru>
* @since 2.0
*/
class
MarkdownBase
abstract
class
AbstractMarkdown
{
/**
* @var MarkdownExtra
...
...
framework/yii/helpers/
SecurityBase
.php
→
framework/yii/helpers/
AbstractSecurity
.php
View file @
d3db0b1c
...
...
@@ -13,15 +13,15 @@ use yii\base\InvalidConfigException;
use
yii\base\InvalidParamException
;
/**
*
SecurityBase
provides concrete implementation for [[Security]].
*
AbstractSecurity
provides concrete implementation for [[Security]].
*
* Do not use
SecurityBase
. Use [[Security]] instead.
* Do not use
AbstractSecurity
. Use [[Security]] instead.
*
* @author Qiang Xue <qiang.xue@gmail.com>
* @author Tom Worster <fsb@thefsb.org>
* @since 2.0
*/
class
SecurityBase
abstract
class
AbstractSecurity
{
/**
* Encrypts data.
...
...
framework/yii/helpers/
StringHelperBase
.php
→
framework/yii/helpers/
AbstractStringHelper
.php
View file @
d3db0b1c
...
...
@@ -10,15 +10,15 @@ namespace yii\helpers;
use
yii\base\InvalidParamException
;
/**
*
StringHelperBase
provides concrete implementation for [[StringHelper]].
*
AbstractStringHelper
provides concrete implementation for [[StringHelper]].
*
* Do not use
StringHelperBase
. Use [[StringHelper]] instead.
* Do not use
AbstractStringHelper
. Use [[StringHelper]] instead.
*
* @author Qiang Xue <qiang.xue@gmail.com>
* @author Alex Makarov <sam@rmcreative.ru>
* @since 2.0
*/
class
StringHelperBase
abstract
class
AbstractStringHelper
{
/**
* Returns the number of bytes in the given string.
...
...
framework/yii/helpers/
VarDumperBase
.php
→
framework/yii/helpers/
AbstractVarDumper
.php
View file @
d3db0b1c
...
...
@@ -9,14 +9,14 @@
namespace
yii\helpers
;
/**
*
VarDumperBase
provides concrete implementation for [[VarDumper]].
*
AbstractVarDumper
provides concrete implementation for [[VarDumper]].
*
* Do not use
VarDumperBase
. Use [[VarDumper]] instead.
* Do not use
AbstractVarDumper
. Use [[VarDumper]] instead.
*
* @author Qiang Xue <qiang.xue@gmail.com>
* @since 2.0
*/
class
VarDumperBase
abstract
class
AbstractVarDumper
{
private
static
$_objects
;
private
static
$_output
;
...
...
framework/yii/helpers/ArrayHelper.php
View file @
d3db0b1c
...
...
@@ -14,6 +14,6 @@ namespace yii\helpers;
* @author Qiang Xue <qiang.xue@gmail.com>
* @since 2.0
*/
class
ArrayHelper
extends
A
rrayHelperBase
class
ArrayHelper
extends
A
bstractArrayHelper
{
}
framework/yii/helpers/Console.php
View file @
d3db0b1c
...
...
@@ -14,6 +14,6 @@ namespace yii\helpers;
* @author Carsten Brandt <mail@cebe.cc>
* @since 2.0
*/
class
Console
extends
ConsoleBas
e
class
Console
extends
AbstractConsol
e
{
}
framework/yii/helpers/FileHelper.php
View file @
d3db0b1c
...
...
@@ -16,6 +16,6 @@ namespace yii\helpers;
* @author Alex Makarov <sam@rmcreative.ru>
* @since 2.0
*/
class
FileHelper
extends
FileHelperBase
class
FileHelper
extends
AbstractFileHelper
{
}
framework/yii/helpers/Html.php
View file @
d3db0b1c
...
...
@@ -13,6 +13,6 @@ namespace yii\helpers;
* @author Qiang Xue <qiang.xue@gmail.com>
* @since 2.0
*/
class
Html
extends
HtmlBase
class
Html
extends
AbstractHtml
{
}
framework/yii/helpers/HtmlPurifier.php
View file @
d3db0b1c
...
...
@@ -32,6 +32,6 @@ namespace yii\helpers;
* @author Alexander Makarov <sam@rmcreative.ru>
* @since 2.0
*/
class
HtmlPurifier
extends
HtmlPurifierBase
class
HtmlPurifier
extends
AbstractHtmlPurifier
{
}
framework/yii/helpers/Inflector.php
View file @
d3db0b1c
...
...
@@ -13,6 +13,6 @@ namespace yii\helpers;
* @author Antonio Ramirez <amigo.cobos@gmail.com>
* @since 2.0
*/
class
Inflector
extends
InflectorBase
class
Inflector
extends
AbstractInflector
{
}
framework/yii/helpers/Json.php
View file @
d3db0b1c
...
...
@@ -14,6 +14,6 @@ namespace yii\helpers;
* @author Qiang Xue <qiang.xue@gmail.com>
* @since 2.0
*/
class
Json
extends
JsonBase
class
Json
extends
AbstractJson
{
}
framework/yii/helpers/Markdown.php
View file @
d3db0b1c
...
...
@@ -30,6 +30,6 @@ namespace yii\helpers;
* @author Alexander Makarov <sam@rmcreative.ru>
* @since 2.0
*/
class
Markdown
extends
MarkdownBase
class
Markdown
extends
AbstractMarkdown
{
}
framework/yii/helpers/Security.php
View file @
d3db0b1c
...
...
@@ -24,6 +24,6 @@ namespace yii\helpers;
* @author Tom Worster <fsb@thefsb.org>
* @since 2.0
*/
class
Security
extends
SecurityBase
class
Security
extends
AbstractSecurity
{
}
framework/yii/helpers/StringHelper.php
View file @
d3db0b1c
...
...
@@ -14,6 +14,6 @@ namespace yii\helpers;
* @author Alex Makarov <sam@rmcreative.ru>
* @since 2.0
*/
class
StringHelper
extends
StringHelperBase
class
StringHelper
extends
AbstractStringHelper
{
}
framework/yii/helpers/VarDumper.php
View file @
d3db0b1c
...
...
@@ -23,6 +23,6 @@ namespace yii\helpers;
* @author Qiang Xue <qiang.xue@gmail.com>
* @since 2.0
*/
class
VarDumper
extends
VarDumperBase
class
VarDumper
extends
AbstractVarDumper
{
}
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