PHP Class Ip\Internal\Design\Helper

Afficher le fichier Open project: impresspages/impresspages Class Usage Examples

Méthodes publiques

Méthode Description
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().

Méthodes protégées

Méthode Description
__construct ( )

Private Methods

Méthode Description
backendSecurityToken ( )
removeTrailingSlash ( $path )

Method Details

__construct() protected méthode

protected __construct ( )

cpDir() public méthode

public cpDir ( $source, $destination )

generateAdminUrl() public méthode

public generateAdminUrl ( $moduleId )

getConfigurationBoxHtml() public static méthode

public static getConfigurationBoxHtml ( )

getFirstDir() public méthode

public getFirstDir ( $path )

instance() public static méthode

public static instance ( ) : Helper
Résultat Helper

json_clean_decode() public méthode

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)
Résultat string