public static function getMap() { if (static::getIblockId() === null) { return parent::getMap(); } $map = parent::getMap(); foreach (self::getAdditionalMap() as $key => $mapItem) { $map[] = $mapItem; } return $map; }