PHP Class Ip\Internal\Plugins\Model

Exibir arquivo Open project: impresspages/impresspages Class Usage Examples

Public Methods

Method Description
activatePlugin ( $pluginName )
deactivatePlugin ( $pluginName )
getActivePluginNames ( )
getActivePlugins ( )
getAllPluginNames ( )
getModules ( )
getPluginConfig ( $pluginName )
marketUrl ( )
parseConfigFile ( $pluginDir )
pluginInstallDir ( )
removePlugin ( $pluginName )

Protected Methods

Method Description
executeSqlIfExists ( $file )
getPluginRecord ( $pluginName )
importDefaultOptions ( $pluginName, $options )
pluginDirs ( ) : array first dir themes will override the themes from last ones

Method Details

activatePlugin() public static method

public static activatePlugin ( $pluginName )

deactivatePlugin() public static method

public static deactivatePlugin ( $pluginName )

executeSqlIfExists() protected static method

protected static executeSqlIfExists ( $file )

getActivePluginNames() public static method

public static getActivePluginNames ( )

getActivePlugins() public static method

public static getActivePlugins ( )

getAllPluginNames() public static method

public static getAllPluginNames ( )

getModules() public static method

public static getModules ( )

getPluginConfig() public static method

public static getPluginConfig ( $pluginName )

getPluginRecord() protected static method

protected static getPluginRecord ( $pluginName )

importDefaultOptions() protected static method

protected static importDefaultOptions ( $pluginName, $options )

marketUrl() public static method

public static marketUrl ( )

parseConfigFile() public static method

public static parseConfigFile ( $pluginDir )

pluginDirs() protected static method

first dir themes will override the themes from last ones
protected static pluginDirs ( ) : array
return array

pluginInstallDir() public static method

public static pluginInstallDir ( )

removePlugin() public static method

public static removePlugin ( $pluginName )