コード例 #1
0
 public function init()
 {
     $this->_auth = Zend_Auth::getInstance()->getIdentity();
     /**
      * JS
      */
     $this->view->headScript()->appendFile($this->view->baseUrl('views/js/salao/preco.js'));
     parent::init();
 }
コード例 #2
0
 public function init()
 {
     $this->identity = Zend_Auth::getInstance()->getIdentity();
     $this->view->headScript()->appendFile($this->view->baseUrl('views/js/salao/agenda.js'));
     /**
      * verifica se possui algum profissional 
      */
     $this->view->count_profissionais = $this->checkHasProfissional();
     /**
      * 
      */
     $this->view->count_precos = $this->checkHasEspecialidadePreco();
     /**
      * 
      */
     $this->view->has_funcionamento = $this->checkHasHorarioFuncionamento();
     /**
      * 
      */
     $this->view->has_agenda_confirmar = $this->checkHasAgendaConfirmar();
     parent::init();
 }
コード例 #3
0
 public function init()
 {
     $this->view->headScript()->appendFile($this->view->baseUrl('views/js/salao/agenda.js'));
     parent::init();
 }
コード例 #4
0
 public function init()
 {
     $this->view->headScript()->appendFile($this->view->baseUrl('views/js/salao/funcionamento.js'));
     $this->_salao_id = Zend_Auth::getInstance()->getIdentity()->salao_id;
     parent::init();
 }
コード例 #5
0
 public function init()
 {
     $this->identity = Zend_Auth::getInstance()->getIdentity();
     $this->view->headScript()->appendFile($this->view->baseUrl('views/js/salao/profissional.js'));
     parent::init();
 }