protected function inlineGroup(&$fieldData, &$model, &$attribute, &$options) {
		
        $groupOptions = isset($options['groupOptions']) ? $options['groupOptions']: array(); // array('class' => 'form-group');
		self::addCssClass($groupOptions, 'form-group');
		
		echo CHtml::openTag('div', $groupOptions);

		 // TODO: do we need a wrapper for inline groups?
        if(isset($options['wrapperHtmlOptions']) && !empty($options['wrapperHtmlOptions']))
        	$wrapperHtmlOptions = $options['wrapperHtmlOptions'];
        else
        	$wrapperHtmlOptions = $options['wrapperHtmlOptions'] = array();
        echo CHtml::openTag('div', $wrapperHtmlOptions);
        
		if (!empty($options['prepend']) || !empty($options['append']))
			$this->renderAddOnBegin($options['prepend'], $options['append'], $options['prependOptions']);

		if (is_array($fieldData)) {
			echo call_user_func_array($fieldData[0], $fieldData[1]);
		} else {
			echo $fieldData;
		}

		if (!empty($options['prepend']) || !empty($options['append']))
			$this->renderAddOnEnd($options['append'], $options['appendOptions']);

        if ($this->showErrors && $options['errorOptions'] !== false) {
            echo $this->error($model, $attribute, $options['errorOptions'], $options['enableAjaxValidation'], $options['enableClientValidation']);
        }

        echo "</div></div>\r\n"; 
	}
protected function inlineGroup(&$fieldData, &$model, &$attribute, &$options) {
		
        $groupOptions = isset($options['groupOptions']) ? $options['groupOptions']: array(); // array('class' => 'form-group');
		self::addCssClass($groupOptions, 'form-group');
		
		echo CHtml::openTag('div', $groupOptions);

		 // TODO: do we need a wrapper for inline groups?
        if(isset($options['wrapperHtmlOptions']) && !empty($options['wrapperHtmlOptions']))
        	$wrapperHtmlOptions = $options['wrapperHtmlOptions'];
        else
        	$wrapperHtmlOptions = $options['wrapperHtmlOptions'] = array();
        echo CHtml::openTag('div', $wrapperHtmlOptions);
        
		if (!empty($options['prepend']) || !empty($options['append']))
			$this->renderAddOnBegin($options['prepend'], $options['append'], $options['prependOptions']);

		if (is_array($fieldData)) {
			echo call_user_func_array($fieldData[0], $fieldData[1]);
		} else {
			echo $fieldData;
		}

		if (!empty($options['prepend']) || !empty($options['append']))
			$this->renderAddOnEnd($options['append'], $options['appendOptions']);

        if ($this->showErrors && $options['errorOptions'] !== false) {
            echo $this->error($model, $attribute, $options['errorOptions'], $options['enableAjaxValidation'], $options['enableClientValidation']);
        }

        echo "</div></div>\r\n"; 
	}
protected function inlineGroup ( & $ fieldData , & $ model , & $ attribute , & $ options ) { $ groupOptions = isset ( $ options [ 'groupOptions' ] ) ? $ options [ 'groupOptions' ] : array ( ) ; // array('class' => 'form-group'); self :: addCssClass ( $ groupOptions , 'form-group' ) ; echo CHtml :: openTag ( 'div' , $ groupOptions ) ; // TODO: do we need a wrapper for inline groups? if ( isset ( $ options [ 'wrapperHtmlOptions' ] ) && ! empty ( $ options [ 'wrapperHtmlOptions' ] ) ) $ wrapperHtmlOptions = $ options [ 'wrapperHtmlOptions' ] ; else $ wrapperHtmlOptions = $ options [ 'wrapperHtmlOptions' ] = array ( ) ; echo CHtml :: openTag ( 'div' , $ wrapperHtmlOptions ) ; if ( ! empty ( $ options [ 'prepend' ] ) || ! empty ( $ options [ 'append' ] ) ) $ this -> renderAddOnBegin ( $ options [ 'prepend' ] , $ options [ 'append' ] , $ options [ 'prependOptions' ] ) ; if ( is_array ( $ fieldData ) ) { echo call_user_func_array ( $ fieldData [ 0 ] , $ fieldData [ 1 ] ) ; } else { echo $ fieldData ; } if ( ! empty ( $ options [ 'prepend' ] ) || ! empty ( $ options [ 'append' ] ) ) $ this -> renderAddOnEnd ( $ options [ 'append' ] , $ options [ 'appendOptions' ] ) ; if ( $ this -> showErrors && $ options [ 'errorOptions' ] !== false ) { echo $ this -> error ( $ model , $ attribute , $ options [ 'errorOptions' ] , $ options [ 'enableAjaxValidation' ] , $ options [ 'enableClientValidation' ] ) ; } echo "</div></div>\r\n" ; }
Renders a inline custom field group for a model attribute.

@param array|string $fieldData Pre-rendered field as string or array of arguments for call_user_func_array() function.
@param CModel $model The data model.
@param string $attribute The attribute.
@param array $options Row options.
Renders a inline custom field group for a model attribute .