/**
  * Método que busca todos os parametros referente a solicitações.
  * @return Array Retorna todos os parametros referente a solicitações.
  */
 public static function get_parametros()
 {
     $ci =& get_instance();
     $parametros = $ci->cache->apc->get(PARAMETROS);
     if (empty($parametros['VISUALIZAR_SOLICITACAO']) || empty($parametros['CORES_SOLICITACOES']) || empty($parametros['DIRECIONAR_CHAMADO']) || empty($parametros['REDIRECIONAR_CHAMADO']) || empty($parametros['EDITAR_SOLICITACAO']) || empty($parametros['ATENDER_SOLICITACAO']) || empty($parametros['ENCERRAR_SOLICITACAO']) || empty($parametros['EXCLUIR_SOLICITACAO'])) {
         $ci->cache->apc->delete(PARAMETROS);
         unset($parametros['VISUALIZAR_SOLICITACAO']);
         unset($parametros['CORES_SOLICITACOES']);
         unset($parametros['DIRECIONAR_CHAMADO']);
         unset($parametros['REDIRECIONAR_CHAMADO']);
         unset($parametros['EDITAR_SOLICITACAO']);
         unset($parametros['ATENDER_SOLICITACAO']);
         unset($parametros['ENCERRAR_SOLICITACAO']);
         unset($parametros['EXCLUIR_SOLICITACAO']);
         $parametros['VISUALIZAR_SOLICITACAO'] = Parametros_solicitacoes::get_dados_parametros('VISUALIZAR_SOLICITACAO');
         $parametros['DIRECIONAR_CHAMADO'] = Parametros_solicitacoes::get_dados_parametros('DIRECIONAR_CHAMADO');
         $parametros['REDIRECIONAR_CHAMADO'] = Parametros_solicitacoes::get_dados_parametros('REDIRECIONAR_CHAMADO');
         $parametros['EDITAR_SOLICITACAO'] = Parametros_solicitacoes::get_dados_parametros('EDITAR_SOLICITACAO');
         $parametros['ATENDER_SOLICITACAO'] = Parametros_solicitacoes::get_dados_parametros('ATENDER_SOLICITACAO');
         $parametros['ENCERRAR_SOLICITACAO'] = Parametros_solicitacoes::get_dados_parametros('ENCERRAR_SOLICITACAO');
         $parametros['EXCLUIR_SOLICITACAO'] = Parametros_solicitacoes::get_dados_parametros('EXCLUIR_SOLICITACAO');
         $query = $ci->db->select('prioridade.nome, prioridade.cor')->from('openmycall.prioridade')->order_by('prioridade.id')->get();
         $result = $query->result_array();
         foreach ($result as $values) {
             $parametros['CORES_SOLICITACOES'][$values['nome']] = $values['cor'];
         }
         $ci->cache->apc->save(PARAMETROS, $parametros, TTL_CACHE);
     }
     return $parametros;
 }