<?php

/**
 * @todo document this please!
 */
class Types_Wpml_Field_Group_String_Name extends Types_Wpml_Field_Group_String {

	const DB_NAME_PATTERN = 'group %s name';
	
	public function __construct( Toolset_Field_Group $group ) {
		parent::__construct( $group );
		$this->string_to_translate = stripslashes( $this->group->get_name() );
	}

	protected function get_db_pattern() {
		return self::DB_NAME_PATTERN;
	}
}