Solved

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

Posted on 2013-01-22
3
1,172 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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Website Interactive tool that will do calculations 3 52
Intermittent Error on Page Loading 4 55
website maintenance mode 1 15
PHP Query return divisible by 3 3 13
Developers of all skill levels should learn to use current best practices when developing websites. However many developers, new and old, fall into the trap of using deprecated features because this is what so many tutorials and books tell them to u…
Recently I spent hours debugging an issue in a Rails project where ActiveRecord was causing MySQL errors trying to create a User object of a class at the top level of a Single Table Inheritance model structure.  It turns out `.create` behaves differ…
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
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…

815 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

11 Experts available now in Live!

Get 1:1 Help Now