
######
Format
######


****
NAME
****


Kernel::System::DBCRUD::Format - Format lib


********
SYNOPSIS
********


All file format functions.


****************
PUBLIC INTERFACE
****************


new()
=====


create an object


.. code-block:: perl

     my $DBCRUDFormatObject = $Kernel::OM->Get('Kernel::System::DBCRUD::Format');



GetContent()
============


return content of 'format' String as array-ref.


.. code-block:: perl

     my $Array = $DBCRUDFormatObject->GetContent(
         Content   => $ContentString,
         Format    => 'yml',                 # yml | csv | excel
     );


Returns:


.. code-block:: perl

     my $Array = [];



SetContent()
============


return content of 'format' String as array-ref.


.. code-block:: perl

     my $Array = $DBCRUDFormatObject->SetContent(
         Content   => $ContentString,
         Format    => 'yml',                 # yml | csv | excel | xlsx
     );


Returns:


.. code-block:: perl

     my $Array = [];




