Commit 6bef39b0 authored by Hirohisa Kawase's avatar Hirohisa Kawase

Correct document page of HTML page.

No exist secure_link() function, so changed to link_to_secure().
The 2nd parameter of HTML::style() is array, but passed a string in sample code.
Signed-off-by: 's avatarHirohisa Kawase <hiro.soft@gmail.com>
parent 205cc486
...@@ -40,7 +40,7 @@ For example, the < symbol should be converted to its entity representation. Conv ...@@ -40,7 +40,7 @@ For example, the < symbol should be converted to its entity representation. Conv
#### Generating a reference to a CSS file using a given media type: #### Generating a reference to a CSS file using a given media type:
echo HTML::style('css/common.css', 'print'); echo HTML::style('css/common.css', array('media' => 'print'));
*Further Reading:* *Further Reading:*
...@@ -55,7 +55,7 @@ For example, the < symbol should be converted to its entity representation. Conv ...@@ -55,7 +55,7 @@ For example, the < symbol should be converted to its entity representation. Conv
#### Generating a link that should use HTTPS: #### Generating a link that should use HTTPS:
echo HTML::secure_link('user/profile', 'User Profile'); echo HTML::link_to_secure('user/profile', 'User Profile');
#### Generating a link and specifying extra HTML attributes: #### Generating a link and specifying extra HTML attributes:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment