<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">NAME
    Data::InfoBox - Data object for info box.

DESCRIPTION
    Data object for definition of common infobox which contains lines with
    informations. The informations are in form of text description
    (optionaly with icon and link).

SYNOPSIS
     use Data::InfoBox;

     my $obj = Data::InfoBox-&gt;new(%params);
     my $items_ar = $obj-&gt;items;

METHODS
  "new"
     my $obj = Data::InfoBox-&gt;new(%params);

    Constructor.

    *       "items"

            List of Data::InfoBox::Item items. Must be as reference to
            array.

            It's required.

    Returns instance of object.

  "items"
     my $items_ar = $obj-&gt;items;

    Get list of items in info box.

    Returns reference to array with Data::InfoBox::Item objects.

EXAMPLE
     use strict;
     use warnings;

     use Data::InfoBox;
     use Data::InfoBox::Item;
     use Data::Text::Simple;

     my $obj = Data::InfoBox-&gt;new(
             'items' =&gt; [
                    Data::InfoBox::Item-&gt;new(
                            'text' =&gt; Data::Text::Simple-&gt;new(
                                    'text' =&gt; 'First item',
                            ),
                    ),
                    Data::InfoBox::Item-&gt;new(
                            'text' =&gt; Data::Text::Simple-&gt;new(
                                    'text' =&gt; 'Second item',
                            ),
                    ),
             ],
     );

     # Print out.
     my $num = 0;
     foreach my $item (@{$obj-&gt;items}) {
             $num++;
             print "Item $num: ".$item-&gt;text-&gt;text."\n";
     }

     # Output:
     # Item 1: First item
     # Item 2: Second item

DEPENDENCIES
    Mo, Mo::utils.

SEE ALSO
    Data::InfoBox::Item
        Data object for info box item.

    Tags::HTML::InfoBox
        Tags helper for HTML info box.

    Test::Shared::Fixture::Data::InfoBox::Street
        Street info box fixture.

REPOSITORY
    &lt;https://github.com/michal-josef-spacek/Data-InfoBox&gt;

AUTHOR
    Michal Josef ﾅ�paﾄ稿k &lt;mailto:skim@cpan.org&gt;

    &lt;http://skim.cz&gt;

LICENSE AND COPYRIGHT
    ﾂｩ 2024-2025 Michal Josef ﾅ�paﾄ稿k

    BSD 2-Clause License

VERSION
    0.06

</pre></body></html>