PHP Класс luya\console\commands\ImportController

The importer classes are defined inthe modules import() methods which inherits this class. To run the importer class you have execute: ./vendor/bin/luya import Each of the importer classes must extend the luya\console\Importer class.
Автор: Basil Suter ([email protected])
Наследование: extends luya\console\Command, implements luya\console\interfaces\ImportControllerInterface
Показать файл Открыть проект

Открытые методы

Метод Описание
actionIndex ( ) : number Run the import process.
addLog ( $section, $value )
getDirectoryFiles ( $folderName )
init ( ) Initializer

Приватные методы

Метод Описание
addToDirectory ( $path, $folderName, $ns, $module )
getLog ( ) : array Return the log array data.
scanDirectoryFiles ( $path, $ns, $module )

Описание методов

actionIndex() публичный Метод

Run the import process.
public actionIndex ( ) : number
Результат number

addLog() публичный Метод

public addLog ( $section, $value )

getDirectoryFiles() публичный Метод

public getDirectoryFiles ( $folderName )

init() публичный Метод

Initializer
public init ( )