public function stockInBinVaccinesAction()
 {
     $cold_chain = new Model_ColdChain();
     $placement = new Model_Placements();
     $id = $this->_request->getParam('id', '');
     $asset = $cold_chain->getAssetByLocation($id);
     $sort = $this->_getParam("sort", "asc");
     $order = $this->_getParam("order", "product");
     $placement->form_values['id'] = $id;
     $result = $placement->getStockInBinVaccines($order, $sort);
     $result_xml = $placement->getStockInBinVaccinesGraph();
     //Paginate the contest results
     $paginator = Zend_Paginator::factory($result);
     $page = $this->_getParam("page", 1);
     $counter = $this->_getParam("counter", 25);
     $paginator->setCurrentPageNumber((int) $page);
     $paginator->setItemCountPerPage((int) $counter);
     $this->view->id = $id;
     $this->view->result = $paginator;
     $this->view->bin_id = $id;
     $this->view->counter = $counter;
     $this->view->order = $order;
     $this->view->sort = $sort;
     $this->view->title = $asset;
     $this->view->pagination_params = array("id" => $id, "asset" => $asset);
     $auth = App_Auth::getInstance();
     $this->view->role_id = $auth->getRoleId();
     $this->view->xmlstore = $result_xml;
 }