public function staticControl($label, $html, $options = array()) {
		$options['type'] = 'static';
		$options = $this->addClass($options, 'form-control-static');
		$options = $this->_initInputOptions($options);

		$html = $this->Html->tag('div', $html, array('class' => $options['class']));

		// If size is set (like in an horizontal form) wrap inside div.size
		if ($this->inputOptions['custom']) {
			$html = $this->Html->tag('div', $html, array('class' => $this->inputOptions['custom']['wrap']));
		}

		if (!empty($options['label'])) {
			$label = $this->Html->tag('label', $label, $options['label']);
		}

		$divOptions = $this->_divOptions($options);
		unset($divOptions['tag']);
		$html = $this->Html->tag('div', $label . $html, $divOptions);

		return $html;
	}
public function staticControl($label, $html, $options = array()) {
		$options['type'] = 'static';
		$options = $this->addClass($options, 'form-control-static');
		$options = $this->_initInputOptions($options);

		$html = $this->Html->tag('div', $html, array('class' => $options['class']));

		// If size is set (like in an horizontal form) wrap inside div.size
		if ($this->inputOptions['custom']) {
			$html = $this->Html->tag('div', $html, array('class' => $this->inputOptions['custom']['wrap']));
		}

		if (!empty($options['label'])) {
			$label = $this->Html->tag('label', $label, $options['label']);
		}

		$divOptions = $this->_divOptions($options);
		unset($divOptions['tag']);
		$html = $this->Html->tag('div', $label . $html, $divOptions);

		return $html;
	}
public function staticControl ( $ label , $ html , $ options = array ( ) ) { $ options [ 'type' ] = 'static' ; $ options = $ this -> addClass ( $ options , 'form-control-static' ) ; $ options = $ this -> _initInputOptions ( $ options ) ; $ html = $ this -> Html -> tag ( 'div' , $ html , array ( 'class' => $ options [ 'class' ] ) ) ; // If size is set (like in an horizontal form) wrap inside div.size if ( $ this -> inputOptions [ 'custom' ] ) { $ html = $ this -> Html -> tag ( 'div' , $ html , array ( 'class' => $ this -> inputOptions [ 'custom' ] [ 'wrap' ] ) ) ; } if ( ! empty ( $ options [ 'label' ] ) ) { $ label = $ this -> Html -> tag ( 'label' , $ label , $ options [ 'label' ] ) ; } $ divOptions = $ this -> _divOptions ( $ options ) ; unset ( $ divOptions [ 'tag' ] ) ; $ html = $ this -> Html -> tag ( 'div' , $ label . $ html , $ divOptions ) ; return $ html ; }
Generates a static from control with the passed 'label' and 'html' options.

@param string $label
@param string $options
@param array $options
@return string
Generates a static from control with the passed label and html options .