[dev] Re: changed ShaRe: :getShareCriteria() logic

Chuck Hagenbuch chuck at horde.org
Fri Mar 11 14:46:07 PST 2005


Quoting Duck <duck at obala.net>:

> Changes the owner attribute of getShareCriteria, listShares and countShares
> methods to allow passing an array of attributes values/keys. Passing a string
> will make it run as before (assuming is an share owner username). Otherwise
> will pass trough array key/values and restrict  the selection of shares to
> attributes corresponding shares.

Committed, thanks.

> For example, as in the attached Ansel testing script, we can direct
> select/count galleries in a particular category. Of course I will implement
> browsing galleries grouped by categories if this will be committed.

Looking forward to it.

-chuck

-- 
"But she goes not abroad in search of monsters to destroy." - John 
Quincy Adams


More information about the dev mailing list