You are here

function performance_apc_list_all in Devel 5

4 calls to performance_apc_list_all()
performance_clear_apc_confirm_submit in performance/performance.module
performance_cron_apc_prune in performance/performance.module
performance_nagios in performance/performance.module
Implementation of hook_nagios()
performance_view_summary in performance/performance.module

File

performance/performance.module, line 278

Code

function performance_apc_list_all() {
  $key_list = array();
  $list = apc_cache_info('user');
  foreach ($list['cache_list'] as $cache_id => $cache_data) {
    $regex = '/^' . PERFORMANCE_KEY . '/';
    if (preg_match($regex, $cache_data['info'])) {
      $key_list[] = $cache_data['info'];
    }
  }
  return $key_list;
}