Hi,
I would like to know how i can pass a Zend table or row object as a
parameter to a function.
For ex:
class RoundTable extends Zend_Db_Table {} $table = new
RoundTable(); // fetch a record from the table as a
Zend_Db_Table_Row object
$row = $table->fetchRow('first_name = "Robin"');
If I wanted to create a function that accepts either $table or $row as a
parameter.
Please let me know.
Thanks in advance.
Fouzia
"And a sign for them is the dead land. We gave it life, and We brought forth
from it grains, so that they eat thereof. And We have made therein gardens
of date-palms and grapes, and We have caused springs of water to gush forth
therein. So that they may eat of the fruit thereof, and their hands made it
not. Will they not, then, give thanks?" Soorah Yaasin 36:33-35
www.beconvinced.com