<?php
/**
 * Exportní API serveru ARK ČR. Rozšiřuje export na Sreality.
 *
 * @category   Dalten
 * @package    Export
 * @subpackage Api
 */
class Dalten_Export_Api_ArkCr extends Dalten_Export_Api_SrealityLike
{
    protected function _convertUserData(array $userData)
    {
        return array(
			'client_email' => $userData['email'],
			'client_firstname' => $userData['uzivatel_os_jmeno'],
			'client_lastname' => $userData['uzivatel_os_prijmeni'],
			'contact_gsm' => $userData['telefon'],
			'contact_phone' => empty($userData['pevna_linka']) ? '' : $userData['pevna_linka']
		);
    }

}
