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
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Rotua Panjaitan
yii2
Commits
caf9948c
Commit
caf9948c
authored
May 23, 2013
by
Alexander Makarov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixes #377
parent
6d9338b5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
HelpController.php
framework/yii/console/controllers/HelpController.php
+2
-2
No files found.
framework/yii/console/controllers/HelpController.php
View file @
caf9948c
...
...
@@ -13,7 +13,7 @@ use yii\base\InlineAction;
use
yii\console\Controller
;
use
yii\console\Exception
;
use
yii\console\Request
;
use
yii\helpers\
StringHelpe
r
;
use
yii\helpers\
Inflecto
r
;
/**
* This command provides help information about console commands.
...
...
@@ -96,7 +96,7 @@ class HelpController extends Controller
foreach
(
$class
->
getMethods
()
as
$method
)
{
$name
=
$method
->
getName
();
if
(
$method
->
isPublic
()
&&
!
$method
->
isStatic
()
&&
strpos
(
$name
,
'action'
)
===
0
&&
$name
!==
'actions'
)
{
$actions
[]
=
StringHelpe
r
::
camel2id
(
substr
(
$name
,
6
));
$actions
[]
=
Inflecto
r
::
camel2id
(
substr
(
$name
,
6
));
}
}
sort
(
$actions
);
...
...
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