flush();
}
- public function showStatusMessage( $status ) {
+ public function showStatusMessage( Status $status ) {
$this->showMessage( $status->getWikiText() );
}
* output format such as HTML or text before being sent to the user.
*/
public abstract function showMessage( $msg /*, ... */ );
-
- /**
- * TODO: doucment
- *
- * @param $status
- */
- public abstract function showStatusMessage( $status );
/**
* Constructor, always call this from child classes.
}
}
- public function showStatusMessage( $status ) {
- $text = $status->getWikiText();
- $this->output->addWikiText(
- "<div class=\"config-message\">\n" .
- $text .
- "</div>"
- );
- }
-
/**
* Convenience function to set variables based on form data.
* Assumes that variables containing "password" in the name are (potentially