Tuesday 05 August 2003 9:39:49 am
I think it would be nice if you could implement an like query possibility to ezpersistentobect also...
I had to do it like this so I could get the right kind of array sended to the template:
------
$asObject = true;
$sqlText = "SELECT * FROM test_table WHERE TestCell LIKE '%$Search%'";
$rows =& $db->arrayQuery( $sqlText, $db_params );
return eZPersistentObject::handleRows( $rows, $class_name, $asObject ); ------
Regards, Jerry
|