2009年2月13日星期五

Re: [fw-mvc] partialLoop & Zend_Db_Table_Rowset as object usage

lightflowmark pisze:
> That works a treat - thanks, I've been working around this irritation in a
> few different places.
>
>
>
> Hector Virgen wrote:
>
>> If you only want specific rows from the original table, you can call
>> from():
>>
>> $table = new MyTable();
>>
>> $select = $table->select()
>> ->setIntegrityCheck(false)
>> ->from($table, array('id', 'name'))
>> ->join(...);
>>
>> Does that help?
>>
>> -Hector
>>
>>
>>
>
>
Someone could repair it , it is strange that you have to call
from($table) i would like to use it without from , i thought that it
works without it

没有评论: