PHP Interface luya\console\interfaces\ImportControllerInterface

Author: Basil Suter ([email protected])
ファイルを表示 Open project: luyadev/luya

Public Methods

Method Description
addLog ( string $section, string $value ) Add something to the output.
getDirectoryFiles ( stirng $folderName ) : array Get all files from a directory (direcotry must be in _scanFolders map). An array will be returnd with the keys - file => the Filename - ns => the absolut namepsace to this file.

Method Details

addLog() public method

php $this->addLog(get_called_class(), 'new block have been found and added to database');
public addLog ( string $section, string $value )
$section string
$value string

getDirectoryFiles() public method

php $this->getDirectoryFiles('blocks'); If there are no files found getDirectoryFiles will return an empty array.
public getDirectoryFiles ( stirng $folderName ) : array
$folderName stirng
return array