Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

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

Posted on 2013-01-22
3
Medium Priority
?
1,299 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

Enroll in October's Free Course of the Month

Do you work with and analyze data? Enroll in October's Course of the Month for 7+ hours of SQL training, allowing you to quickly and efficiently store or retrieve data. It's free for Premium Members, Team Accounts, and Qualified Experts!

Question has a verified solution.

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

In this article you'll learn how to use Ajax calls within your CodeIgniter application. To explain this, I'll illustrate how to implement a simple contact form to allow visitors to send you an email through your web site.
Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
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 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 …
Suggested Courses

636 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