From: Matthew M. <ma...@tu...> - 2003-12-03 13:13:26
|
This has been fixed in 0.9.3-2. Matt On Wed, 2003-12-03 at 06:57, Richard Sumilang wrote: > I don't know about you guys but this is the way my constructor looks > like for the PHPWS_User_Groups class in the User mod. If you notice > you'll see that the $members variable is erased if it got or didn't get > the information and I was just wondering if that made sense? The > alternative is just to use the loadGroup function after the constructor > which makes it 2 steps to get the group information. > > function PHPWS_User_Groups($group_id=NULL){ > if (isset($group_id) && is_numeric($group_id)) > if (!$this->loadGroup($group_id)) > $this->members=array(); > else > $this->members=array(); > } > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > Phpwebsite-developers mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpwebsite-developers -- Matthew McNaney Internet Systems Architect Electronic Student Services Appalachian State University Phone: 828-262-6493 http://phpwebsite.appstate.edu http://ess.appstate.edu |