/**
  * Index accessLine
  */
 public function indexAction()
 {
     try {
         $this->view->access_lines = AccessLine::find();
         $this->view->pesquisa = '';
         if ($this->request->isPost()) {
             $pesquisa = $this->request->getPost('access_lines', 'string');
             $search = "(cpf LIKE '%{$pesquisa}%' OR linha LIKE '%{$pesquisa}%')";
             $this->view->access_lines = AccessLine::find($search);
             $this->view->pesquisa = $this->request->getPost('access_lines');
         }
     } catch (Exception $exc) {
         $this->flash->error($e->getMessage());
     }
 }