You are currently viewing Zend Server 5.x documentation. Click here to view the latest Zend Server online documentation.
You are here: API Reference Guide > PHP XMLSERVICE Toolkit > iToolkit Service Class > Retrieve System Values Methods

Retrieve System Values Methods

SystemValuesList

SystemValuesList () - Retrieves all system values.  

Sample Code

Usage Example

$List = $SysVals->SystemValuesList();

 

GetSystemValue

GetSystemValue($SysValueName) - Retrieves requested system value.  

 

Arguments

Value

Description

$SysValueName

 

The IBM system value name

Sample Code

Usage Example

$CCSID = $SysVals-> GetSystemValue("QCCSID");

 

A PHP Script That Shows The Usage of System Values Methods

Usage Example

<?php
include_once '../API/iToolkitService.php';
try {
         $ToolkitSrvObj = ToolkitService::getInstance("*LOCAL", "",  "");
     }
         catch (Exception $e) {              
        echo  $e->getMessage(), "\n";
        exit();
}
$SysVals= new SystemValues($ToolkitSrvObj);
$List = $SysVals->SystemValuesList();
$CCSID = $SysVals-> GetSystemValue("QCCSID");
   
?>

 

 

 

Related Links

Related Links:

iToolkit Service Class

 

 

 

© 1999-2013 Zend Technologies, Ltd. All rights reserved.