Google Groups Home
Help | Sign in
Message from discussion Taggable Plugin
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
Jonathan Wage  
View profile
 More options 30 Apr, 15:02
From: "Jonathan Wage" <jonw...@gmail.com>
Date: Wed, 30 Apr 2008 09:02:30 -0500
Local: Wed 30 Apr 2008 15:02
Subject: Re: [doctrine-dev] Taggable Plugin

I think the best way to do this right now would be you just have a
standalone child class extending from Doctrine_Record and have the behavior
configurable for the Tag model to use. It will default to the one bundled
with the behavior, but the plugin could be configured to use something else
if required.

- Jon

On Wed, Apr 30, 2008 at 4:44 AM, Mushing Fan <jphi...@noatak.com> wrote:

> I was trying to create a Taggable plugin, I followed the documentation
> and example of the Versionable plugin, but I am not sure how to
> implement a plugin that needs 2 tables. (A Tag and Taggable class)
> I understood I have to create a Template to extend the classes that
> will be taggable.
> The template instantiates a generator that is placed in its_plugin
> property and eventually adds a listener to act upon changes in the
> records.
> But is it possible to add 2 generators to a template?

--
Jonathan Wage
http://www.jwage.com
http://www.centresource.com

    Reply to author    Forward  
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.

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2008 Google