Skip to content

Files

Latest commit

 Cannot retrieve latest commit at this time.

History

History
22 lines (20 loc) · 576 Bytes

topics-gii.md

File metadata and controls

22 lines (20 loc) · 576 Bytes

Using Gii generator

This extension provides a code generator, which can be integrated with yii 'gii' module. It allows generation of the Active Record code. In order to enable it, you should adjust your application configuration in following way:

return [
    //....
    'modules' => [
        // ...
        'gii' => [
            'class' => 'yii\gii\Module',
            'generators' => [
                'sphinxModel' => [
                    'class' => 'yii\sphinx\gii\model\Generator'
                ]
            ],
        ],
    ]
];