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
89e93e6c
Commit
89e93e6c
authored
Aug 15, 2013
by
Aris Karageorgos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix typo
parent
9c0c743f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
view.md
docs/guide/view.md
+2
-2
No files found.
docs/guide/view.md
View file @
89e93e6c
...
...
@@ -123,7 +123,7 @@ $this->registerMetaTag(array('description' => 'This is my cool website made with
$this->registerMetaTag(array('description' => 'This website is about funny raccoons.'), 'meta-description');
```
If there are multiple calls with the same value of the second argument (
`meta-description`
in this case), the later will
If there are multiple calls with the same value of the second argument (
`meta-description`
in this case), the lat
t
er will
override the former and only a single tag will be rendered:
```
html
...
...
@@ -155,7 +155,7 @@ Same as with meta tags you can specify additional argument to make sure there's
### Registering CSS
You can register CSS using
`registerCss`
or
`registerCssFile`
. Former is for outputting code in
`<style>`
tags directly
to the page which is not recommended in most cases (but still valid). Later is for registering CSS file. In Yii it's
to the page which is not recommended in most cases (but still valid). Lat
t
er is for registering CSS file. In Yii it's
much better to
[
use asset manager
](
assets.md
)
to deal with these since it provides extra features so
`registerCssFile`
is manly useful for external CSS files.
...
...
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