
####
Base
####


_MapData()
==========


Ensures correct format of returned data as expected by frontend.


.. code-block:: perl

     my $Data = $AutocompletionObject->_MapData(
         ID                 => 5,
         SelectionListTitle => 'Title of object',
         InsertedValue      => 'Text to insert on selection',
     );
 
     Returns:
 
     my $Data = {
         id                   => 5,
         selection_list_title => 'Title of object',
         inserted_value       => 'Text to insert on selection',
     };



_GetModuleConfig()
==================



.. code-block:: perl

     Returns the config of the module from which it will be called.
 
     my $ModuleConfig = $AutocompletionObject->_GetModuleConfig();
 
     Returns:
 
     my $ModuleConfig = {
         Trigger => '!EX',
         # ...
     }:



