Solved

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

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

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

Foreword (July, 2015) Since I first wrote this article, years ago, a great many more people have begun using the internet.  They are coming online from every part of the globe, learning, reading, shopping and spending money at an ever-increasing ra…
This article discusses how to implement server side field validation and display customized error messages to the client.
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…

717 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