Documentation
authorAaron Schulz <aaron@users.mediawiki.org>
Thu, 17 Nov 2011 03:14:05 +0000 (03:14 +0000)
committerAaron Schulz <aaron@users.mediawiki.org>
Thu, 17 Nov 2011 03:14:05 +0000 (03:14 +0000)
includes/filerepo/LocalRepo.php

index f941045..42aacdf 100644 (file)
@@ -136,6 +136,7 @@ class LocalRepo extends FSRepo {
         * Checks if there is a redirect named as $title
         *
         * @param $title Title of file
+        * @return bool
         */
        function checkRedirect( Title $title ) {
                global $wgMemc;
@@ -206,6 +207,7 @@ class LocalRepo extends FSRepo {
        /**
         * Get an array or iterator of file objects for files that have a given 
         * SHA-1 content hash.
+        * @return Array
         */
        function findBySha1( $hash ) {
                $dbr = $this->getSlaveDB();
@@ -242,6 +244,7 @@ class LocalRepo extends FSRepo {
         * Get a key on the primary cache for this repository.
         * Returns false if the repository's cache is not accessible at this site. 
         * The parameters are the parts of the key, as for wfMemcKey().
+        * @return string
         */
        function getSharedCacheKey( /*...*/ ) {
                $args = func_get_args();
@@ -252,6 +255,7 @@ class LocalRepo extends FSRepo {
         * Invalidates image redirect cache related to that image
         *
         * @param $title Title of page
+        * @return void
         */
        function invalidateImageRedirect( Title $title ) {
                global $wgMemc;