Listing 4.18. Plik modules/kolory/actions.class.php z projektu 4.7
<?php
require_once 'vh-array.inc.php';
class Actions extends ActionsBase
{
    public function execute_index()
    {
        $tmp = file_get_contents('../scripts/dane/140-kolory-css.txt');
        $dane = string2HArray($tmp, ':');
        $this->set('kolory', $dane['items']);
    }
}