Phorm/Field.class.php
/**
	 * Returns an HTML string containing the field's help text.
	 * If provided with $text it assigns help text to the field.
	 *
	 * @param string $text the help text
	 * @return null|string
	 */
Returns an HTML string containing the field's help text.
If provided with $text it assigns help text to the field.

@param string $text the help text
@return null|string
Returns an HTML string containing the field ' s help text . If provided with $text it assigns help text to the field . @param string $text the help text @return null|string
public function help_text($text='')
	{
		if( !empty($text) )
		{
			$this->help_text = $text;
		}
		elseif( !empty($this->help_text) )
		{
			return '<span class="phorm_help">'.htmlentities($this->help_text).'</span>';
		}
	}
public function help_text ( $ text = '' ) { if ( ! empty ( $ text ) ) { $ this -> help_text = $ text ; } elseif ( ! empty ( $ this -> help_text ) ) { return '<span class="phorm_help">' . htmlentities ( $ this -> help_text ) . '</span>' ; } }
Returns an HTML string containing the field's help text.
Returns an HTML string containing the field ' s help text .