PHP Class TinyAuth\Utility\Utility

Afficher le fichier Open project: dereuromark/cakephp-tinyauth Class Usage Examples

Méthodes publiques

Méthode Description
deconstructIniKey ( string $key ) : array Deconstructs an authentication ini section key into a named array with authentication parts.
parseFile ( string $ini ) : array Returns the ini file as an array.

Method Details

deconstructIniKey() public static méthode

Deconstructs an authentication ini section key into a named array with authentication parts.
public static deconstructIniKey ( string $key ) : array
$key string INI section key as found in authentication.ini
Résultat array Array with named keys for controller, plugin and prefix

parseFile() public static méthode

Returns the ini file as an array.
public static parseFile ( string $ini ) : array
$ini string Full path to the ini file
Résultat array List