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:Hirohisa Kawase <hiro.soft@gmail.com>
This commit is contained in:
@@ -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:
|
||||
|
||||
echo HTML::style('css/common.css', 'print');
|
||||
echo HTML::style('css/common.css', array('media' => 'print'));
|
||||
|
||||
*Further Reading:*
|
||||
|
||||
@@ -55,7 +55,7 @@ For example, the < symbol should be converted to its entity representation. Conv
|
||||
|
||||
#### 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:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user