PHP 클래스 phpbb\console\command\update\check

상속: extends phpbb\console\command\command
파일 보기 프로젝트 열기: phpbb/phpbb

보호된 프로퍼티들

프로퍼티 타입 설명
$config phpbb\config\config
$phpbb_container Symfony\Component\DependencyInjection\ContainerBuilder

공개 메소드들

메소드 설명
__construct ( phpbb\user $user, phpbb\config\config $config, Symfony\Component\DependencyInjection\ContainerInterface $phpbb_container, phpbb\language\language $language ) Construct method

보호된 메소드들

메소드 설명
check_all_ext ( SymfonyStyle $io, $stability, boolean $recheck ) : integer Check if all the available extensions are up to date
check_core ( Symfony\Component\Console\Input\InputInterface $input, SymfonyStyle $io, string $stability, boolean $recheck ) : integer Check if the core is up to date
check_ext ( Symfony\Component\Console\Input\InputInterface $input, SymfonyStyle $io, string $stability, boolean $recheck, string $ext_name ) : integer Check if a given extension is up to date
configure ( ) : null Configures the service.
display_versions ( SymfonyStyle $io, array $updates_available ) Display the details of the available updates
execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) : integer Executes the command.

메소드 상세

__construct() 공개 메소드

Construct method
public __construct ( phpbb\user $user, phpbb\config\config $config, Symfony\Component\DependencyInjection\ContainerInterface $phpbb_container, phpbb\language\language $language )
$user phpbb\user
$config phpbb\config\config
$phpbb_container Symfony\Component\DependencyInjection\ContainerInterface
$language phpbb\language\language

check_all_ext() 보호된 메소드

Check if all the available extensions are up to date
protected check_all_ext ( SymfonyStyle $io, $stability, boolean $recheck ) : integer
$io Symfony\Component\Console\Style\SymfonyStyle IO handler, for formatted and unified IO
$recheck boolean Disallow the use of the cache
리턴 integer

check_core() 보호된 메소드

Check if the core is up to date
protected check_core ( Symfony\Component\Console\Input\InputInterface $input, SymfonyStyle $io, string $stability, boolean $recheck ) : integer
$input Symfony\Component\Console\Input\InputInterface Input stream, used to get the options.
$io Symfony\Component\Console\Style\SymfonyStyle IO handler, for formatted and unified IO
$stability string Force a given stability
$recheck boolean Disallow the use of the cache
리턴 integer

check_ext() 보호된 메소드

Check if a given extension is up to date
protected check_ext ( Symfony\Component\Console\Input\InputInterface $input, SymfonyStyle $io, string $stability, boolean $recheck, string $ext_name ) : integer
$input Symfony\Component\Console\Input\InputInterface Input stream, used to get the options.
$io Symfony\Component\Console\Style\SymfonyStyle IO handler, for formatted and unified IO
$stability string Force a given stability
$recheck boolean Disallow the use of the cache
$ext_name string The extension name
리턴 integer

configure() 보호된 메소드

Sets the name and description of the command.
protected configure ( ) : null
리턴 null

display_versions() 보호된 메소드

Display the details of the available updates
protected display_versions ( SymfonyStyle $io, array $updates_available )
$io Symfony\Component\Console\Style\SymfonyStyle IO handler, for formatted and unified IO
$updates_available array The list of the available updates

execute() 보호된 메소드

Checks if an update is available. If at least one is available, a message is printed and if verbose mode is set the list of possible updates is printed. If their is none, nothing is printed unless verbose mode is set.
protected execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) : integer
$input Symfony\Component\Console\Input\InputInterface Input stream, used to get the options.
$output Symfony\Component\Console\Output\OutputInterface Output stream, used to print messages.
리턴 integer 0 if the board is up to date, 1 if it is not and 2 if an error occured.

프로퍼티 상세

$config 보호되어 있는 프로퍼티

protected config,phpbb\config $config
리턴 phpbb\config\config

$phpbb_container 보호되어 있는 프로퍼티

protected ContainerBuilder,Symfony\Component\DependencyInjection $phpbb_container
리턴 Symfony\Component\DependencyInjection\ContainerBuilder