From: "J. Philip" <jphi...@noatak.com>
Date: Thu, 1 May 2008 10:45:24 -0800
Local: Thurs 1 May 2008 19:45
Subject: RE: [doctrine-dev] Re: Taggable Plugin
The way I wanted it is to have a single Tagging class for all taggable
models with Tag_id Taggable_id Taggable_model It is the principle used by Ror plugin or The way you suggest, although creating more tables seems more sound as -----Original Message-----
From: doctrine-dev@googlegroups.com [mailto:doctrine-dev@googlegroups.com] On Behalf Of Jonathan Wage Hmm. You should be able to create this model setup with the behavior BlogPost - actAs Taggable - This would create the following: BlogPostTag Tag(only created if it doesn't already exist, or if it is configured to Now you can create the following relationships: BlogPost hasMany Tag as Tags(local: blog_post_id, foreign: tag_id, On Thu, May 1, 2008 at 1:16 AM, J. Philip <jphi...@noatak.com> wrote: I created a couple of tickets. Another question: The relation between the Taggale class and the Tag class is polymorphic, Is there a way to take advantage of Doctrine's automatic relation -----Original Message----- Sent: Wednesday, April 30, 2008 7:17 PM Can you create tickets for the issues you are finding? Their are known Thanks On Apr 30, 2008, at 5:48 PM, "J. Philip" <jphi...@noatak.com> wrote: > Thanks Jon, > I made a little progress. > instanciating the TagGenerator class. > Now I have work on the relationships. > Jacques > -----Original Message----- > I think the best way to do this right now would be you just have a > one bundled with the behavior, but the plugin could be configured to > - Jon > On Wed, Apr 30, 2008 at 4:44 AM, Mushing Fan <jphi...@noatak.com> > I was trying to create a Taggable plugin, I followed the documentation > -- -- You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||