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_module_info

srm_module_info --  Return detailed info about a module.

Description

bool srm_module_info (string module_name)

This function returns information as an array. The module_name determins for which module the information is retrieved. The returned array has the following format:

Example 1. Retrieving information about a module


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

array(4) {
  [0]=>
  string(12) "PHP 4 / Zend"
  [1]=>
  string(5) "0.6.1"
  [2]=>
  string(9) "PHP Group"
  [3]=>
  string(18) "Scripting Language"
}
     

The first entry is the name of the module, the second is the version of the module, the third is the name of the vendor, and the fourth is a description of the module.

See also: srm_module_list() and srm_module_exists().

Prev: srm_module_exists Next: srm_application_keys


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