Go to Google Groups Home    doctrine-dev
RE: [doctrine-dev] Re: Doctrine_Record::hasValue()

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

Works for me.

From: doctrine-dev@googlegroups.com [mailto:doctrine-dev@googlegroups.com]
On Behalf Of Jonathan Wage
Sent: Sunday, June 28, 2009 4:53 PM
To: doctrine-dev@googlegroups.com
Subject: [doctrine-dev] Re: Doctrine_Record::hasValue()

Should it be named something different like hasMappedValue() or something?

- Jon

On Fri, Jun 26, 2009 at 9:19 PM, Adam Huttler

<adam.hutt...@fracturedatlas.org> wrote:

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

--
Jonathan H. Wage (+1 415 992 5468)
Open Source Software Developer & Evangelist
sensiolabs.com | jwage.com | doctrine-project.org | symfony-project.org

You can contact Jonathan about Doctrine, Symfony and Open-Source or for
training, consulting, application development, or business related
questions at jonathan.w...@sensio.com