[ Index ] |
PHP Cross Reference of MediaWiki-1.24.0 |
[Source view] [Print] [Project Stats]
(no description)
File Size: | 358 lines (8 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
SiteList:: (19 methods):
getObjectType()
preSetElement()
offsetUnset()
getGlobalIdentifiers()
hasSite()
getSite()
removeSite()
isEmpty()
hasInternalId()
getSiteByInternalId()
removeSiteByInternalId()
hasNavigationId()
getSiteByNavigationId()
removeSiteByNavigationId()
setSite()
getGroup()
getSerialVersionId()
getSerializationData()
unserialize()
SiteArray:: (0 methods):
getObjectType() X-Ref |
return: string |
preSetElement( $index, $site ) X-Ref |
param: int|string $index param: Site $site return: bool |
offsetUnset( $index ) X-Ref |
param: mixed $index |
getGlobalIdentifiers() X-Ref |
Returns all the global site identifiers. Optionally only those belonging to the specified group. return: array |
hasSite( $globalSiteId ) X-Ref |
Returns if the list contains the site with the provided global site identifier. param: string $globalSiteId return: bool |
getSite( $globalSiteId ) X-Ref |
Returns the Site with the provided global site identifier. The site needs to exist, so if not sure, call hasGlobalId first. param: string $globalSiteId return: Site |
removeSite( $globalSiteId ) X-Ref |
Removes the site with the specified global site identifier. The site needs to exist, so if not sure, call hasGlobalId first. param: string $globalSiteId |
isEmpty() X-Ref |
Returns if the list contains no sites. return: bool |
hasInternalId( $id ) X-Ref |
Returns if the list contains the site with the provided site id. param: int $id return: bool |
getSiteByInternalId( $id ) X-Ref |
Returns the Site with the provided site id. The site needs to exist, so if not sure, call has first. param: int $id return: Site |
removeSiteByInternalId( $id ) X-Ref |
Removes the site with the specified site id. The site needs to exist, so if not sure, call has first. param: int $id |
hasNavigationId( $id ) X-Ref |
Returns if the list contains the site with the provided navigational site id. param: string $id return: bool |
getSiteByNavigationId( $id ) X-Ref |
Returns the Site with the provided navigational site id. The site needs to exist, so if not sure, call has first. param: string $id return: Site |
removeSiteByNavigationId( $id ) X-Ref |
Removes the site with the specified navigational site id. The site needs to exist, so if not sure, call has first. param: string $id |
setSite( Site $site ) X-Ref |
Sets a site in the list. If the site was not there, it will be added. If it was, it will be updated. param: Site $site |
getGroup( $groupName ) X-Ref |
Returns the sites that are in the provided group. param: string $groupName return: SiteList |
getSerialVersionId() X-Ref |
Returns the version ID that identifies the serialization structure used by getSerializationData() and unserialize(), including the structure of any nested structures. This is useful for constructing cache keys in cases where the cache relies on serialization for storing the SiteList. return: string A string uniquely identifying the version of the serialization structure, |
getSerializationData() X-Ref |
return: array |
unserialize( $serialization ) X-Ref |
param: string $serialization return: array |
Generated: Fri Nov 28 14:03:12 2014 | Cross-referenced by PHPXref 0.7.1 |