Phorm/Widget/SelectMultiple.class.php
/**
	 * @param array $value an array of the field's values
	 * @param array $attributes key=>value pairs corresponding to HTML attributes' name=>value
	 */
@param array $value an array of the field's values
@param array $attributes key=>value pairs corresponding to HTML attributes' name=>value
@param array $value an array of the field ' s values @param array $attributes key = > value pairs corresponding to HTML attributes ' name = > value
public function html($value, array $attributes=array())
	{
		if( is_null($value) )
			$value = array();
		foreach( $attributes as $key => $val )
		{
			$attributes[htmlentities((string) $key)] = htmlentities((string) $val);
		}
		return $this->serialize($value, $attributes);
	}
public function html ( $ value , array $ attributes = array ( ) ) { if ( is_null ( $ value ) ) $ value = array ( ) ; foreach ( $ attributes as $ key => $ val ) { $ attributes [ htmlentities ( ( string ) $ key ) ] = htmlentities ( ( string ) $ val ) ; } return $ this -> serialize ( $ value , $ attributes ) ; }
@param array $value an array of the field's values
 @param array $attributes key=>value pairs corresponding to HTML attributes' name=>value
@param array $value an array of the field ' s values @param array $attributes key = > value pairs corresponding to HTML attributes ' name = > value