Listing 18.6. Metoda executeMenupionowe() komponentu menu/menupionowe
public function executeMenupion(sfWebRequest $request)
{
  if ($this->getContext()->getModuleName() == 'podrecznik') {
    $this->Pus = PuPeer::doSelect(new Criteria());
  }
  if ($this->getContext()->getModuleName() == 'skroty') {
    $this->Skrotys = SkrotyPeer::doSelect(new Criteria());
  }
}