Yii – Gii

  • Post author:
  • Post category:Yii
  • Post comments:0 Comments

Gii is the extension, that provides a web-based code generator for generating models, forms, modules, CRUD, and so forth. By default, the following generators are available βˆ’ Model Generator βˆ’ Generates…

Continue ReadingYii – Gii

Yii – Authorization

  • Post author:
  • Post category:Yii
  • Post comments:1 Comment

The process of verifying that a user has enough permission to do something is called authorization. Yii provides an ACF (Access Control Filter), an authorization method implemented as yii\filters\AccessControl. Modify the behaviors()…

Continue ReadingYii – Authorization

Yii – Logging

  • Post author:
  • Post category:Yii
  • Post comments:0 Comments

Yii provides a highly customizable and extensible framework. With the help of this framework, you can easily log various types of messages. To log a message, you should call one…

Continue ReadingYii – Logging

Yii – Aliases

  • Post author:
  • Post category:Yii
  • Post comments:2 Comments

Aliases help you not to hard-code absolute paths or URLs in your project. An alias starts with the @ character. To define an alias you should call the Yii::setAlias() method βˆ’ //…

Continue ReadingYii – Aliases