PHP 인터페이스 luya\console\interfaces\ImportControllerInterface

저자: Basil Suter ([email protected])
파일 보기 프로젝트 열기: luyadev/luya

공개 메소드들

메소드 설명
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.

메소드 상세

addLog() 공개 메소드

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() 공개 메소드

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