original_string: public static function get_store_instance_actions($name, array $storedetails) {
          $actions = array();
          if (has_capability('moodle/site:config', context_system::instance())) {
              $baseurl = new moodle_url('/cache/admin.php', array('store' => $name, 'sesskey' => sesskey()));
              if (empty($storedetails['default'])) {
                  $actions[] = array(
                      'text' => get_string('editstore', 'cache'),
                      'url' => new moodle_url($baseurl, array('action' => 'editstore', 'plugin' => $storedetails['plugin']))
                  );
                  $actions[] = array(
                      'text' => get_string('deletestore', 'cache'),
                      'url' => new moodle_url($baseurl, array('action' => 'deletestore'))
                  );
              }
              $actions[] = array(
                  'text' => get_string('purge', 'cache'),
                  'url' => new moodle_url($baseurl, array('action' => 'purgestore'))
              );
          }
          return $actions;
      }
code: public static function get_store_instance_actions($name, array $storedetails) {
          $actions = array();
          if (has_capability('moodle/site:config', context_system::instance())) {
              $baseurl = new moodle_url('/cache/admin.php', array('store' => $name, 'sesskey' => sesskey()));
              if (empty($storedetails['default'])) {
                  $actions[] = array(
                      'text' => get_string('editstore', 'cache'),
                      'url' => new moodle_url($baseurl, array('action' => 'editstore', 'plugin' => $storedetails['plugin']))
                  );
                  $actions[] = array(
                      'text' => get_string('deletestore', 'cache'),
                      'url' => new moodle_url($baseurl, array('action' => 'deletestore'))
                  );
              }
              $actions[] = array(
                  'text' => get_string('purge', 'cache'),
                  'url' => new moodle_url($baseurl, array('action' => 'purgestore'))
              );
          }
          return $actions;
      }
code_tokens: public static function get_store_instance_actions ( $ name , array $ storedetails ) { $ actions = array ( ) ; if ( has_capability ( 'moodle/site:config' , context_system :: instance ( ) ) ) { $ baseurl = new moodle_url ( '/cache/admin.php' , array ( 'store' => $ name , 'sesskey' => sesskey ( ) ) ) ; if ( empty ( $ storedetails [ 'default' ] ) ) { $ actions [ ] = array ( 'text' => get_string ( 'editstore' , 'cache' ) , 'url' => new moodle_url ( $ baseurl , array ( 'action' => 'editstore' , 'plugin' => $ storedetails [ 'plugin' ] ) ) ) ; $ actions [ ] = array ( 'text' => get_string ( 'deletestore' , 'cache' ) , 'url' => new moodle_url ( $ baseurl , array ( 'action' => 'deletestore' ) ) ) ; } $ actions [ ] = array ( 'text' => get_string ( 'purge' , 'cache' ) , 'url' => new moodle_url ( $ baseurl , array ( 'action' => 'purgestore' ) ) ) ; } return $ actions ; }
docstring: Returns all of the actions that can be performed on a store.
  
  @param string $name The name of the store
  @param array $storedetails
  @return array
docstring_tokens: Returns all of the actions that can be performed on a store .