Vulcan Logic SRM  

SRM - Documentation


^ SRM Documentation
^ Standard module

- srm_version
- srm_function_list
- srm_function_exists
- srm_module_list
- srm_module_exists
- srm_module_info
- srm_application_keys
- srm_session_keys
- lock
- unlock

srm_function_list

srm_function_list --  Return a list with all supported functions.

Description

array srm_function_list ()

This function returns an array in which each element is the name of a function supported by the SRM Daemon. All internal functions, functions from modules, and functions from function libraries, where the functions are written in PHP are returned. If the function is a function from the function library, the suffix (PHP) is added.

Below you find a shortened returned array from this function.

Example 1. Retrieving a list with supported functions


<?php
    $srm 
= new SRM ("/tmp/srm.socket"7777);
    
var_dump ($srm->srm_function_list());
?>

array(7) {
  [0]=>
  string(20) "banana_function_call"
  [1]=>
  string(6) "unlock"
  [2]=>
  string(16) "auth_get_timeout"
  [3]=>
  string(13) "srm_add (PHP)"
  [4]=>
  string(11) "auth_logout"
  [5]=>
  string(13) "srm_sub (PHP)"
  [6]=>
  string(12) "uptime (PHP)"
}
     

See also: srm_function_exists()

Prev: srm_version Next: srm_function_exists


© 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 by The Vulcan Logic Group