Yii Framework Forum: CRUD generator with composite primary - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

CRUD generator with composite primary

#1 User is offline   CPzee 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 59
  • Joined: 11-November 11
  • Location:Sri Lanka

Posted 15 August 2012 - 12:47 AM

In the versions of Yii, released there cannot see anyway to make CRUD for models that contain composite primary key.Hope it won't be a matter in Yii 2.0.... :)
Found anything useful???? Pls click +
Ubuntu 12.04--PHP 5.3.10(Yii v1.1.13)
0

#2 User is offline   yiqing95 

  • Advanced Member
  • PipPipPip
  • Yii
  • Group: Members
  • Posts: 598
  • Joined: 27-December 10
  • Location:china

Posted 15 August 2012 - 02:17 AM

see the giix

it have supported the composite primary key :D
1

#3 User is offline   CPzee 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 59
  • Joined: 11-November 11
  • Location:Sri Lanka

Posted 15 August 2012 - 04:25 AM

View Postyiqing95, on 15 August 2012 - 02:17 AM, said:

see the giix

it have supported the composite primary key :D


Thnx bro... :)
Found anything useful???? Pls click +
Ubuntu 12.04--PHP 5.3.10(Yii v1.1.13)
0

#4 User is offline   Rodrigo Coelho 

  • Master Member
  • PipPipPipPip
  • Yii
  • Group: Members
  • Posts: 665
  • Joined: 05-August 10
  • Location:Rio de Janeiro, Brazil

Posted 15 August 2012 - 07:05 AM

Please remember that giix doesn't have full support for composite PKs. You can extend it where it is needed, though.
0

#5 User is offline   CPzee 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 59
  • Joined: 11-November 11
  • Location:Sri Lanka

Posted 02 October 2012 - 11:59 PM

View Postyiqing95, on 15 August 2012 - 02:17 AM, said:

see the giix

it have supported the composite primary key :D


Found a better way to this....this will help to generate CRUD for composite primary keys...

CRUD genarator
Found anything useful???? Pls click +
Ubuntu 12.04--PHP 5.3.10(Yii v1.1.13)
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users