*/
class RevDel_ArchiveItem extends RevDel_RevisionItem {
public function __construct( $list, $row ) {
- RevDel_Item::__construct( $list, $row );
+ parent::__construct( $list, $row );
$this->revision = Revision::newFromArchiveRow( $row,
array( 'page' => $this->list->title->getArticleId() ) );
}
*/
class RevDel_ArchivedFileItem extends RevDel_FileItem {
public function __construct( $list, $row ) {
- RevDel_Item::__construct( $list, $row );
+ parent::__construct( $list, $row );
$this->file = ArchivedFile::newFromRow( $row );
}
$parenttree = $this->mTitle->getParentCategoryTree();
# Skin object passed by reference cause it can not be
# accessed under the method subfunction drawCategoryBrowser
- $tempout = explode( "\n", Skin::drawCategoryBrowser( $parenttree, $this ) );
+ $tempout = explode( "\n", $this->drawCategoryBrowser( $parenttree, $this ) );
# Clean out bogus first entry and sort them
unset( $tempout[0] );
asort( $tempout );
$return .= "\n";
} else {
# grab the others elements
- $return .= Skin::drawCategoryBrowser( $parent, $skin ) . ' > ';
+ $return .= $this->drawCategoryBrowser( $parent, $skin ) . ' > ';
}
# add our current element to the list
$eltitle = Title::newFromText( $element );
class UnlistedSpecialPage extends SpecialPage
{
function UnlistedSpecialPage( $name, $restriction = '', $function = false, $file = 'default' ) {
- SpecialPage::SpecialPage( $name, $restriction, false, $function, $file );
+ parent::SpecialPage( $name, $restriction, false, $function, $file );
}
}
class IncludableSpecialPage extends SpecialPage
{
function IncludableSpecialPage( $name, $restriction = '', $listed = true, $function = false, $file = 'default' ) {
- SpecialPage::SpecialPage( $name, $restriction, $listed, $function, $file, true );
+ parent::SpecialPage( $name, $restriction, $listed, $function, $file, true );
}
}
class BitmapHandler_ClientOnly extends BitmapHandler {
function normaliseParams( $image, &$params ) {
- return ImageHandler::normaliseParams( $image, $params );
+ return parent::normaliseParams( $image, $params );
}
function doTransform( $image, $dstPath, $dstUrl, $params, $flags = 0 ) {
class LocalInstallerRepository extends InstallerRepository {
function LocalInstallerRepository ( $path ) {
- InstallerRepository::InstallerRepository( $path );
+ parent::InstallerRepository( $path );
}
function printListing( ) {
class WebInstallerRepository extends InstallerRepository {
function WebInstallerRepository ( $path ) {
- InstallerRepository::InstallerRepository( $path );
+ parent::InstallerRepository( $path );
}
function printListing( ) {
class SVNInstallerRepository extends InstallerRepository {
function SVNInstallerRepository ( $path ) {
- InstallerRepository::InstallerRepository( $path );
+ parent::InstallerRepository( $path );
}
function printListing( ) {
$blue = '00';
$color = $red . $green . $blue;
- $percent = statsOutput::formatPercent( $subset, $total, $revert, $accuracy );
+ $percent = parent::formatPercent( $subset, $total, $revert, $accuracy );
return 'bgcolor="#' . $color . '"|' . $percent;
}
}