Update @since tags from 1.20 to 1.21
authorjeroendedauw <jeroendedauw@gmail.com>
Fri, 12 Oct 2012 16:28:53 +0000 (18:28 +0200)
committerjeroendedauw <jeroendedauw@gmail.com>
Fri, 12 Oct 2012 16:29:28 +0000 (18:29 +0200)
Change-Id: Iea7bad4367782ee8baa676921625b44dc2b7c45f

13 files changed:
includes/site/MediaWikiSite.php
includes/site/Site.php
includes/site/SiteArray.php
includes/site/SiteList.php
includes/site/SiteObject.php
includes/site/Sites.php
includes/site/SitesTable.php
tests/phpunit/includes/site/MediaWikiSiteTest.php
tests/phpunit/includes/site/SiteArrayTest.php
tests/phpunit/includes/site/SiteListTest.php
tests/phpunit/includes/site/SiteObjectTest.php
tests/phpunit/includes/site/SitesTest.php
tests/phpunit/includes/site/TestSites.php

index 6f1b578..b05c421 100644 (file)
@@ -3,7 +3,7 @@
 /**
  * Class representing a MediaWiki site.
  *
- * @since 1.20
+ * @since 1.21
  *
  * @file
  * @ingroup Site
@@ -19,7 +19,7 @@ class MediaWikiSite extends SiteObject {
        const PATH_PAGE = 'page_path';
 
        /**
-        * @since 1.20
+        * @since 1.21
         *
         * @param integer $globalId
         *
@@ -35,7 +35,7 @@ class MediaWikiSite extends SiteObject {
        /**
         * Returns the database form of the given title.
         *
-        * @since 1.20
+        * @since 1.21
         *
         * @param String $title the target page's title, in normalized form.
         *
@@ -58,7 +58,7 @@ class MediaWikiSite extends SiteObject {
         *
         * @see Site::normalizePageName
         *
-        * @since 1.20
+        * @since 1.21
         *
         * @param string $pageName
         *
@@ -140,7 +140,7 @@ class MediaWikiSite extends SiteObject {
        /**
         * Get normalization record for a given page title from an API response.
         *
-        * @since 1.20
+        * @since 1.21
         *
         * @param array $externalData A reply from the API on a external server.
         * @param string $pageTitle Identifies the page at the external site, needing normalization.
@@ -215,7 +215,7 @@ class MediaWikiSite extends SiteObject {
         * @see Site::getLinkPathType
         * Returns Site::PATH_PAGE
         *
-        * @since 1.20
+        * @since 1.21
         *
         * @return string
         */
