Return to Snippet

Revision: 9246
at October 27, 2008 01:09 by jonniespratley


Initial Code
	private function mapContact( $recordset )
	{
		require_once( "vo/ContactVO.php" );

		$list = array();

		while( $data = mysql_fetch_array( $recordset ) )
		{
			$contactVO = new ContactVO( $data );

			array_push( $list, $contactVO );
		}
		return $contactVO;
	}

Initial URL

                                

Initial Description

                                

Initial Title
PHP Mapping Recordset to VO

Initial Tags
php, textmate

Initial Language
PHP