Content of the «Helpers» section:
Articles section «Helpers»:
Every web application generates lots of HTML markup. If the markup is static, it can be done efficiently by mixing PHP and HTML in a single file, but when it is generated dynamically it starts to get tricky to handle it without extra help. Yii provides such help in the form of an Html helper, which provides a set of static methods for handling commonly used HTML tags, their options, and their content.
Note: This section is under development.
Yii provides many classes that help simplify common coding tasks, such as string or array manipulations, HTML code generation, and so on. These helper classes are organized under the
yii\helpers namespace and are all static classes (meaning they contain only static properties and methods and should not be instantiated).