Code
- Block::__construct()
- Block::newFromID()
- Block::selectFields()
- Block::equals()
- Block::newLoad()
- Block::getRangeCond()
- Block::getIpFragment()
- Block::initFromRow()
- Block::newFromRow()
- Block::delete()
- Block::insert()
- Block::update()
- Block::getDatabaseArray()
- Block::getAutoblockUpdateArray()
- Block::doRetroactiveAutoblock()
- Block::defaultRetroactiveAutoblock()
- Block::isWhitelistedFromAutoblocks()
- Block::doAutoblock()
- Block::deleteIfExpired()
- Block::isExpired()
- Block::isValid()
- Block::updateTimestamp()
- Block::getRangeStart()
- Block::getRangeEnd()
- Block::getBy()
- Block::getByName()
- Block::getId()
- Block::fromMaster()
- Block::isHardblock()
- Block::isAutoblocking()
- Block::prevents()
- Block::getRedactedName()
- Block::getAutoblockExpiry()
- Block::purgeExpired()
- Block::newFromTarget()
- Block::getBlocksForIPList()
- Block::chooseBlock()
- Block::parseTarget()
- Block::getType()
- Block::getTargetAndType()
- Block::getTarget()
- Block::getExpiry()
- Block::setTarget()
- Block::getBlocker()
- Block::setBlocker()
- Block::getPermissionsError()
If a variable is not always an object, we recommend to add an additional type check to ensure your method call is safe: