Listing 24.6. Metoda akcji artykul/show
public function execute_show()
{
    if (
        isset($_GET['slug']) &&
        str_ivslug($_GET['slug'])
        ($artykul = ArtykulPeer::retrieveBySlug($_GET['slug']))
    ) {
        $this->set('artykul', $artykul);
    } else {
        $this->execute_404();
    }
}
