private $installer;
/**
- * Construtor.
+ * Constructor.
* @param $installer Installer subclass
*/
public function __construct( Installer $installer ) {
\$wgCacheEpoch = max( \$wgCacheEpoch, gmdate( 'YmdHis', @filemtime( __FILE__ ) ) );
";
}
-}
\ No newline at end of file
+}
/**
* Get the value of session.save_path
*
- * Per http://www.php.net/manual/en/ref.session.php#ini.session.save-path,
+ * Per http://www.php.net/manual/en/session.configuration.php#ini.session.save-path,
* this might have some additional preceding parts which need to be
* ditched
*
}
}
-class WebInstallerPage {
+abstract class WebInstallerPage {
function __construct( $parent ) {
$this->parent = $parent;
}
return array_search( $this->getName(), $this->parent->pageSequence );
}
- function execute() {
- if ( $this->parent->request->wasPosted() ) {
- return 'continue';
- } else {
- $this->startForm();
- $this->addHTML( 'Mockup' );
- $this->endForm();
- }
- }
+ abstract function execute();
function getVar( $var ) {
return $this->parent->getVar( $var );