Пример #1
0
 public function indexAction()
 {
     RM_Head::getInstance()->getJS()->add('banner');
     RM_Head::getInstance()->getJS()->add('reservation');
     RM_Head::getInstance()->getJS()->add('calendar');
     $this->_currentMenuAlias = 'index';
     $this->view->assign(array('banners' => (new Application_Model_Banner_Search_Repository())->getShownOnMainBanners(), 'feedbacks' => (new Application_Model_Feedback_Search_Repository())->getShownOnMainFeedbacks(), 'services' => Application_Model_Medical_Service::getList()));
 }
Пример #2
0
 public function photosAction()
 {
     $this->__getCrumbs()->clear();
     RM_Head::getInstance()->getJS()->add('upload');
     $this->view->headTitle('Фото');
     RM_View_Top::getInstance()->setTitle('Фотографии');
     $this->view->gallery = RM_Gallery::getById($this->_getParam('id'));
     $this->view->menu = 'medical-advices';
 }
Пример #3
0
 public function indexAction()
 {
     RM_Head::getInstance()->getJS()->add('banner');
     $this->_currentMenuAlias = 'clinic';
     $this->view->assign(array('banners' => (new Application_Model_Banner_Search_Repository())->getShownOnClinicBanners(), 'doctors' => (new Application_Model_Medical_Doctor_Search_Repository())->getShownDoctors(), 'quotes' => (new Application_Model_Quote_Search_Repository())->getShownOnClinicQuotes(), 'feedbacks' => (new Application_Model_Feedback_Search_Repository())->getShownFeedbacks()));
 }
Пример #4
0
 public function __construct($desc, $name, $value)
 {
     parent::__construct($name, $desc, $value);
     RM_Head::getInstance()->getJS()->add('upload');
 }