You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
400 B
28 lines
400 B
11 years ago
|
Helpers
|
||
|
=======
|
||
|
|
||
|
> Note: This chapter is under development.
|
||
|
|
||
|
Helper classes typically contain static methods only and are used as follows:
|
||
|
|
||
|
```php
|
||
|
use \yii\helpers\Html;
|
||
|
echo Html::encode('Test > test');
|
||
|
```
|
||
|
|
||
|
There are several classes provided by framework:
|
||
|
|
||
|
- ArrayHelper
|
||
|
- Console
|
||
|
- FileHelper
|
||
|
- Html
|
||
|
- HtmlPurifier
|
||
|
- Image
|
||
|
- Inflector
|
||
|
- Json
|
||
|
- Markdown
|
||
|
- Security
|
||
|
- StringHelper
|
||
|
- Url
|
||
|
- VarDumper
|