PHP Class Backend\Modules\Blog\Installer\Installer

Inheritance: extends Backend\Core\Installer\ModuleInstaller
显示文件 Open project: forkcms/forkcms

Public Methods

Method Description
install ( ) Install the module

Private Methods

Method Description
addCategory ( string $language, string $title, string $url ) : integer Add a category for a language
getCategory ( string $language ) : integer Fetch the id of the first category in this language we come across
insertWidget ( ) Insert an empty admin dashboard sequence
installExampleData ( string $language ) Install example data

Method Details

install() public method

Install the module
public install ( )