Overview

Namespaces

  • api
  • config
  • database
  • None
  • PHP
  • Slim
    • Exception
    • Http
    • Middleware
  • utiliy

Classes

  • ArrayManager
  • JsonManager
  • StringManager
  • XmlManager

Interfaces

  • SerialManager
  • Overview
  • Namespace
  • Class
  • Tree

Class XmlManager

The XmlManager provides some xml-methods

utiliy\XmlManager implements utiliy\SerialManager
Namespace: utiliy
Author: stubbfel
Since: 25.06.2013
Located at utility/XmlManager.php
Methods summary
public static xml-string
# arrayToSpsXml( array[num][assoc] $result )

Method convert an array to a response xml for the sps service <place id ="4711" parentID=%0815"/>

Method convert an array to a response xml for the sps service <place id ="4711" parentID=%0815"/>

Parameters

$result
array[num][assoc]
$result

Returns

xml-string
public static xml-string
# arrayToPisXml( array[num][assoc] $result )

Method convert an array to a response xml for the pis service like <place id ="4711"> <placeInformation placeInformationName = "key">Value</placeinformation> </place>

Method convert an array to a response xml for the pis service like <place id ="4711"> <placeInformation placeInformationName = "key">Value</placeinformation> </place>

Parameters

$result
array[num][assoc]
$result

Returns

xml-string
public static xml-string
# arrayToPssXml( array[num][assoc] $result )

Method convert an array to a response xml for the pss service <place id ="4711"> <placeService placeServiceName = "key"> <sap>sapValue</sap> <request>reqVaule</request> </placeService> </place>

Method convert an array to a response xml for the pss service <place id ="4711"> <placeService placeServiceName = "key"> <sap>sapValue</sap> <request>reqVaule</request> </placeService> </place>

Parameters

$result
array[num][assoc]
$result

Returns

xml-string
public string
# arrayToSps( array $result )

Convert an array from the SPS to a formatted string

Convert an array from the SPS to a formatted string

Parameters

$result
array
[num] [assoc] $result

Returns

string

Implementation of

utiliy\SerialManager::arrayToSps()
public string
# arrayToPis( array $result )

Convert an array from the PIS to a formatted string

Convert an array from the PIS to a formatted string

Parameters

$result
array
[num] [assoc] $result

Returns

string

Implementation of

utiliy\SerialManager::arrayToPis()
public string
# arrayToPss( array $result )

Convert an array from the PSS to a formatted string

Convert an array from the PSS to a formatted string

Parameters

$result
array
[num] [assoc] $result

Returns

string

Implementation of

utiliy\SerialManager::arrayToPss()
GeoApi API documentation generated by ApiGen 2.8.0