Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • How to enable CURD operation in YII

    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 400
    Comment on it

    In yii we can create our basic code for 'CREATE',,'UPDATE','READ','DELETE' operations. for enable this functionality we need to enable curd. For enable curd go to your main.php file and find keyword 'gii' and you will see like this

       /* 'modules'=>array(
          'gii'=>array(
           'class'=>'system.gii.GiiModule',
           'password'=>'gii',
           'ipFilters'=>array('*','::1'),
           'generatorPaths' => array(
                'bootstrap.gii'
           ),
          ),
         ),*/
    

    uncommnet this section and you can access CURD operation

        'modules'=>array(
          'gii'=>array(
           'class'=>'system.gii.GiiModule',
           'password'=>'gii',
           'ipFilters'=>array('*','::1'),
           'generatorPaths' => array(
                'bootstrap.gii'
           ),
          ),
         ),
    

 0 Comment(s)

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: