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();
	}