Overview

Namespaces

  • PHP
  • Saklient
    • Cloud
      • Enums
      • Errors
      • Models
      • Resources
    • Errors

Classes

  • Util
  • Overview
  • Namespace
  • Class
  • Tree

Class Util

Namespace: Saklient
Located at Saklient/Util.php
Methods summary
public static mixed
# existsPath( mixed $obj, string $path )

Parameters

$obj
mixed
$obj
$path
string
$path

Returns

mixed
public static mixed
# getByPath( mixed $obj, string $path )

Parameters

$obj
mixed
$obj
$path
string
$path

Returns

mixed
public static
# getByPathAny( mixed $objects, mixed $pathes )
public static
# setByPath( mixed $obj, mixed $path, string $value )

Parameters

$obj
mixed
$obj
$path
mixed
$value
$value
string
$path
public static mixed
# createClassInstance( string $classPath, ArrayObject $args )

Parameters

$classPath
string
$classPath
$args
ArrayObject
$args

Returns

mixed
public static NativeDate
# str2date( string $s )

Parameters

$s
string
$s

Returns

NativeDate
public static string
# date2str( Saklient\NativeDate $d )

Parameters

$d
NativeDate
$d

Returns

string
public static string
# urlEncode( string $s )

Parameters

$s
string
$s

Returns

string
public static ArrayObject
# sortArray( ArrayObject $aobj )

Parameters

$aobj
ArrayObject
$a

Returns

ArrayObject
public static
# sleep( integer $sec )

Parameters

$sec
integer
$sec
public static
# popAobj( ArrayObject & $aobj )
public static
# shiftAobj( ArrayObject & $aobj )
public static
# validateArgCount( integer $actual, integer $expected )

Parameters

$actual
integer
$actual
$expected
integer
$expected
public static
# validateType( mixed $value, string $typeName, mixed $force = false )

Parameters

$value
mixed
$value
$typeName
string
$typeName
$force
API documentation generated by ApiGen 2.8.0