Mapbender 3.0.6.2 API documenation
  • Namespace
  • Class
  • Tree
  • Deprecated
  • Todo
  • Download

Namespaces

  • FOM
    • CoreBundle
      • Component
      • DependencyInjection
      • Doctrine
        • Types
      • Form
        • DataTransformer
        • Type
    • ManagerBundle
      • Component
      • Configuration
      • Controller
      • DependencyInjection
        • Compiler
      • Form
        • Type
      • Routing
    • UserBundle
      • Command
      • Component
      • Controller
      • DependencyInjection
        • Factory
      • Entity
      • EventListener
      • Form
        • DataTransformer
        • EventListener
        • Type
      • Security
        • Authentication
          • Provider
          • Token
        • Authorization
          • Voter
        • Firewall
  • Mapbender
    • Component
    • CoreBundle
      • Asset
      • Command
      • Component
        • Exception
      • Controller
      • DataFixtures
        • ORM
          • Application
      • DependencyInjection
        • Compiler
      • Element
        • DataTransformer
        • EventListener
        • Type
      • Entity
      • EventListener
      • Extension
      • Form
        • DataTransformer
        • EventListener
        • Type
      • Security
      • Template
      • Tests
        • Controller
      • Utils
      • Validator
        • Constraints
    • DataSourceBundle
      • Component
        • Drivers
          • Interfaces
      • Controller
      • DependencyInjection
      • Element
        • Type
      • Entity
      • Extension
      • Tests
    • DigitizerBundle
      • Component
      • Element
        • Type
      • Entity
      • Utils
    • DrupalIntegrationBundle
      • DependencyInjection
      • Security
        • Authentication
          • Provider
          • Token
        • Authorization
          • Voter
        • Factory
        • Firewall
        • User
      • Session
    • KmlBundle
      • Element
    • ManagerBundle
      • Component
        • Exception
      • Controller
      • Form
        • DataTransformer
        • Type
      • Template
    • MobileBundle
      • DependencyInjection
      • Template
    • PrintBundle
      • Component
      • Element
        • Type
    • WmcBundle
      • Component
        • Exception
      • Element
        • Type
      • Entity
      • Form
        • Type
      • Tests
        • Component
    • WmsBundle
      • Component
        • Exception
      • Controller
      • DependencyInjection
      • Element
        • DataTransformer
        • EventListener
        • Type
      • Entity
      • Event
      • Form
        • DataTransformer
        • EventListener
        • Type
  • None
  • OwsProxy3
    • CoreBundle
      • Component
        • Exception
      • Controller
      • DependencyInjection
      • Entity
      • Event
      • EventListener
      • Worker
  • PHP

Classes

  • Clipping
  • CommonProxy
  • ProxyQuery
  • SrsPoint
  • Utils
  • WfsProxy
  • WmsProxy

Class Utils

Utils class with help functions

Namespace: OwsProxy3\CoreBundle\Component
Author: Paul Schmidt
Located at OwsProxy3/CoreBundle/Component/Utils.php

Methods summary

public static array
# getParams( Symfony\Component\HttpFoundation\Request $request, string $method = null )

Returns the array with parameters.

Returns the array with parameters.

Parameters

$request
the request
$method
the HTTP method POST/GET (default null -> the method is determined from request)

Returns

array
the parameters
public static string
# getParamValue( Symfony\Component\HttpFoundation\Request $request, string $name, boolean $method = null, string $ignoreCase = false )

Returns the parameter value from request

Returns the parameter value from request

Parameters

$request
the request
$name
$method the HTTP method POST/GET (default null -> the method is determined from request)
$method
$ignoreCase false if the parameter name is case sensitive (default false)
$ignoreCase
$name the parameter name

Returns

string
the parameter value or null
public static array
# getAllParams( Symfony\Component\HttpFoundation\Request $request )

Returns the associative array with all parameters ("GET"=> array(),"POST"=>array(),"CONTENT"=>value).

Returns the associative array with all parameters ("GET"=> array(),"POST"=>array(),"CONTENT"=>value).

Parameters

$request

Returns

array
the associative array with all parameters
public static string|null
# getParamValueFromAll( Symfony\Component\HttpFoundation\Request $request, string $name, boolean $ignoreCase = false )

Returns the parameter value

Returns the parameter value

Parameters

$request
the request
$name
the parameter name
$ignoreCase
if the parameter name is case sensitive => false (default false)

Returns

string|null
the parameter value
public static array
# getHeadersFromRequest( Symfony\Component\HttpFoundation\Request $request )

Returns the headers from Request

Returns the headers from Request

Parameters

$request

Returns

array
the headers
public static array
# getHeadersFromBrowserResponse( Buzz\Message\MessageInterface $browserResponse )

Returns the headers from BrowserResponse

Returns the headers from BrowserResponse

Parameters

$browserResponse
$request

Returns

array
the headers
public static
# setHeadersFromBrowserResponse( Symfony\Component\HttpFoundation\Response $response, Buzz\Message\MessageInterface $browserResponse )

Sets the headers from proxy's browser response into proxy response

Sets the headers from proxy's browser response into proxy response

Parameters

$response
the response
$browserResponse
the browser response
public static array
# prepareHeadersForRequest( array $headers, array $blackList, array $whiteList )

Prepares the HTTP headers

Prepares the HTTP headers

Parameters

$headers
the HTTP headers
$blackList
the array with header names to remove
$whiteList
the array with header names to remove

Returns

array
the prepared HTTP headers

Magic methods summary

Properties summary

public static string $METHOD_GET

the identifier for HTTP GET

the identifier for HTTP GET

#"GET"
public static string $METHOD_POST

the identifier for HTTP POST

the identifier for HTTP POST

#"POST"
public static string $PARAMETER_URL

the identifier for parameter "url"

the identifier for parameter "url"

#"url"
public static string $CONTENT

the identifier for HTTP POST content

the identifier for HTTP POST content

#"CONTENT"
Mapbender 3.0.6.2 API documenation API documentation generated by ApiGen 2.8.0