?
Solved

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

Posted on 2013-01-22
3
Medium Priority
?
1,255 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 1

Accepted Solution

by:
weaverk earned 2000 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

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…
These days socially coordinated efforts have turned into a critical requirement for enterprises.
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 look for a specific file type in a local or remote server directory using PHP.
Suggested Courses

752 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