PHP Class Ojs\CoreBundle\Command\InstallCommand

Inheritance: extends Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand
Show file Open project: ojs/ojs

Public Methods

Method Description
composer ( CommandEvent $event )
insertAdmin ( $username, $email, $password )
insertRoles ( Symfony\Component\Console\Output\OutputInterface $output )

Protected Methods

Method Description
configure ( )
createDefaultPages ( )
execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )
executeCommand ( CommandEvent $event, $appDir, $cmd, $timeout = 300 )
fixAcls ( Symfony\Component\Console\Output\OutputInterface $output )
getOptions ( CommandEvent $event )
getPhp ( )
insertAcls ( )
printWelcome ( )

Method Details

composer() public static method

public static composer ( CommandEvent $event )
$event CommandEvent

configure() protected method

protected configure ( )

createDefaultPages() protected method

protected createDefaultPages ( )

execute() protected method

protected execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )
$input Symfony\Component\Console\Input\InputInterface
$output Symfony\Component\Console\Output\OutputInterface

executeCommand() protected static method

protected static executeCommand ( CommandEvent $event, $appDir, $cmd, $timeout = 300 )
$event CommandEvent

fixAcls() protected method

protected fixAcls ( Symfony\Component\Console\Output\OutputInterface $output )
$output Symfony\Component\Console\Output\OutputInterface

getOptions() protected static method

protected static getOptions ( CommandEvent $event )
$event CommandEvent

getPhp() protected static method

protected static getPhp ( )

insertAcls() protected method

protected insertAcls ( )

insertAdmin() public method

public insertAdmin ( $username, $email, $password )
$username
$email
$password

insertRoles() public method

public insertRoles ( Symfony\Component\Console\Output\OutputInterface $output )
$output Symfony\Component\Console\Output\OutputInterface

printWelcome() protected method

protected printWelcome ( )