From: Richard S. <ri...@ri...> - 2003-11-05 22:13:56
|
Does the new 09.3-2 have more generic queries to work across more databases? Also, approximately when is it expected to be released ;-) - Richard S. On Nov 5, 2003, at 1:12 PM, Steven Levin wrote: > Hello Everyone, > > There is another necessary change I have recently discovered which > was > not covered in the docs that I sent out. If you are the using the > approval or fatcat module you will need add a require_once() in the > conf > files for each class that is needed. > > Examples: > announce/conf/approval.php > <?php > > if($_SESSION["OBJ_user"]->allow_access("announce")){ > require_once(PHPWS_SOURCE_DIR.'mod/announce/class/Announcement.php'); > > if ($approvalChoice == "yes"){ > PHPWS_Announcement::approve($id); > } else if ($approvalChoice == "no") { > PHPWS_Announcement::refuse($id); > } else if ($approvalChoice == "view") { > $ann = new PHPWS_Announcement($id); > echo $ann->view("small", TRUE); > } > } > > ?> > > calendar/conf/fatcat.php > <?php > > require_once PHPWS_SOURCE_DIR . "mod/calendar/class/Calendar.php"; > > $className = "PHPWS_Calendar"; > $methodName = "viewFatCatEvent"; > > ?> > > And thats all. > -- > Steven Levin > Computer Systems Admin I > Electronic Student Services > Appalachian State University > Phone: 828.262.6740 > http://phpwebsite.appstate.edu > > > > ------------------------------------------------------- > 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 > > |