Listing 4.12. Plik modules/utwor/actions.class.php projektu 4.5
<?php
class Actions extends ActionsBase
{
    public function execute_pokaz()
    {
        $akapity = file('../scripts/dane/zmierzch.txt');
        $this->set('tresc', $akapity);
        $this->set('autor', 'Stefan Żeromski');
        $this->set('tytul', 'Zmierzch');
    }
}