Hello All,
For anyone out there using the PHPWS_Manager class Adam and I
implemented, I would like to let you know about some new functionality I
haved added. Manager will now page lists for you if you'd like. You
can set a paging variable for each of your lists in the manager.php
config file. It will look something like this:
$savedPaging = array("op"=>"PHPWS_MAN_OP=list",
"limit"=>10,
"section"=>1,
"limits"=>array(5,10,25,50),
"back"=>"<<",
"forward"=>">>");
/* meanings */
"op"=>the operation to get back to the list
"limit"=>the default limit you want the lsit to start out with
"section"=>whether or not you want it to create section links
"limits"=>the alternative limit you want you user to be able to set
"back"=>the string it will use for the back link
"forward"=>the string it will use for the forward link
If this variable does not exists then the list simply won't page.
You can find an updated version of the example config file at:
docs/developers/manager.php.txt
Enjoy!
--
Steven Levin
Electronic Student Services
Appalachian State University
Phone: 828.262.2431
PhpWebsite Development Team
URL: http://phpwebsite.appstate.edu
Email: st...@NO...
|