*/ /** * Klasa stReminderComponents * * @package stReminderPlugin * @subpackage actions */ class stReminderBackendComponents extends autoStReminderBackendComponents { /** * Wyświetlenie przypomnien w panelu sklepu */ public function executeShowReminds() { stEventDispatcher::getInstance()->notify(new sfEvent($this, 'stReminderBackend.beforeReminderCount', array())); $this->alerts = BackendAlertPeer::doCountActive(); if (!$this->alerts) { return sfView::NONE; } } }