protected function label($name, $label = null, array $options = array(), $content = null) {
		$return = '';
		$options = array_merge(array('class' => 'control-label ' . $this->labelClass, 'for' => (!$content ? $name : null)), $options);

		if ($label !== null) {
			$return .= '<label' . $this->html->attributes($options) . '>' . $content . ucwords(str_replace('_', ' ', $label)) . '</label>' . "\n";
		}

		return $return;
	}
protected function label($name, $label = null, array $options = array(), $content = null) {
		$return = '';
		$options = array_merge(array('class' => 'control-label ' . $this->labelClass, 'for' => (!$content ? $name : null)), $options);

		if ($label !== null) {
			$return .= '<label' . $this->html->attributes($options) . '>' . $content . ucwords(str_replace('_', ' ', $label)) . '</label>' . "\n";
		}

		return $return;
	}
protected function label ( $ name , $ label = null , array $ options = array ( ) , $ content = null ) { $ return = '' ; $ options = array_merge ( array ( 'class' => 'control-label ' . $ this -> labelClass , 'for' => ( ! $ content ? $ name : null ) ) , $ options ) ; if ( $ label !== null ) { $ return .= '<label' . $ this -> html -> attributes ( $ options ) . '>' . $ content . ucwords ( str_replace ( '_' , ' ' , $ label ) ) . '</label>' . "\n" ; } return $ return ; }
Create a form label field.

@param string $name
@param string $label
@param array  $options
@param string $content

@return string
Create a form label field .