dawn at dawnthots
Apr 20, 2011, 7:13 PM
Yes you said that today on IRC. Greg and I looked at keyword groups in the API and a solution didn't leap out at us.
So would we make a parent group for the keyword group? Could you have groups of keywords that have groups of child keywords?
my $parent_id = $grp->get_parent_id;
$grp = $grp->set_parent_id($parent_id);
Or what is a member collection? It's a private method. Should we use that?
my $memb_coll = $get_memb_coll->($self)
Returns the collection of members for this group. The collection is a Bric::Util::Coll::Member object. See that class and its parent, Bric::Util::Coll, for interface details.
Or woud you uses classes of the keyword groups?
my $class_id = Bric::Util::Grp::Keyword->get_class_id;
Returns the Bric::Util::Class object ID representing this class.
I don't dig into the guts of Bricolage normally so I don't know what the first step would be.
On 2011-04-20, at 7:09 PM, David E. Wheeler wrote:
> On Apr 20, 2011, at 12:57 PM, Dawn Buie wrote:
>> I could see a way to hack bricolage to do this for a client - but would it be of any interest to the group to have it added as a feature to bricolage?
>> Also - does anyone see a better way to do this job?
> If it was a feature, I wouldn't use categories to do it, but keyword groups.