public function validateDateformats($file, $key, $validate_language)
	{
		if (empty($validate_language))
		{
			$this->output->addMessage(Output::FATAL, 'Array must not be empty', $file, $key);
			return;
		}

		foreach ($validate_language as $dateformat => $example_time)
		{
			$this->validateString($file, $key . '.' . $dateformat, '', $dateformat);
			$this->validateString($file, $key . '.' . $dateformat, '', $example_time);
		}
	}
public function validateDateformats($file, $key, $validate_language)
	{
		if (empty($validate_language))
		{
			$this->output->addMessage(Output::FATAL, 'Array must not be empty', $file, $key);
			return;
		}

		foreach ($validate_language as $dateformat => $example_time)
		{
			$this->validateString($file, $key . '.' . $dateformat, '', $dateformat);
			$this->validateString($file, $key . '.' . $dateformat, '', $example_time);
		}
	}
public function validateDateformats ( $ file , $ key , $ validate_language ) { if ( empty ( $ validate_language ) ) { $ this -> output -> addMessage ( Output :: FATAL , 'Array must not be empty' , $ file , $ key ) ; return ; } foreach ( $ validate_language as $ dateformat => $ example_time ) { $ this -> validateString ( $ file , $ key . '.' . $ dateformat , '' , $ dateformat ) ; $ this -> validateString ( $ file , $ key . '.' . $ dateformat , '' , $ example_time ) ; } }
Validates the dateformats

Should not be empty
Keys and Descriptions should not contain HTML

@param	string	$file		File to validate
@param	string	$key		Key to validate
@param	array	$validate_language		Translated language
@return	null
Validates the dateformats