Api.php
private function checkVersion(array $fields)
	{
		if ( false === $fields['version'] || $fields['version'] !== $this->getVersion() )
		{
			throw new ApiException(Errors::ERRCODE_VERSION_WRONG);
		}
	}
private function checkVersion(array $fields)
	{
		if ( false === $fields['version'] || $fields['version'] !== $this->getVersion() )
		{
			throw new ApiException(Errors::ERRCODE_VERSION_WRONG);
		}
	}
Check version
@internal: called by checkFields function

@param array $fields
@throw ApiException