Class PHRUTS_BeanUtils

Description

Utility methods for populating PHPBeans properties via reflection.

  • author: John WILDENAUER <jwilde@users.sourceforge.net> (PHP4 port of Struts)
  • author: Olivier HENRY <oliv.henry@gmail.com> (PHP5 port of Struts)
  • version: $Id: PHRUTS_BeanUtils.php,v 1.2 2008/05/24 13:32:44 ohenry Exp $
  • copyright: Copyright PHruts 2008

Located in /util/PHRUTS_BeanUtils.php (line 30)


	
			
Method Summary
static void populate (object $bean,  $properties)
Methods
static method populate (line 40)

Populate the PHPBeans properties of the specified bean, based on the specified name/value pairs.

  • throws: PHRUTS_IllegalArgumentException - If the bean object has not been specified
  • access: public
static void populate (object $bean,  $properties)
  • object $bean
  • array $properties

Documentation generated on Sat, 31 May 2008 15:45:53 +0200 by phpDocumentor 1.4.1