Go to Google Groups Home    doctrine-dev
Doctrine_Record::hasValue()

Adam Huttler <adam.hutt...@fracturedatlas.org>

Attached is a patch to add Doctrine_Record::hasValue().

Would anyone object to adding this? There's already
Doctrine_Table::hasField() and Doctrine_Record::hasRelation(), but there's
currently no public interface for determining if a custom property has
been defined.

It could alternately be named hasMappedValue(), but that seems awkward to
me.

Thanks,
Adam

  diff.txt
< 1K Download