Browse Source

fixed refences

tags/2.0.0-beta
Alexander Makarov 11 years ago
parent
commit
3b1d558942
  1. 4
      framework/helpers/BaseHtml.php

4
framework/helpers/BaseHtml.php

@ -299,7 +299,7 @@ class BaseHtml
* @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()]]
* 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
* will not be generated.
* @param array $options the tag options in terms of name-value pairs. These will be rendered as
@ -307,7 +307,7 @@ class BaseHtml
* If a value is null, the corresponding attribute will not be rendered.
* See [[renderTagAttributes()]] for details on how attributes are being rendered.
* @return string the generated hyperlink
* @see url()
* @see yii\helpers\Url::to()
*/
public static function a($text, $url = null, $options = [])
{

Loading…
Cancel
Save