Browse Source

Doc fix

tags/2.0.0-beta
Anderson Müller 11 years ago
parent
commit
f08a6c6f10
  1. 4
      docs/guide/view.md

4
docs/guide/view.md

@ -197,8 +197,8 @@ body { background: #f00; }
</style> </style>
``` ```
If you want to specify additional properties of the style tag, pass an array of name-values to the second argument. If you want to specify additional properties of the style tag, pass an array of name-values to the third argument.
If you need to make sure there's only a single style tag use third argument as was mentioned in meta tags description. If you need to make sure there's only a single style tag use forth argument as was mentioned in meta tags description.
```php ```php
$this->registerCssFile("http://example.com/css/themes/black-and-white.css", [BootstrapAsset::className()], ['media' => 'print'], 'css-print-theme'); $this->registerCssFile("http://example.com/css/themes/black-and-white.css", [BootstrapAsset::className()], ['media' => 'print'], 'css-print-theme');

Loading…
Cancel
Save