Jelix 1.8.13

MigrateApp extends AbstractCommand
in package

Tags

Table of Contents

$config  : CommandConfig
$output  : OutputInterface
$isVerbose  : mixed
__construct()  : mixed
configure()  : mixed
createDir()  : mixed
helper method to create a new directory. it set the rights on the directory as indicated in the configuration of jelix-scripts.
createFile()  : bool
helper method to create a file from a template stored in the templates/ directory of jelix-scripts. it set the rights on the file as indicated in the configuration of jelix-scripts.
execute()  : mixed
verbose()  : mixed

Properties

Methods

configure()

protected configure() : mixed
Tags
Return values
mixed

createDir()

helper method to create a new directory. it set the rights on the directory as indicated in the configuration of jelix-scripts.

protected createDir(string $dirname) : mixed
Parameters
$dirname : string

the path of the directory

Tags
Return values
mixed

createFile()

helper method to create a file from a template stored in the templates/ directory of jelix-scripts. it set the rights on the file as indicated in the configuration of jelix-scripts.

protected createFile(string $filename, string $template[, mixed $tplparam = array() ][, mixed $fileType = 'File' ]) : bool
Parameters
$filename : string

the path of the new file created from the template

$template : string

relative path to the templates/ directory, of the template file

$tplparam : mixed = array()
$fileType : mixed = 'File'
Tags
Return values
bool

true if it is ok

execute()

protected execute(InputInterface $input, OutputInterface $output) : mixed
Parameters
$input : InputInterface
$output : OutputInterface
Tags
Return values
mixed

Search results