Solved

Yii, gii (giix) - generate all models at once?

Posted on 2013-01-22
3
1,147 Views
Last Modified: 2016-08-26
Hi Experts :)

I am trying to build an Yii application. I have many tables in the database. Is there an easy way to generate all the modules for all the tables at once? Or do I have to make them one at a time?

Of course I am talking about the gii or giix module :)

Best regards,
Terrible Monster
0
Comment
Question by:potworny
3 Comments
 
LVL 1

Accepted Solution

by:
weaverk earned 500 total points
ID: 38819155
where it says model name, instead of typing name of table, just put a *
it should make all models, but for the crud, i think you have do each separately
0
 

Author Closing Comment

by:potworny
ID: 38819849
Yay! You are right! THANK YOU :D
0
 

Expert Comment

by:tobi taiwo
ID: 41771700
please can you write a short tutorial on how to override the method in the base models expecially the rule()
0

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Suggested Solutions

This article will explain how to display the first page of your Microsoft Word documents (e.g. .doc, .docx, etc...) as images in a web page programatically. I have scoured the web on a way to do this unsuccessfully. The goal is to produce something …
This article discusses how to create an extensible mechanism for linked drop downs.
The purpose of this video is to demonstrate how to set up the WordPress backend so that each page automatically generates a Mailchimp signup form in the sidebar. This will be demonstrated using a Windows 8 PC. Tools Used are Photoshop, Awesome…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now