Yii Framework Forum: Ar Extension For Belongs_To - Yii Framework Forum

Jump to content

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

Ar Extension For Belongs_To Help finding matching extension Rate Topic: -----

#1 User is offline   kradam 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 17
  • Joined: 22-October 12

Posted 07 March 2013 - 07:44 AM

I use CSaveRelationsBehavior in my project. It supports ~_MANY relationships, but ignores BELONGS_TO.

There is Order class which BELONGS_TO Customer. In Order form I can fill Customer data, can create the new one or modify existing one. I need an extension which saves Customer when saving Order. It should insert the new Customer record or update existing if PK of Customer given. There are many AR extension but I found veryfing them time-consuming. Maybe someone had similiar problem and found matching extension?

I can put some of my code if my issue isn't clear.
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