[dev] ansel status update

Chuck Hagenbuch chuck at horde.org
Thu Jan 8 12:48:05 PST 2004


Quoting Ben Chavet <ben at chavet.net>:

> Currently, Ansel_Gallery has renameImage($image) as a function.  It calls
> $this->_categories->renameCategory($image) to do the work.
>
> If I move this function to CategoryObject_Image as rename(), is it acceptable
> to call $this->_imageOb->_categories->renameCategory($this)? I ask because
> _categories should be private to _imageOb & shouldn't be called by anything
> but itself, right?

Ideally no, but in this case, there isn't really a better solution that seems
obvious to me, so it's okay.

-chuck

--
Charles Hagenbuch, <chuck at horde.org>
"I'm really... I'm not too fascinated by green food." - Average Joe


More information about the dev mailing list