/**
* @param IGeoMapLocation $mapLocation
* @param int $languageId
*/
public function __construct(IGeoMapLocation $mapLocation = NULL, $languageId = 0)
{
global $g_ado_db;
parent::__construct($this->m_columnNames);
if ($mapLocation === NULL || $languageId < 1) {
return;
}
$this->m_data['fk_maplocation_id'] = $mapLocation->getId();
$this->m_data['fk_language_id'] = $languageId;
$this->fetch();
} // fn __construct