Go to the documentation of this file.
63 while ( $this->offsetExists( $this->indexOffset ) ) {
80 public function __construct( $input =
null,
$flags = 0, $iterator_class =
'ArrayIterator' ) {
81 parent::__construct(
array(),
$flags, $iterator_class );
83 if ( !is_null( $input ) ) {
84 foreach ( $input
as $offset =>
$value ) {
125 return $value instanceof $class;
146 throw new InvalidArgumentException(
147 'Can only add ' . $this->
getObjectType() .
' implementing objects to ' . get_called_class() .
'.'
151 if ( is_null( $index ) ) {
156 parent::offsetSet( $index,
$value );
202 'data' => $this->getArrayCopy(),
203 'index' => $this->indexOffset,
217 $serializationData =
unserialize( $serialization );
219 foreach ( $serializationData[
'data']
as $offset =>
$value ) {
222 parent::offsetSet( $offset,
$value );
225 $this->indexOffset = $serializationData[
'index'];
227 return $serializationData;
238 return $this->count() === 0;
skin txt MediaWiki includes four core it has been set as the default in MediaWiki since the replacing Monobook it had been been the default skin since before being replaced by Vector largely rewritten in while keeping its appearance Several legacy skins were removed in the as the burden of supporting them became too heavy to bear Those in etc for skin dependent CSS etc for skin dependent JavaScript These can also be customised on a per user by etc This feature has led to a wide variety of user styles becoming that gallery is a good place to ending in php
__construct( $input=null, $flags=0, $iterator_class='ArrayIterator')
Constructor.
it s the revision text itself In either if gzip is the revision text is gzipped $flags
isEmpty()
Returns if the ArrayObject has no elements.
unserialize( $serialization)
offsetSet( $index, $value)
setElement( $index, $value)
Method that actually sets the element and holds all common code needed for set operations,...
the array() calling protocol came about after MediaWiki 1.4rc1.
List of Api Query prop modules.
hasValidType( $value)
Returns if the provided value has the same type as the elements that can be added to this ArrayObject...
getObjectType()
Returns the name of an interface/class that the element should implement/extend.
getSerializationData()
Returns an array holding all the data that should go into serialization calls.
preSetElement( $index, $value)
Gets called before a new element is added to the ArrayObject.
getNewOffset()
Finds a new offset for when appending an element.
This document is intended to provide useful advice for parties seeking to redistribute MediaWiki to end users It s targeted particularly at maintainers for Linux since it s been observed that distribution packages of MediaWiki often break We ve consistently had to recommend that users seeking support use official tarballs instead of their distribution s and this often solves whatever problem the user is having It would be nice if this could such as