Phorm/Widget.class.php
/**
	 * Returns the field as serialized HTML.
	 *
	 * @param mixed $value the form widget's value attribute
	 * @param array $attributes key=>value pairs corresponding to HTML attributes' name=>value
	 * @return string the serialized HTML
	 */
Returns the field as serialized HTML.

@param mixed $value the form widget's value attribute
@param array $attributes key=>value pairs corresponding to HTML attributes' name=>value
@return string the serialized HTML
Returns the field as serialized HTML . @param mixed $value the form widget ' s value attribute @param array $attributes key = > value pairs corresponding to HTML attributes ' name = > value @return string the serialized HTML
public function html($value, array $attributes=array())
	{
		$value = $this->clean_string($value);
		foreach( $attributes as $key => $val )
		{
			$attributes[$this->clean_string($key)] = $this->clean_string($val);
		}
		return $this->serialize($value, $attributes);
	}
public function html ( $ value , array $ attributes = array ( ) ) { $ value = $ this -> clean_string ( $ value ) ; foreach ( $ attributes as $ key => $ val ) { $ attributes [ $ this -> clean_string ( $ key ) ] = $ this -> clean_string ( $ val ) ; } return $ this -> serialize ( $ value , $ attributes ) ; }
Returns the field as serialized HTML.
Returns the field as serialized HTML .