Class Utils
The class with utility functions.
Namespace: Mapbender\CoreBundle\Component
Author: Paul Schmidt
Located at Mapbender/CoreBundle/Component/Utils.php
Author: Paul Schmidt
Located at Mapbender/CoreBundle/Component/Utils.php
Methods summary
public static
boolean
|
#
getBool( boolean|null $booleanOrNull, boolean $nullable = false )
Checks the variable $booleanOrNull and returns the boolean or null. |
public static
generated
|
#
getHttpUrl( string $baseUrl, string $parameters )
Generats an URL from base url and GET parameters |
public static
boolean
|
|
public static
string
|
#
validateUrl( string $url, array $paramsToRemove )
DEPRECATED, use Mapbender\CoreBundle\Utils\UrlUtil::validateUrl() Validates an URL |
public static
|
|
public static
null
|
#
valueOrNull( mixed $scaleRecursive, mixed $trueValue, null $nullValue = null )
If value is null, return first value, else return second value |
public static
boolean
|
|
public static
|
|
public static
string
|