@@ -226,7 +226,7 @@ class MediaWikiSite extends SiteObject {
        /**
         * Returns the relative page path.
         *
-        * @since 1.20
+        * @since 1.21
         *
         * @return string
         */
@@ -237,7 +237,7 @@ class MediaWikiSite extends SiteObject {
        /**
         * Returns the relative file path.
         *
-        * @since 1.20
+        * @since 1.21
         *
         * @return string
         */
@@ -248,7 +248,7 @@ class MediaWikiSite extends SiteObject {
        /**
         * Sets the relative page path.
         *
-        * @since 1.20
+        * @since 1.21
         *
         * @param string $path
         */
@@ -259,7 +259,7 @@ class MediaWikiSite extends SiteObject {
        /**
         * Sets the relative file path.
         *
-        * @since 1.20
+        * @since 1.21
         *
         * @param string $path
         */
@@ -275,7 +275,7 @@ class MediaWikiSite extends SiteObject {
         * method converts the $pageName to DBKey-format by replacing spaces with underscores
         * before using it in the URL.
         *
-        * @since 1.20
+        * @since 1.21
         *
         * @param string|false
         *
@@ -301,7 +301,7 @@ class MediaWikiSite extends SiteObject {
         * The path should go at the $1 marker. If the $path
         * argument is provided, the marker will be replaced by it's value.
         *
-        * @since 1.20
+        * @since 1.21
         *
         * @param string|false $path
         *
index a0e2b56..350a19d 100644 (file)
@@ -18,7 +18,7 @@
  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  * http://www.gnu.org/copyleft/gpl.html
  *
- * @since 1.20
+ * @since 1.21
  *
  * @file
  * @ingroup Site
@@ -41,7 +41,7 @@ interface Site {
        /**
         * Returns the global site identifier (ie enwiktionary).
         *
-        * @since 1.20
+        * @since 1.21
         *
         * @return string
         */
@@ -50,7 +50,7 @@ interface Site {
        /**
         * Sets the global site identifier (ie enwiktionary).
         *
-        * @since 1.20
+        * @since 1.21
         *
         * @param string $globalId
         */
@@ -59,7 +59,7 @@ interface Site {
        /**
         * Returns the type of the site (ie mediawiki).
         *
-        * @since 1.20
+        * @since 1.21
         *
         * @return string
         */
@@ -69,7 +69,7 @@ interface Site {
         * Sets the type of the site (ie mediawiki).
         * TODO: remove, we cannot change this after instantiation
         *
-        * @since 1.20
+        * @since 1.21
         *
         * @param string $type
         */
@@ -78,7 +78,7 @@ interface Site {
        /**
         * Gets the type of the site (ie wikipedia).
         *
-        * @since 1.20
+        * @since 1.21
         *
         * @return string
         */
@@ -87,7 +87,7 @@ interface Site {
        /**
         * Sets the type of the site (ie wikipedia).
         *
-        * @since 1.20
+        * @since 1.21
         *
         * @param string $group
         */
@@ -96,7 +96,7 @@ interface Site {
        /**
         * Returns the source of the site data (ie 'local', 'wikidata', 'my-magical-repo').
         *
-        * @since 1.20
+        * @since 1.21
         *
         * @return string
         */
@@ -105,7 +105,7 @@ interface Site {
        /**
         * Sets the source of the site data (ie 'local', 'wikidata', 'my-magical-repo').
         *
-        * @since 1.20
+        * @since 1.21
         *
         * @param string $source
         */
@@ -115,7 +115,7 @@ interface Site {
         * Returns the protocol of the site, ie 'http://', 'irc://', '//'
         * Or false if it's not known.
         *
-        * @since 1.20
+        * @since 1.21
         *
         * @return string|false
         */
@@ -125,7 +125,7 @@ interface Site {
         * Returns the domain of the site, ie en.wikipedia.org
         * Or false if it's not known.
         *
-        * @since 1.20
+        * @since 1.21
         *
         * @return string|false
         */
@@ -138,7 +138,7 @@ interface Site {
         * This generated URL is usually based upon the path returned by getLinkPath(),
         * but this is not a requirement.
         *
-        * @since 1.20
+        * @since 1.21
         * @see Site::getLinkPath()
         *
         * @param bool|String $page
@@ -151,7 +151,7 @@ interface Site {
         * Returns language code of the sites primary language.
         * Or false if it's not known.
         *
-        * @since 1.20
+        * @since 1.21
         *
         * @return string|false
         */
@@ -160,7 +160,7 @@ interface Site {
        /**
         * Sets language code of the sites primary language.
         *
-        * @since 1.20
+        * @since 1.21
         *
         * @param string $languageCode
         */
@@ -175,7 +175,7 @@ interface Site {
         * Note that this method may call out to the target site to perform the normalization, so it may be slow
         * and fail due to IO errors.
         *
-        * @since 1.20
+        * @since 1.21
         *
         * @param string $pageName
         *
@@ -186,7 +186,7 @@ interface Site {
        /**
         * Returns the interwiki link identifiers that can be used for this site.
         *
-        * @since 1.20
+        * @since 1.21
         *
         * @return array of string
         */
@@ -196,7 +196,7 @@ interface Site {
         * Returns the equivalent link identifiers that can be used to make
         * the site show up in interfaces such as the "language links" section.
         *
-        * @since 1.20
+        * @since 1.21
         *
         * @return array of string
         */
@@ -205,7 +205,7 @@ interface Site {
        /**
         * Adds an local identifier to the site.
         *
-        * @since 1.20
+        * @since 1.21
         *
         * @param string $type The type of the identifier, element of the Site::ID_ enum
         * @param string $identifier
@@ -215,7 +215,7 @@ interface Site {
        /**
         * Adds an interwiki id to the site.
         *
-        * @since 1.20
+        * @since 1.21
         *
         * @param string $identifier
         */
@@ -224,7 +224,7 @@ interface Site {
        /**
         * Adds a navigation id to the site.
         *
-        * @since 1.20
+        * @since 1.21
         *
         * @param string $identifier
         */
@@ -233,7 +233,7 @@ interface Site {
        /**
         * Saves the site.
         *
-        * @since 1.20
+        * @since 1.21
         *
         * @param string|null $functionName
         */
@@ -242,7 +242,7 @@ interface Site {
        /**
         * Returns the internal ID of the site.
         *
-        * @since 1.20
+        * @since 1.21
         *
         * @return integer
         */
@@ -251,7 +251,7 @@ interface Site {
        /**
         * Sets the provided url as path of the specified type.
         *
-        * @since 1.20
+        * @since 1.21
         *
         * @param string $pathType
         * @param string $fullUrl
@@ -261,7 +261,7 @@ interface Site {
        /**
         * Returns the path of the provided type or false if there is no such path.
         *
-        * @since 1.20
+        * @since 1.21
         *
         * @param string $pathType
         *
@@ -275,7 +275,7 @@ interface Site {
         *
         * @param string $fullUrl
         *
-        * @since 1.20
+        * @since 1.21
         */
        public function setLinkPath( $fullUrl );
 
@@ -298,7 +298,7 @@ interface Site {
         * Returns the paths as associative array.
         * The keys are path types, the values are the path urls.
         *
-        * @since 1.20
+        * @since 1.21
         *
         * @return array of string
         */
@@ -307,7 +307,7 @@ interface Site {
        /**
         * Removes the path of the provided type if it's set.
         *
-        * @since 1.20
+        * @since 1.21
         *
         * @param string $pathType
         */
index f0a595d..df43148 100644 (file)
@@ -18,7 +18,7 @@
  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  * http://www.gnu.org/copyleft/gpl.html
  *
- * @since 1.20
+ * @since 1.21
  *
  * @file
  * @ingroup Site
@@ -31,7 +31,7 @@ class SiteArray extends GenericArrayObject implements SiteList {
        /**
         * Internal site identifiers pointing to their sites offset value.
         *
-        * @since 1.20
+        * @since 1.21
         *
         * @var array of integer
         */
@@ -40,7 +40,7 @@ class SiteArray extends GenericArrayObject implements SiteList {
        /**
         * Global site identifiers pointing to their sites offset value.
         *
-        * @since 1.20
+        * @since 1.21
         *
         * @var array of string
         */
@@ -49,7 +49,7 @@ class SiteArray extends GenericArrayObject implements SiteList {
        /**
         * @see GenericArrayObject::getObjectType
         *
-        * @since 1.20
+        * @since 1.21
         *
         * @return string
         */
@@ -60,7 +60,7 @@ class SiteArray extends GenericArrayObject implements SiteList {
        /**
         * @see GenericArrayObject::preSetElement
         *
-        * @since 1.20
+        * @since 1.21
         *
         * @param int|string $index
         * @param Site $site
@@ -81,7 +81,7 @@ class SiteArray extends GenericArrayObject implements SiteList {
        /**
         * @see ArrayObject::offsetUnset()
         *
-        * @since 1.20
+        * @since 1.21
         *
         * @param mixed $index
         */
@@ -102,7 +102,7 @@ class SiteArray extends GenericArrayObject implements SiteList {
        /**
         * @see SiteList::getGlobalIdentifiers
         *
-        * @since 1.20
+        * @since 1.21
         *
         * @return array
         */
@@ -124,7 +124,7 @@ class SiteArray extends GenericArrayObject implements SiteList {
        /**
         * @see SiteList::getSite
         *
-        * @since 1.20
+        * @since 1.21
         *
         * @param string $globalSiteId
         *
@@ -137,7 +137,7 @@ class SiteArray extends GenericArrayObject implements SiteList {
        /**
         * @see SiteList::removeSite
         *
-        * @since 1.20
+        * @since 1.21
         *
         * @param string $globalSiteId
         */
@@ -148,7 +148,7 @@ class SiteArray extends GenericArrayObject implements SiteList {
        /**
         * @see SiteList::isEmpty
         *
-        * @since 1.20
+        * @since 1.21
         *
         * @return boolean
         */
@@ -170,7 +170,7 @@ class SiteArray extends GenericArrayObject implements SiteList {
        /**
         * @see SiteList::getSiteByInternalId
         *
-        * @since 1.20
+        * @since 1.21
         *
         * @param integer $id
         *
@@ -183,7 +183,7 @@ class SiteArray extends GenericArrayObject implements SiteList {
        /**
         * @see SiteList::removeSiteByInternalId
         *
-        * @since 1.20
+        * @since 1.21
         *
         * @param integer $id
         */
@@ -194,7 +194,7 @@ class SiteArray extends GenericArrayObject implements SiteList {
        /**
         * @see SiteList::setSite
         *
-        * @since 1.20
+        * @since 1.21
         *
         * @param Site $site
         */
index f9c01f5..68bd106 100644 (file)
@@ -18,7 +18,7 @@
  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  * http://www.gnu.org/copyleft/gpl.html
  *
- * @since 1.20
+ * @since 1.21
  *
  * @file
  * @ingroup Site
@@ -32,7 +32,7 @@ interface SiteList extends Countable, Traversable, Serializable, ArrayAccess {
         * Returns all the global site identifiers.
         * Optionally only those belonging to the specified group.
         *
-        * @since 1.20
+        * @since 1.21
         *
         * @return array
         */
@@ -51,7 +51,7 @@ interface SiteList extends Countable, Traversable, Serializable, ArrayAccess {
         * Returns the Site with the provided global site identifier.
         * The site needs to exist, so if not sure, call hasGlobalId first.
         *
-        * @since 1.20
+        * @since 1.21
         *
         * @param string $globalSiteId
         *
@@ -63,7 +63,7 @@ interface SiteList extends Countable, Traversable, Serializable, ArrayAccess {
         * Removes the site with the specified global site identifier.
         * The site needs to exist, so if not sure, call hasGlobalId first.
         *
-        * @since 1.20
+        * @since 1.21
         *
         * @param string $globalSiteId
         */
@@ -82,7 +82,7 @@ interface SiteList extends Countable, Traversable, Serializable, ArrayAccess {
         * Returns the Site with the provided site id.
         * The site needs to exist, so if not sure, call has first.
         *
-        * @since 1.20
+        * @since 1.21
         *
         * @param integer $id
         *
@@ -94,7 +94,7 @@ interface SiteList extends Countable, Traversable, Serializable, ArrayAccess {
         * Removes the site with the specified site id.
         * The site needs to exist, so if not sure, call has first.
         *
-        * @since 1.20
+        * @since 1.21
         *
         * @param integer $id
         */
@@ -104,7 +104,7 @@ interface SiteList extends Countable, Traversable, Serializable, ArrayAccess {
         * Sets a site in the list. If the site was not there,
         * it will be added. If it was, it will be updated.
         *
-        * @since 1.20
+        * @since 1.21
         *
         * @param Site $site
         */
@@ -113,7 +113,7 @@ interface SiteList extends Countable, Traversable, Serializable, ArrayAccess {
        /**
         * Returns if the site list contains no sites.
         *
-        * @since 1.20
+        * @since 1.21
         *
         * @return boolean
         */
index 688b970..7f143d1 100644 (file)
@@ -18,7 +18,7 @@
  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  * http://www.gnu.org/copyleft/gpl.html
  *
- * @since 1.20
+ * @since 1.21
  *
  * @file
  * @ingroup Site
@@ -35,7 +35,7 @@ class SiteObject extends ORMRow implements Site {
         * Holds the local ids for this site.
         * You can obtain them via @see getLocalIds
         *
-        * @since 1.20
+        * @since 1.21
         *
         * @var array|false
         */
@@ -44,7 +44,7 @@ class SiteObject extends ORMRow implements Site {
        /**
         * @see Site::getGlobalId
         *
-        * @since 1.20
+        * @since 1.21
         *
         * @return string
         */
@@ -55,7 +55,7 @@ class SiteObject extends ORMRow implements Site {
        /**
         * @see Site::setGlobalId
         *
-        * @since 1.20
+        * @since 1.21
         *
         * @param string $globalId
         */
@@ -66,7 +66,7 @@ class SiteObject extends ORMRow implements Site {
        /**
         * @see Site::getType
         *
-        * @since 1.20
+        * @since 1.21
         *
         * @return string
         */
@@ -77,7 +77,7 @@ class SiteObject extends ORMRow implements Site {
        /**
         * @see Site::setType
         *
-        * @since 1.20
+        * @since 1.21
         *
         * @param string $type
         */
@@ -88,7 +88,7 @@ class SiteObject extends ORMRow implements Site {
        /**
         * @see Site::getGroup
         *
-        * @since 1.20
+        * @since 1.21
         *
         * @return string
         */
@@ -99,7 +99,7 @@ class SiteObject extends ORMRow implements Site {
        /**
         * @see Site::setGroup
         *
-        * @since 1.20
+        * @since 1.21
         *
         * @param string $group
         */
@@ -110,7 +110,7 @@ class SiteObject extends ORMRow implements Site {
        /**
         * @see Site::getSource
         *
-        * @since 1.20
+        * @since 1.21
         *
         * @return string
         */
@@ -121,7 +121,7 @@ class SiteObject extends ORMRow implements Site {
        /**
         * @see Site::setSource
         *
-        * @since 1.20
+        * @since 1.21
         *
         * @param string $source
         */
@@ -132,7 +132,7 @@ class SiteObject extends ORMRow implements Site {
        /**
         * @see Site::getDomain
         *
-        * @since 1.20
+        * @since 1.21
         *
         * @return string|false
         */
@@ -149,7 +149,7 @@ class SiteObject extends ORMRow implements Site {
        /**
         * @see Site::getProtocol
         *
-        * @since 1.20
+        * @since 1.21
         *
         * @return string|false
         */
@@ -169,7 +169,7 @@ class SiteObject extends ORMRow implements Site {
         *
         * @param string $fullUrl
         *
-        * @since 1.20
+        * @since 1.21
         *
         * @throws MWException
         */
@@ -204,7 +204,7 @@ class SiteObject extends ORMRow implements Site {
         * This default implementation returns SiteObject::PATH_LINK as the default path type. Subclasses can override this
         * to define a different default path type, or return false to disable site links.
         *
-        * @since 1.20
+        * @since 1.21
         *
         * @return string|false
         */
@@ -217,7 +217,7 @@ class SiteObject extends ORMRow implements Site {
         *
         * This implementation returns a URL constructed using the path returned by getLinkPath().
         *
-        * @since 1.20
+        * @since 1.21
         *
         * @param bool|String $pageName
         *
@@ -243,7 +243,7 @@ class SiteObject extends ORMRow implements Site {
         *
         * @see Site::normalizePageName
         *
-        * @since 1.20
+        * @since 1.21
         *
         * @param string $pageName
         *
@@ -257,7 +257,7 @@ class SiteObject extends ORMRow implements Site {
         * Returns the value of a type specific field, or the value
         * of the $default parameter in case it's not set.
         *
-        * @since 1.20
+        * @since 1.21
         *
         * @param string $fieldName
         * @param mixed $default
@@ -271,7 +271,7 @@ class SiteObject extends ORMRow implements Site {
 
        /**
         * Sets the value of a type specific field.
-        * @since 1.20
+        * @since 1.21
         *
         * @param string $fieldName
         * @param mixed $value
@@ -285,7 +285,7 @@ class SiteObject extends ORMRow implements Site {
        /**
         * @see Site::getLanguageCode
         *
-        * @since 1.20
+        * @since 1.21
         *
         * @return string|false
         */
@@ -296,7 +296,7 @@ class SiteObject extends ORMRow implements Site {
        /**
         * @see Site::setLanguageCode
         *
-        * @since 1.20
+        * @since 1.21
         *
         * @param string $languageCode
         */
@@ -307,7 +307,7 @@ class SiteObject extends ORMRow implements Site {
        /**
         * Returns the local identifiers of this site.
         *
-        * @since 1.20
+        * @since 1.21
         *
         * @param string $type
         *
@@ -324,7 +324,7 @@ class SiteObject extends ORMRow implements Site {
        /**
         * Loads the local ids for the site.
         *
-        * @since 1.20
+        * @since 1.21
         */
        protected function loadLocalIds() {
                $dbr = wfGetDB( $this->getTable()->getReadDb() );
@@ -351,7 +351,7 @@ class SiteObject extends ORMRow implements Site {
        /**
         * Adds a local identifier.
         *
-        * @since 1.20
+        * @since 1.21
         *
         * @param string $type
         * @param string $identifier
@@ -373,7 +373,7 @@ class SiteObject extends ORMRow implements Site {
        /**
         * @see Site::addInterwikiId
         *
-        * @since 1.20
+        * @since 1.21
         *
         * @param string $identifier
         */
@@ -384,7 +384,7 @@ class SiteObject extends ORMRow implements Site {
        /**
         * @see Site::addNavigationId
         *
-        * @since 1.20
+        * @since 1.21
         *
         * @param string $identifier
         */
@@ -395,7 +395,7 @@ class SiteObject extends ORMRow implements Site {
        /**
         * @see Site::getInterwikiIds
         *
-        * @since 1.20
+        * @since 1.21
         *
         * @return array of string
         */
@@ -406,7 +406,7 @@ class SiteObject extends ORMRow implements Site {
        /**
         * @see Site::getNavigationIds
         *
-        * @since 1.20
+        * @since 1.21
         *
         * @return array of string
         */
@@ -417,7 +417,7 @@ class SiteObject extends ORMRow implements Site {
        /**
         * @see Site::getInternalId
         *
-        * @since 1.20
+        * @since 1.21
         *
         * @return integer
         */
@@ -429,7 +429,7 @@ class SiteObject extends ORMRow implements Site {
         * @see ORMRow::save
         * @see Site::save
         *
-        * @since 1.20
+        * @since 1.21
         *
         * @param string|null $functionName
         *
@@ -485,7 +485,7 @@ class SiteObject extends ORMRow implements Site {
        /**
         * @see Site::setPath
         *
-        * @since 1.20
+        * @since 1.21
         *
         * @param string $pathType
         * @param string $fullUrl
@@ -499,7 +499,7 @@ class SiteObject extends ORMRow implements Site {
        /**
         * @see Sitres::getPath
         *
-        * @since 1.20
+        * @since 1.21
         *
         * @param string $pathType
         *
@@ -513,7 +513,7 @@ class SiteObject extends ORMRow implements Site {
        /**
         * @see Sitres::getAll
         *
-        * @since 1.20
+        * @since 1.21
         *
         * @return array of string
         */
@@ -524,7 +524,7 @@ class SiteObject extends ORMRow implements Site {
        /**
         * @see Sitres::removePath
         *
-        * @since 1.20
+        * @since 1.21
         *
         * @param string $pathType
         */
index 5e9ce21..9e87ed9 100644 (file)
@@ -20,7 +20,7 @@
  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  * http://www.gnu.org/copyleft/gpl.html
  *
- * @since 1.20
+ * @since 1.21
  *
  * @file
  * @ingroup Site
@@ -31,7 +31,7 @@
 class Sites {
 
        /**
-        * @since 1.20
+        * @since 1.21
         * @var SiteList|false
         */
        protected $sites = false;
@@ -39,14 +39,14 @@ class Sites {
        /**
         * Constructor.
         *
-        * @since 1.20
+        * @since 1.21
         */
        protected function __construct() {}
 
        /**
         * Returns an instance of Sites.
         *
-        * @since 1.20
+        * @since 1.21
         *
         * @return Sites
         */
@@ -63,7 +63,7 @@ class Sites {
        /**
         * Factory for creating new site objects.
         *
-        * @since 1.20
+        * @since 1.21
         *
         * @param string|false $globalId
         *
@@ -87,7 +87,7 @@ class Sites {
         * fetched from the cache, which can be changed to loading
         * the list from the database using the $useCache parameter.
         *
-        * @since 1.20
+        * @since 1.21
         *
         * @param string $source either 'cache' or 'recache'
         *
@@ -118,7 +118,7 @@ class Sites {
         * Returns a list of sites in the given group. Calling getGroup() on any of
         * the sites in the resulting SiteList shall return $group.
         *
-        * @since 1.20
+        * @since 1.21
         *
         * @param string $group th group to get.
         *
@@ -142,7 +142,7 @@ class Sites {
        /**
         * Fetches the site from the database and loads them into the sites field.
         *
-        * @since 1.20
+        * @since 1.21
         */
        protected function loadSites() {
                $this->sites = new SiteArray( SitesTable::singleton()->select() );
@@ -176,7 +176,7 @@ class Sites {
        /**
         * Returns the site with provided global id, or false if there is no such site.
         *
-        * @since 1.20
+        * @since 1.21
         *
         * @param string $globalId
         * @param string $source
index 9994be7..71e55f8 100644 (file)
@@ -19,7 +19,7 @@
  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  * http://www.gnu.org/copyleft/gpl.html
  *
- * @since 1.20
+ * @since 1.21
  *
  * @file
  * @ingroup Site
@@ -31,7 +31,7 @@ class SitesTable extends ORMTable {
 
        /**
         * @see IORMTable::getName()
-        * @since 1.20
+        * @since 1.21
         * @return string
         */
        public function getName() {
@@ -40,7 +40,7 @@ class SitesTable extends ORMTable {
 
        /**
         * @see IORMTable::getFieldPrefix()
-        * @since 1.20
+        * @since 1.21
         * @return string
         */
        public function getFieldPrefix() {
@@ -49,7 +49,7 @@ class SitesTable extends ORMTable {
 
        /**
         * @see IORMTable::getRowClass()
-        * @since 1.20
+        * @since 1.21
         * @return string
         */
        public function getRowClass() {
@@ -58,7 +58,7 @@ class SitesTable extends ORMTable {
 
        /**
         * @see IORMTable::getFields()
-        * @since 1.20
+        * @since 1.21
         * @return array
         */
        public function getFields() {
@@ -83,7 +83,7 @@ class SitesTable extends ORMTable {
 
        /**
         * @see IORMTable::getDefaults()
-        * @since 1.20
+        * @since 1.21
         * @return array
         */
        public function getDefaults() {
@@ -101,7 +101,7 @@ class SitesTable extends ORMTable {
        /**
         * Returns the class name for the provided site type.
         *
-        * @since 1.20
+        * @since 1.21
         *
         * @param integer $siteType
         *
@@ -115,7 +115,7 @@ class SitesTable extends ORMTable {
        /**
         * Factory method to construct a new Site instance.
         *
-        * @since 1.20
+        * @since 1.21
         *
         * @param array $data
         * @param boolean $loadDefaults
index db5761b..208ab1e 100644 (file)
@@ -19,7 +19,7 @@
  * http://www.gnu.org/copyleft/gpl.html
  *
  * @file
- * @since 1.20
+ * @since 1.21
  *
  * @ingroup Site
  * @ingroup Test
index c590b7d..021691a 100644 (file)
@@ -21,7 +21,7 @@
  *Both
  * Bith
  * @file
- * @since 1.20
+ * @since 1.21
  *
  * @ingroup Site
  * @ingroup Test
@@ -36,7 +36,7 @@ class SiteArrayTest extends GenericArrayObjectTest {
        /**
         * @see GenericArrayObjectTest::elementInstancesProvider
         *
-        * @since 1.20
+        * @since 1.21
         *
         * @return array
         */
@@ -57,7 +57,7 @@ class SiteArrayTest extends GenericArrayObjectTest {
        /**
         * @see GenericArrayObjectTest::getInstanceClass
         *
-        * @since 1.20
+        * @since 1.21
         *
         * @return array
         */
index ccb4c5a..c7a1934 100644 (file)
@@ -19,7 +19,7 @@
  * http://www.gnu.org/copyleft/gpl.html
  *
  * @file
- * @since 1.20
+ * @since 1.21
  *
  * @ingroup Site
  * @ingroup Test
index cb5e07e..e8358f3 100644 (file)
@@ -19,7 +19,7 @@
  * http://www.gnu.org/copyleft/gpl.html
  *
  * @file
- * @since 1.20
+ * @since 1.21
  *
  * @ingroup Site
  * @ingroup Test
@@ -33,7 +33,7 @@ class SiteObjectTest extends ORMRowTest {
 
        /**
         * @see ORMRowTest::getRowClass
-        * @since 1.20
+        * @since 1.21
         * @return string
         */
        protected function getRowClass() {
@@ -42,7 +42,7 @@ class SiteObjectTest extends ORMRowTest {
 
        /**
         * @see ORMRowTest::getTableInstance
-        * @since 1.20
+        * @since 1.21
         * @return IORMTable
         */
        protected function getTableInstance() {
@@ -51,7 +51,7 @@ class SiteObjectTest extends ORMRowTest {
 
        /**
         * @see ORMRowTest::constructorTestProvider
-        * @since 1.20
+        * @since 1.21
         * @return array
         */
        public function constructorTestProvider() {
index 4c74215..7675d42 100644 (file)
@@ -19,7 +19,7 @@
  * http://www.gnu.org/copyleft/gpl.html
  *
  * @file
- * @since 1.20
+ * @since 1.21
  *
  * @ingroup Site
  * @ingroup Test
index 1d4ffec..6003a8d 100644 (file)
@@ -19,7 +19,7 @@
  * http://www.gnu.org/copyleft/gpl.html
  *
  * @file
- * @since 1.20
+ * @since 1.21
  *
  * @ingroup Site
  * @ingroup Test
@@ -32,7 +32,7 @@
 class TestSites {
 
        /**
-        * @since 1.20
+        * @since 1.21
         *
         * @return array
         */