PHP Class Piwik\Plugin\MetadataLoader

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

Méthodes publiques

Méthode Description
__construct ( string $pluginName ) Constructor.
getPathToLicenseFile ( ) : null | string
hasPluginJson ( )
load ( ) : array Loads plugin metadata.

Private Methods

Méthode Description
getDefaultPluginInformation ( )
getPathToPluginFolder ( ) : string
loadJsonMetadata ( $path )
loadPluginInfoJson ( )

Method Details

__construct() public méthode

Constructor.
public __construct ( string $pluginName )
$pluginName string Name of the plugin to load metadata.

getPathToLicenseFile() public méthode

public getPathToLicenseFile ( ) : null | string
Résultat null | string

hasPluginJson() public méthode

public hasPluginJson ( )

load() public méthode

@see Plugin::getInformation.
public load ( ) : array
Résultat array