Listing 6.1. Metoda preActions() projektu 6.1
class KoledyController extends Controller
{
    public function preActions()
    {
        $tmp = string2VArray(file_get_contents('../scripts/dane/00lista.log'));
        $this->dane = $tmp['items'];
        $this->set('menu', $this->dane);
    }
}