function panels_common_get_arg_id in Panels 5.2        
                          
                  
                        Same name and namespace in other branches
- 6.2 includes/common-context.inc \panels_common_get_arg_id()
1 call to panels_common_get_arg_id()
  - panels_common_ajax_context_item_add in includes/common.inc
- Ajax entry point to add an context
File
 
   - includes/common.inc, line 1470
- Functions used by more than one panels client module.
Code
function panels_common_get_arg_id($arguments, $name) {
  
  $id = 0;
  foreach ($arguments as $arg) {
    if ($arg['name'] == $name) {
      if ($arg['id'] > $id) {
        $id = $arg['id'];
      }
    }
  }
  return $id;
}