public function classificationAction()
 {
     $class = new table_Classification();
     $this->view->sectors = $class->getSector($this->_selectedSector);
     $this->view->subsectors = $class->getSubsector($this->_selectedSector, $this->_selectedSubsector);
     $this->view->segments = $class->getSegment($this->_selectedSector, $this->_selectedSubsector, $this->_selectedSegment);
     $companies = new table_Companies();
     $this->view->companies = $companies->getCompanies();
     if ($this->_selectedSubsector == null && $this->_selectedSegment == null) {
         $this->view->showCompanies = false;
     } else {
         $this->view->showCompanies = true;
     }
 }
Exemple #2
0
 private function _headerprep()
 {
     $companies = new table_Companies();
     $this->view->company = $companies->fetchRow("COEM_TX_ID='" . $this->_stock . "'");
     $class = new table_Classification();
     $this->view->classification = $class->getClassification($this->_stock);
 }