Page MenuHomeWickedGov Phorge

CIDRCalculatorResultBox.php
No OneTemporary

Size
606 B
Referenced Files
None
Subscribers
None

CIDRCalculatorResultBox.php

<?php
namespace MediaWiki\CheckUser\CheckUser\Widgets;
use OOUI\TextInputWidget;
class CIDRCalculatorResultBox extends TextInputWidget {
/**
* @param array $config
*/
public function __construct( array $config = [] ) {
parent::__construct( $config );
$this->input->setAttributes( [ 'disabled' => 'disabled' ] );
}
/**
* Because this widget is always disabled
* by definition this does nothing.
*
* @param bool $disabled unused
* @return $this
*/
public function setDisabled( $disabled ) {
// Ignore calls to setDisabled as it should always be disabled.
return $this;
}
}

File Metadata

Mime Type
text/x-php
Expires
Sun, Oct 4, 01:38 (3 w, 5 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
8a/0b/2a47ead54c24bec216d06cd7e4c6
Default Alt Text
CIDRCalculatorResultBox.php (606 B)

Event Timeline