Re: Browse?

From: Date: Fri, 12 Sep 2003 09:15:01 +0000
Subject: Re: Browse?
References: 1  Groups: php.pear.general php.pear.general 
Request: Send a blank email to pear-general+get-7763@lists.php.net to get a copy of this message
This is the current working version I have.. http://devel.akbkhome.com/svn/index.php/akpear/HTML_DataObject/DataObject/Browse.php It does however depend on HTML_Template_Flexy,Pager_Sliding There is a dependancy for Gtk_ValidateManger - which could be removed/made optional.. (used for validation of input when doing searching etc.) It has very little documentation... - so If you attempt anything.. -- it's a case of getting to grips with the code... Regards Alan Ronald Van Raaphorst wrote:
Hi all, Is there a package that uses a DB_DataObject and that shows a browse? If not, what is the common approach? What I want is: * A single script that will handle the browse, the (primary) file taken from the parameter: script.php?table=Article * Select the fields to display, and lookup parent fields * Select records by clicking on them * Optionally provide direct edit and delete links (at the left or right side) * Optionally provide new, edit and delete buttons, which apply to the selected record * Page navigation links (First page, Prev Page, Select a page, Next Page, Last Page) * The new, edit and delete links should call the form for that (primary) file Ronald Attached is an example of what I got without pear... But I like the pear framework, even though I miss some complete examples (code snippets everywhere, but not an example of how to use it all together). It would be very nice to have a site where you can see the (working) result, and what you can accomplish with the packages.
-- Can you help out? Need Consulting Services or Know of a Job? http://www.akbkhome.com

« previous php.pear.general (#7763) next »