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
3b1d5589
Commit
3b1d5589
authored
Mar 12, 2014
by
Alexander Makarov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed refences
parent
aaa4e429
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
BaseHtml.php
framework/helpers/BaseHtml.php
+2
-2
No files found.
framework/helpers/BaseHtml.php
View file @
3b1d5589
...
@@ -299,7 +299,7 @@ class BaseHtml
...
@@ -299,7 +299,7 @@ class BaseHtml
* @param string $text link body. It will NOT be HTML-encoded. Therefore you can pass in HTML code
* @param string $text link body. It will NOT be HTML-encoded. Therefore you can pass in HTML code
* such as an image tag. If this is coming from end users, you should consider [[encode()]]
* such as an image tag. If this is coming from end users, you should consider [[encode()]]
* it to prevent XSS attacks.
* it to prevent XSS attacks.
* @param array|string|null $url the URL for the hyperlink tag. This parameter will be processed by [[
url
()]]
* @param array|string|null $url the URL for the hyperlink tag. This parameter will be processed by [[
yii\helpers\Url::to
()]]
* and will be used for the "href" attribute of the tag. If this parameter is null, the "href" attribute
* and will be used for the "href" attribute of the tag. If this parameter is null, the "href" attribute
* will not be generated.
* will not be generated.
* @param array $options the tag options in terms of name-value pairs. These will be rendered as
* @param array $options the tag options in terms of name-value pairs. These will be rendered as
...
@@ -307,7 +307,7 @@ class BaseHtml
...
@@ -307,7 +307,7 @@ class BaseHtml
* If a value is null, the corresponding attribute will not be rendered.
* If a value is null, the corresponding attribute will not be rendered.
* See [[renderTagAttributes()]] for details on how attributes are being rendered.
* See [[renderTagAttributes()]] for details on how attributes are being rendered.
* @return string the generated hyperlink
* @return string the generated hyperlink
* @see
url
()
* @see
yii\helpers\Url::to
()
*/
*/
public
static
function
a
(
$text
,
$url
=
null
,
$options
=
[])
public
static
function
a
(
$text
,
$url
=
null
,
$options
=
[])
{
{
...
...
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