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
558f4994
Commit
558f4994
authored
Sep 28, 2013
by
Alexander Makarov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Renamed YiiBase to AbstractYii
parent
d3db0b1c
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
13 additions
and
13 deletions
+13
-13
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
AbstractYii.php
framework/yii/AbstractYii.php
+4
-4
Yii.php
framework/yii/Yii.php
+3
-3
Logger.php
framework/yii/log/Logger.php
+1
-1
No files found.
build/build.xml
View file @
558f4994
...
@@ -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
AbstractYii
.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 @
558f4994
...
@@ -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'
,
'
AbstractYii
.php'
,
'/debug/'
,
'/debug/'
,
'/console/'
,
'/console/'
,
'/test/'
,
'/test/'
,
...
...
build/controllers/PhpDocController.php
View file @
558f4994
...
@@ -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'
,
'
AbstractYii
.php'
,
'Yii.php'
,
'Yii.php'
,
'/debug/views/'
,
'/debug/views/'
,
'/requirements/'
,
'/requirements/'
,
...
...
docs/internals/autoloader.md
View file @
558f4994
...
@@ -16,4 +16,4 @@ PEAR-style libraries
...
@@ -16,4 +16,4 @@ PEAR-style libraries
References
References
----------
----------
-
YiiBase::autoload
-
AbstractYii::autoload
\ No newline at end of file
\ No newline at end of file
framework/yii/
YiiBase
.php
→
framework/yii/
AbstractYii
.php
View file @
558f4994
...
@@ -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.
*
AbstractYii
is the core helper class for the Yii framework.
*
*
* Do not use
YiiBase
directly. Instead, use its child class [[Yii]] where
* Do not use
AbstractYii
directly. Instead, use its child class [[Yii]] where
* you can customize methods of
YiiBase
.
* you can customize methods of
AbstractYii
.
*
*
* @author Qiang Xue <qiang.xue@gmail.com>
* @author Qiang Xue <qiang.xue@gmail.com>
* @since 2.0
* @since 2.0
*/
*/
class
YiiBase
abstract
class
AbstractYii
{
{
/**
/**
* @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 @
558f4994
...
@@ -12,13 +12,13 @@ require(__DIR__ . '/YiiBase.php');
...
@@ -12,13 +12,13 @@ require(__DIR__ . '/YiiBase.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 [[
AbstractYii
]] 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 [[
AbstractYii
]].
*
*
* @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\
AbstractYii
{
{
}
}
...
...
framework/yii/log/Logger.php
View file @
558f4994
...
@@ -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 [[
AbstractYii
]] 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
()
...
...
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