I believe that something along the lines of:

in_array($colName, $this->info('cols')

Will get you exactly what you're looking for.

On 24/02/2009 4:18 PM, Alex Howansky wrote:

If I have an instance of a Zend_Db_Table_Row object, I can determine if
a certain column exists in that row by way of the __isset() method, like
this:

if (isset($row->$col)) { ... }

I'd like to be able to do this same sort of test, but on an instance of
a Zend_Db_Table object instead. I don't see any built in mechanism to
support this however. I thought I'd ask if I was missing something
before extending Zend_Db_Table.

Thanks,


Reply via email to