Generating Code with Gii

Generating Code with Gii

This section will describe how to use Gii to automatically generate code that implements some common Web site features. Using Gii to auto-generate code is simply a matter of entering the right information per the instructions shown on the Gii Web pages.

Through this tutorial, you will learn how to:

  • enable Gii in your application,
  • use Gii to generate an Active Record class,
  • use Gii to genera