lecz serwer zwraca mi błąd
<? include_component('globals','menu'); ?>
Fatal error: Declaration of menuComponent::execute() must be compatible with that of sfComponent::execute() in
To pilik z tym komponentem:
<?php class menuComponent extends sfComponent { public function execute() { if( $this->getRequest()->getParameter('module') == 'oferta' ) { //pobranie kategorii z bazy $oCriteria = new Criteria(); $oCriteria->addAscendingOrderByColumn( KategoriePeer::KAT_NAZWA ); $this->oaKategorie = KategoriePeer::doSelect( $oCriteria ); } } } ?>
Proszę o pomoc