Google Mail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Message from discussion mapValue - documentation incorrect

View Parsed - Show only message text

Received: by 10.210.86.1 with SMTP id j1mr539768ebb.11.1245934417354;
        Thu, 25 Jun 2009 05:53:37 -0700 (PDT)
Return-Path: <jonw...@gmail.com>
Received: from mail-ew0-f221.google.com (mail-ew0-f221.google.com [209.85.219.221])
        by gmr-mx.google.com with ESMTP id 14si387978ewy.5.2009.06.25.05.53.36;
        Thu, 25 Jun 2009 05:53:36 -0700 (PDT)
Received-SPF: pass (google.com: domain of jonw...@gmail.com designates 209.85.219.221 as permitted sender) client-ip=209.85.219.221;
Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of jonw...@gmail.com designates 209.85.219.221 as permitted sender) smtp.mail=jonw...@gmail.com; dkim=pass (test mode) header...@gmail.com
Received: by ewy21 with SMTP id 21so61235ewy.12
        for <doctrine-dev@googlegroups.com>; Thu, 25 Jun 2009 05:53:36 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=gamma;
        h=domainkey-signature:mime-version:received:in-reply-to:references
         :from:date:message-id:subject:to:content-type;
        bh=Pw+4HezrvqYQqpq4dGMzHGpV6MVeQB7l51/rcPLTTzo=;
        b=B81Dc7Aw9GUCbL2Pobn/Ewe+8vLYHrvARHRXugxL3m2kK5uuyQJGlsS3Yr+k05mP69
         4oxFNPVJ+GblX8znrTNF7/6c6LZy0MuAHGUgdihRGeIIyItoQWD0S1+SU1msv55i64Yt
         lCFzcJ8dEQ4ppwmkRpDk2oFLQB9241QGevU7U=
DomainKey-Signature: a=rsa-sha1; c=nofws;
        d=gmail.com; s=gamma;
        h=mime-version:in-reply-to:references:from:date:message-id:subject:to
         :content-type;
        b=N47mXDvQqXTTNMlD917gno2xEk0bMoj2tUM8tw9ucPp8niwaebWp1oQ/SvQc4NnJKd
         8wWTphcQKbshLJ7z+OtGaW4QNhtZ3momsHD4K0EZQ/ffV/aS0A/iOvf7dk3YAswAdxrx
         C9dppRBXz+4h3sTaeS36ZkyT/aAKLpAQ9KNkQ=
Mime-Version: 1.0
Content-Type: multipart/alternative;
	boundary="0016e6dd8eac491a32046d2bb69b"
Received: by 10.216.30.5 with SMTP id j5mr771150wea.209.1245934416107; Thu, 25 
	Jun 2009 05:53:36 -0700 (PDT)
In-Reply-To: <-1743492932806318323@unknownmsgid>
References: <-1743492932806318323@unknownmsgid>
From: Jonathan Wage <jonw...@gmail.com>
Date: Thu, 25 Jun 2009 07:53:16 -0500
Message-ID: <be85b5220906250553o7af0b4d9m60f3c426909fd...@mail.gmail.com>
Subject: Re: [doctrine-dev] mapValue - documentation incorrect
To: doctrine-dev@googlegroups.com

--0016e6dd8eac491a32046d2bb69b
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

Can you log a ticket for this if you don't mind?

Thanks, Jon

On Wed, Jun 24, 2009 at 10:57 AM, Adam Huttler <
adam.hutt...@fracturedatlas.org> wrote:

>  Hi,
>
> The documentation for mapping custom values is incorrect:
>
> http://www.doctrine-project.org/documentation/manual/1_1/en/component-ove=
rview#record:mapping-custom-values
>
> The example in the docs shows $this->mapValue() being called in
> setTableDefinition(), but that doesn=92t work. It needs to be called in
> construct() for it to work correctly.
>
> Having said that, I think this is the wrong approach. Doesn=92t it make m=
ore
> sense to define a custom property in setTableDefinition(), alongside all =
of
> the regular columns?
>
> Thanks,
> Adam
>
> >
>


--=20
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 question=
s
at jonathan.w...@sensio.com

--0016e6dd8eac491a32046d2bb69b
Content-Type: text/html; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

Can you log a ticket for this if you don&#39;t mind?<br><br>Thanks, Jon<br>=
<br><div class=3D"gmail_quote">On Wed, Jun 24, 2009 at 10:57 AM, Adam Huttl=
er <span dir=3D"ltr">&lt;<a href=3D"mailto:adam.hutt...@fracturedatlas.org"=
>adam.hutt...@fracturedatlas.org</a>&gt;</span> wrote:<br>

<blockquote class=3D"gmail_quote" style=3D"border-left: 1px solid rgb(204, =
204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">








<div link=3D"blue" vlink=3D"purple" lang=3D"EN-US">

<div>

<p>Hi,</p>

<p>The documentation for mapping custom values is incorrect:<br>
<a href=3D"http://www.doctrine-project.org/documentation/manual/1_1/en/comp=
onent-overview#record:mapping-custom-values" target=3D"_blank">http://www.d=
octrine-project.org/documentation/manual/1_1/en/component-overview#record:m=
apping-custom-values</a></p>



<p>The example in the docs shows $this-&gt;mapValue() being
called in setTableDefinition(), but that doesn=92t work. It needs to be
called in construct() for it to work correctly.</p>

<p>Having said that, I think this is the wrong approach. Doesn=92t
it make more sense to define a custom property in setTableDefinition(),
alongside all of the regular columns?</p>

<p>Thanks,<br>
Adam</p>

</div>

<br>
</div>


<br>
</blockquote></div><br><br clear=3D"all"><br>-- <br>Jonathan H. Wage (+1 41=
5 992 5468)<br>Open Source Software Developer &amp; Evangelist<br><a href=
=3D"http://sensiolabs.com">sensiolabs.com</a> | <a href=3D"http://jwage.com=
">jwage.com</a> | <a href=3D"http://doctrine-project.org">doctrine-project.=
org</a> | <a href=3D"http://symfony-project.org">symfony-project.org</a><br=
>

<br>You can contact Jonathan about Doctrine, Symfony and Open-Source or for=
 training, consulting, application development, or business related questio=
ns at <a href=3D"mailto:jonathan.w...@sensio.com">jonathan.w...@sensio.com<=
/a><br>



--0016e6dd8eac491a32046d2bb69b--


Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google