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

Jonathan Wage <jonw...@gmail.com>

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