Skip to Content.
Sympa Menu

comanage-dev - [comanage-dev] supporting find() against Grouper data source

Subject: COmanage Developers List

List archive

[comanage-dev] supporting find() against Grouper data source


Chronological Thread 
  • From: Scott Koranda <>
  • To: comanage-dev <>
  • Subject: [comanage-dev] supporting find() against Grouper data source
  • Date: Mon, 23 Apr 2012 11:34:45 -0500

Hi,

So CoGroup->find() and CoGroupMember->find() calls result in
the read() method for the Grouper data source classes being
called.

The $params passed as the second argument to find() ends up
directly in the data source read() call and has to be
supported by that method.

So a truly robust data source will need to support every
conceivable $params argument that a programmer could want to
pass (think supporting all constraints, 'OR', filters, ...).

Obviously that will be a lot of work so I plan to begin with
supporting the simple constraints on co_id, co_group_id, and
the like that are necessary to support the current UI.

Over time as we need more functionality we can add it, but be
aware that passing in 'fancy' $params will be a no-op (they
will be ignored) for now.

Scott

P.S. Or if you prefer it can throw an exception so that it is
easier to know when you have gone past the currently supported
arguments...


  • [comanage-dev] supporting find() against Grouper data source, Scott Koranda, 04/23/2012

Archive powered by MHonArc 2.6.16.

Top of Page