
####
YAML
####


****
NAME
****


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


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


All DBCRUD format YAML functions.


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


new()
=====


create an object


.. code-block:: perl

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



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


return content of yml string as array-ref.


.. code-block:: perl

     my $Array = $DBCRUDYAMLObject->GetContent(
         Content => $ContentString,
     );


Returns:


.. code-block:: perl

     my $Array = [];



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


return content of array as yml string.


.. code-block:: perl

     my $ExportString = $DBCRUDYAMLObject->SetContent(
         Content => $Array,
     );


Returns:


.. code-block:: perl

     my $ExportString = '---';




