i need to do a custom findall lookup
findall needs to accept an objects params for the where clause.
something like findall($condition='where name=:params', $params=array(:params=$parent_object->$object->_params);.
$parent_object->$object->_params=array(id=1, name='name),
parent_object->$object2->_params=array(id=2, name='name2),
obviously that doesnt work. so how would i accomplish this.
Page 1 of 1
findall array?
#2
Posted 07 May 2010 - 02:44 AM
I don't understand you actual need, but try with CDbCriteria - http://www.yiiframew...#reading-record
Find more about me.... btw. Do you know your WAN IP?
Share this topic:
Page 1 of 1

Help











