PHP Class Craft\ImportPlugin

Author: Bob Olde Hampsink ([email protected])
Inheritance: extends craft\BasePlugin
Afficher le fichier Open project: boboldehampsink/import

Méthodes publiques

Méthode Description
getDeveloper ( ) : string Return plugin developer.
getDeveloperUrl ( ) : string Return plugin developer url.
getName ( ) : string Return plugin name.
getVersion ( ) : string Return plugin version.
hasCpSection ( ) : boolean Return if plugin has cp section.
init ( ) Run on plugin initialisation.
onAfterInstall ( ) Check if the plugin meets the requirements, else uninstall again.
registerCpRoutes ( ) : array Register CP routes.
registerImportOperation ( &$data, string $handle ) : string Register ImportOperation hook.
registerUserPermissions ( ) : array Register permissions.

Method Details

getDeveloper() public méthode

Return plugin developer.
public getDeveloper ( ) : string
Résultat string

getDeveloperUrl() public méthode

Return plugin developer url.
public getDeveloperUrl ( ) : string
Résultat string

getName() public méthode

Return plugin name.
public getName ( ) : string
Résultat string

getVersion() public méthode

Return plugin version.
public getVersion ( ) : string
Résultat string

hasCpSection() public méthode

Return if plugin has cp section.
public hasCpSection ( ) : boolean
Résultat boolean

init() public méthode

Run on plugin initialisation.
public init ( )

onAfterInstall() public méthode

Check if the plugin meets the requirements, else uninstall again.
public onAfterInstall ( )

registerCpRoutes() public méthode

Register CP routes.
public registerCpRoutes ( ) : array
Résultat array

registerImportOperation() public méthode

Register ImportOperation hook.
public registerImportOperation ( &$data, string $handle ) : string
$handle string
Résultat string

registerUserPermissions() public méthode

Register permissions.
public registerUserPermissions ( ) : array
Résultat array