PHP 클래스 APIXmlrpc, glpi

상속: extends API
파일 보기 프로젝트 열기: glpi-project/glpi 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$debug
$format
$parameters
$request_uri
$url_elements
$verb

공개 메소드들

메소드 설명
call ( ) : xmlrpc parse POST var to retrieve - Resource - Identifier - and parameters
getTypeName ( $nb )
parseIncomingParams ( ) Construct this->parameters from POST data

보호된 메소드들

메소드 설명
escapekeys ( array $response = [] ) : array Add a space before all numeric keys to prevent their deletion by xmlrpc_encode_request function see https://bugs.php.net/bug.php?id=21949
returnResponse ( mixed $response, integer $httpcode = 200, array $aditionnalheaders = [] ) Generic function to send a message and an http code to client

메소드 상세

call() 공개 메소드

And send to method corresponding identified resource
public call ( ) : xmlrpc
리턴 xmlrpc response

escapekeys() 보호된 메소드

Add a space before all numeric keys to prevent their deletion by xmlrpc_encode_request function see https://bugs.php.net/bug.php?id=21949
protected escapekeys ( array $response = [] ) : array
$response array the response array to escape
리턴 array the escaped response.

getTypeName() 공개 정적인 메소드

또한 보기: CommonGLPI::GetTypeName()
public static getTypeName ( $nb )

parseIncomingParams() 공개 메소드

Construct this->parameters from POST data
public parseIncomingParams ( )

returnResponse() 보호된 메소드

Generic function to send a message and an http code to client
protected returnResponse ( mixed $response, integer $httpcode = 200, array $aditionnalheaders = [] )
$response mixed string message or array of data to send
$httpcode integer http code (see : https://en.wikipedia.org/wiki/List_of_HTTP_status_codes)
$aditionnalheaders array headers to send with http response (must be an array(key => value))

프로퍼티 상세

$debug 보호되어 있는 프로퍼티

protected $debug

$format 보호되어 있는 프로퍼티

protected $format

$parameters 보호되어 있는 프로퍼티

protected $parameters

$request_uri 보호되어 있는 프로퍼티

protected $request_uri

$url_elements 보호되어 있는 프로퍼티

protected $url_elements

$verb 보호되어 있는 프로퍼티

protected $verb