protected function customFieldGroupInternal(&$fieldData, &$model, &$attribute, &$options) {
		
		$this->setDefaultPlaceholder($fieldData);

		ob_start();
		switch ($this->type) {
			case self::TYPE_HORIZONTAL:
				$this->horizontalGroup($fieldData, $model, $attribute, $options);
				break;

			case self::TYPE_VERTICAL:
				$this->verticalGroup($fieldData, $model, $attribute, $options);
				break;

			case self::TYPE_INLINE:
				$this->inlineGroup($fieldData, $model, $attribute, $options);
				break;

			default:
				throw new CException('Invalid form type');
		}

		return ob_get_clean();
	}
protected function customFieldGroupInternal(&$fieldData, &$model, &$attribute, &$options) {
		
		$this->setDefaultPlaceholder($fieldData);

		ob_start();
		switch ($this->type) {
			case self::TYPE_HORIZONTAL:
				$this->horizontalGroup($fieldData, $model, $attribute, $options);
				break;

			case self::TYPE_VERTICAL:
				$this->verticalGroup($fieldData, $model, $attribute, $options);
				break;

			case self::TYPE_INLINE:
				$this->inlineGroup($fieldData, $model, $attribute, $options);
				break;

			default:
				throw new CException('Invalid form type');
		}

		return ob_get_clean();
	}
protected function customFieldGroupInternal ( & $ fieldData , & $ model , & $ attribute , & $ options ) { $ this -> setDefaultPlaceholder ( $ fieldData ) ; ob_start ( ) ; switch ( $ this -> type ) { case self :: TYPE_HORIZONTAL : $ this -> horizontalGroup ( $ fieldData , $ model , $ attribute , $ options ) ; break ; case self :: TYPE_VERTICAL : $ this -> verticalGroup ( $ fieldData , $ model , $ attribute , $ options ) ; break ; case self :: TYPE_INLINE : $ this -> inlineGroup ( $ fieldData , $ model , $ attribute , $ options ) ; break ; default : throw new CException ( 'Invalid form type' ) ; } return ob_get_clean ( ) ; }
Generates a custom field group for a model attribute.

It's base function for generating group with field.

@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 Group attributes.
@return string The generated custom filed group.
@throws CException Raised on invalid form type.
Generates a custom field group for a model attribute .