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
24096248
Commit
24096248
authored
Aug 08, 2013
by
Ryadnov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix typos - `Yii::app()`
parent
22b5f9ea
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
Response.php
framework/yii/web/Response.php
+1
-1
Menu.php
framework/yii/widgets/Menu.php
+1
-1
No files found.
framework/yii/web/Response.php
View file @
24096248
...
@@ -515,7 +515,7 @@ class Response extends \yii\base\Response
...
@@ -515,7 +515,7 @@ class Response extends \yii\base\Response
* **Example**
* **Example**
*
*
* ~~~
* ~~~
* Yii::
app()
->request->xSendFile('/home/user/Pictures/picture1.jpg');
* Yii::
$app
->request->xSendFile('/home/user/Pictures/picture1.jpg');
* ~~~
* ~~~
*
*
* @param string $filePath file name with full path
* @param string $filePath file name with full path
...
...
framework/yii/widgets/Menu.php
View file @
24096248
...
@@ -37,7 +37,7 @@ use yii\helpers\Html;
...
@@ -37,7 +37,7 @@ use yii\helpers\Html;
* array('label' => 'New Arrivals', 'url' => array('product/index', 'tag' => 'new')),
* array('label' => 'New Arrivals', 'url' => array('product/index', 'tag' => 'new')),
* array('label' => 'Most Popular', 'url' => array('product/index', 'tag' => 'popular')),
* array('label' => 'Most Popular', 'url' => array('product/index', 'tag' => 'popular')),
* )),
* )),
* array('label' => 'Login', 'url' => array('site/login'), 'visible' => Yii::
app()
->user->isGuest),
* array('label' => 'Login', 'url' => array('site/login'), 'visible' => Yii::
$app
->user->isGuest),
* ),
* ),
* ));
* ));
* ~~~
* ~~~
...
...
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