/** * lists the companies */ public function getcompaniesAction() { $this->_initDataTableRequest(); $sDB = new Companies(); $where = ' id IN (' . implode(',', $sDB->getLinkedSafinstancesIds($this->safinstancesId)) . ') '; $this->view->ResultSet = $sDB->fetchdatatoYUI($where, $this->sort . ' ' . $this->dir, $this->results, $this->startIndex, $this->hidefields); }