Tims Tech Blog

My blog looks bad because I'm working on making yours look better

Main menu

Skip to primary content
Skip to secondary content
  • Home
  • Weight Loss
  • Contact Me
  • Services

Monthly Archives: March 2010

Doctrine ORM – Set a Custom Parameter

Posted on March 8, 2010 by Tim Golen
Reply

In order to set a parameter on a Doctrine object that doesn’t exist from your database, use the mapValue() method:

$record->mapValue(‘name’, $value);

Posted in Learning | Leave a reply

Archives

  • December 2011
  • August 2011
  • July 2011
  • May 2011
  • April 2011
  • January 2011
  • November 2010
  • September 2010
  • August 2010
  • July 2010
  • May 2010
  • April 2010
  • March 2010
  • September 2009
  • August 2009
  • July 2009
  • June 2009
  • May 2009
  • April 2009
  • March 2009
  • February 2009
  • January 2009
  • August 2008
  • June 2008
  • May 2008
  • April 2008
  • March 2008
  • January 2008
  • December 2007
  • September 2007
  • August 2007

Meta

  • Register
  • Log in
Proudly powered by WordPress