Try to call parent setName method this way

parent::_set('name', $value);


On 2 bře, 11:36, verox <pawel.rz...@gmail.com> wrote:
> Added this to class Article extends BaseArticle, and have Connection
> To Server Failed
>
> It's Doctrine btw
>
> On 27 Lut, 12:21, jp_morvan <sacri...@free.fr> wrote:
>
>
>
> > Hi,
> > Did you try in you model file to override the method setName() ?
>
> > public function setName($name){
> >   $letter = strtoupper(substr($name, 0, 1));
> >   $this->setLetter($letter);
> >   parent::setName($name);
>
> > }
>
> > On 27 fév, 10:51, verox <pawel.rz...@gmail.com> wrote:
>
> > > I'm trying this while creating new object.
> > > Overwrite  protected function processForm(sfWebRequest $request,
> > > sfForm $form)

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to