|
DataObject - MDB2 issues Hi recently changed over to using MDB2 with my dataobjects: This is in my config file: - you can see I set up for MDB2 // Create the array of options for DataObjects $config['DB_DataObject'] = array( 'database' => DB_EXT . '://user:password(a)localhost/admin', 'schema_location' => ADMIN_DO ... 27 Sep 2006 15:11
DataGrid and multiple renderers Is there a way to use multiple renderers with DataGrid. The renderers I'm particulary interested in is the XML and Pager. I can do the paging manually, but the only way I can think of would be a roundabout way using both DataObject->find() to get the subset I want and then another query to get the total numbe... 28 Sep 2006 09:13
populate quickforms's hierselect via Ajax Hey Folks, I'm currently using HTML_Quickform's hierselect and it has been working out just fine. My issue now is that the total amount of data that the list needs to handle is too large (5 to six menus deep and about 6,000 records). Anyone have an ideas (sample code would be great too!) about how to handle ... 26 Sep 2006 16:28
DataGrid For the most part, DataGrid (coupled with DB_DataObject) is incredibly easy to use. In less than half a dozen lines of code, my query result set is returned in XML format. Very cool. I am, however, running into a stumbling block. One of my columns is a text field that contains/allows CRLFs, which I need to ... 24 Sep 2006 20:14
DB_DataObject_FormBuilder and crossLinkExtraFields Hi, I'm using DB_DO_FB for a conference management system which includes four tables: conference_session conference_time_slots conference_venues conference_session_time_slot The final table, conference_session_time_slot, connects a session with a time slot and a venue, and I have my conference_session... 23 Sep 2006 20:07
MDB2 and Quickform_select Array Hi, I would like to fill in an Quickform_select field with data from my database. So actually I'm trying to use mdb2 to fetch the data und the quickform_select statement to render it. Here is my current code: //Database connetion $mdb2 =& MDB2::connect($dsn); $mdb2->setFetchMode(MDB2_FETCHMODE_ASSOC); ... 19 Sep 2006 15:39
Pear Problem Christoph L?tjen - webEdition Software GmbH wrote: Hi, your script could not open a template file, because there's no such file. [PHP Error 20060226230305]Error: "fopen(/usr/httpdocs/wda2- winestore/templates/winestore.tpl): failed to open stream: No such file or directory" (error #2). Th... 19 Sep 2006 04:16
MDB2 and transactions In PEAR::MDB2 is it mandatory to do a beginTransaction() commit() to work with transactions? In PEAR::DB I used to set autocommit(false) and every time I executed a query with an INSERT, UPDATE or DELETE PEAR::DB started a new transaction which I finished with a commit(). How should I go with MDB2? -- -... 16 Sep 2006 18:48
HTTP_Session - session replication Hi, Firstly, thanks to the authors of HTTP_Session. My testing with it has been flawless. I have been using the MDB2 container and I can watch my session data being created and destroyed in the sessiondata table. Before session data is destroyed, I would like to replicate it in another table so that it can... 15 Sep 2006 13:42
Pager in reverse order Hello, Does anybody know if it is possible to display a Pager_Sliding object in reverse order, e.g. : Link 1 links to page N Link 2 links to page N - 1 ... Link N - 1 links to page 2 Link N links to page 1 That is to say, a way to produce the following HTML output : ... 12 Sep 2006 03:42 |