* @license GNU General Public License, version 2 (GPL-2.0) * * For full copyright and license information, please see * the docs/CREDITS.txt file. * */ namespace phpbb\install; /** * Interface for installer tasks */ interface task_interface { /** * Returns the number of steps the task contains * * This is a helper method to provide a better progress bar for the front-end. * * @return int The number of steps that the task contains */ static public function get_step_count(); /** * Checks if the task is essential to install phpBB or it can be skipped * * Note: Please note that all the non-essential modules have to implement check_requirements() * method. * * @return bool true if the task is essential, false otherwise */ public function is_essential(); /** * Checks requirements for the tasks * * Note: Only need to be implemented for non-essential tasks, as essential tasks * requirements should be checked in the requirements install module. * * @return bool true if the task's requirements are met */ public function check_requirements(); /** * Executes the task */ public function run(); /** * Returns the language key of the name of the task * * @return string */ public function get_task_lang_name(); } lue='distro/mga1'>distro/mga1 Mageia Installer and base platform for many utilitiesThierry Vignaud [tv]
summaryrefslogtreecommitdiffstats
path: root/perl-install/share
diff options
context:
space:
mode:
authorPablo Saratxaga <pablo@mandriva.com>2005-04-23 20:28:20 +0000
committerPablo Saratxaga <pablo@mandriva.com>2005-04-23 20:28:20 +0000
commite29cad04ee583802428326839cd846955378591b (patch)
treef1d50e12f2e06623bbe8b5a62937a144c170a485 /perl-install/share
parent51e407e126f0746aed8b86e733da2ef71698ded8 (diff)
downloaddrakx-e29cad04ee583802428326839cd846955378591b.tar
drakx-e29cad04ee583802428326839cd846955378591b.tar.gz
drakx-e29cad04ee583802428326839cd846955378591b.tar.bz2
drakx-e29cad04ee583802428326839cd846955378591b.tar.xz
drakx-e29cad04ee583802428326839cd846955378591b.zip
more Mandrake -> Mandriva changes
Diffstat (limited to 'perl-install/share')