Req #5023 [Opn]: No documentation for joinAs for method joinAdd?

From: Date: Wed, 10 Aug 2005 10:06:30 +0000
Subject: Req #5023 [Opn]: No documentation for joinAs for method joinAdd?
References: 1  Groups: php.pear.doc 
Request: Send a blank email to pear-doc+get-6631@lists.php.net to get a copy of this message
Edit report at http://pear.php.net/bugs/bug.php?id=5023&edit=1 ID: 5023 Updated by: mj@php.net Reported By: info at pdxi dot net Status: Open Id: 5023 Type: Feature/Change Request Package: Documentation Operating System: n/a PHP Version: 4.3.11 New Comment: For the records: This bug refers to DB_DataObject. Previous Comments: ------------------------------------------------------------------------ [2005-08-08 03:39:49] info at pdxi dot net Description: ------------ I remember that I could use joinAdd() to join two tables, and set the joinAs variable to prepend the second table's fieldnames. Such as this: $one = new first_table; $two = new second_table; $one->joinAdd($two, "two_%s"); I used to be able to prepend the field names of the second table with "two_", and now I can't. I don't know why. Apparently the arguments for the joinAdd method have changed. I want to figure out how to use this method, and how I can get results similar to what I got with earlier versions, but there's no documentation regarding the joinAs variable of joinAdd. I'm in the dark. Can you please describe this further? Thank you for the great work. I've been using DB_DataObject for over a year, and I think it's the best database abstraction library that I've come across. Regards, Jeff ------------------------------------------------------------------------ -- Edit this bug report at http://pear.php.net/bugs/bug.php?id=5023&edit=1

« previous php.pear.doc (#6631) next »