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
eb0b00f8
Commit
eb0b00f8
authored
Aug 08, 2013
by
Qiang Xue
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #730 from Ryadnov/fix_typos_in_docs
fix typos - `Yii::app()`
parents
22b5f9ea
24096248
Show 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 @
eb0b00f8
...
@@ -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 @
eb0b00f8
...
@@ -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