i need to install yii 2.0 basic, then copy and import yii 2.0 advance specifications like tow table in mysql, all models and controller. is that possible?
any other ways to do this? Thanks all.
i need to install yii 2.0 basic, then copy and import yii 2.0 advance specifications like tow table in mysql, all models and controller. is that possible?
any other ways to do this? Thanks all.
I’m not sure what you mean by that, but I would do the following:
With the source code of the app-advanced in your hand, it will not be so hard to do, I hope.
I did as mentioned above, it is not too hard. You will have to watch for namespace declarations in the models,
<?php
//Change
namespace common\models;
//to
namespace app\models;
?>
Or generate new models with gii, and paste in the code borrowed from the advanced or any custom code you may have created.