public function __construct($id) { global $wgSpecialsDB; parent::__construct(); $this->id = (int) $id; $this->mDb = wfGetDB(DB_SLAVE, array(), $wgSpecialsDB); if (!empty($this->pInx)) { $this->mDefaultQuery[$this->pInx] = $this->id; } }
public function __construct($blockType) { parent::__construct(); $this->blockType = $blockType; }