PHP Класс Ip\Internal\Design\Helper

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
cpDir ( $source, $destination )
generateAdminUrl ( $moduleId )
getConfigurationBoxHtml ( )
getFirstDir ( $path )
instance ( ) : Helper
json_clean_decode ( string $json, boolean $assoc = false, integer $depth = 512, integer $options ) : string Clean comments of json content and decode it with json_decode().

Защищенные методы

Метод Описание
__construct ( )

Приватные методы

Метод Описание
backendSecurityToken ( )
removeTrailingSlash ( $path )

Описание методов

__construct() защищенный Метод

protected __construct ( )

cpDir() публичный Метод

public cpDir ( $source, $destination )

generateAdminUrl() публичный Метод

public generateAdminUrl ( $moduleId )

getConfigurationBoxHtml() публичный статический Метод

public static getConfigurationBoxHtml ( )

getFirstDir() публичный Метод

public getFirstDir ( $path )

instance() публичный статический Метод

public static instance ( ) : Helper
Результат Helper

json_clean_decode() публичный Метод

Work like the original php json_decode() function with the same params
public json_clean_decode ( string $json, boolean $assoc = false, integer $depth = 512, integer $options ) : string
$json string The json string being decoded
$assoc boolean When TRUE, returned objects will be converted into associative arrays.
$depth integer User specified recursion depth. (>=5.3)
$options integer Bitmask of JSON decode options. (>=5.4)
Результат string