Main Page | Namespace List | Class Hierarchy | Class List | File List | Class Members | File Members | Related Pages

LinkCache Class Reference

List of all members.

Public Member Functions

 getKey ($title)
 LinkCache ()
 getGoodLinkID ($title)
 isBadLink ($title)
 addGoodLink ($id, $title)
 addBadLink ($title)
 addImageLink ($title)
 addImageLinkObj ($nt)
 addCategoryLink ($title, $sortkey)
 addCategoryLinkObj (&$nt, $sortkey)
 clearBadLink ($title)
 clearLink ($title)
 suspend ()
 resume ()
 getGoodLinks ()
 getBadLinks ()
 getImageLinks ()
 getCategoryLinks ()
 addLink ($title)
 addLinkObj (&$nt)
 preFill (&$fromtitle)
 getGoodAdditions ()
 getBadAdditions ()
 getImageAdditions ()
 getGoodDeletions ()
 getBadDeletions ()
 getImageDeletions ()
 incrementalSetup ($which, &$del, &$add)
 clear ()
 fillFromLinkscc ($id)
 saveToLinkscc ($pid)
 linksccClearLinksTo ($pid)
 linksccClearBrokenLinksTo ($title)
 linksccClearPage ($pid)

Public Attributes

 $mClassVer = 2
 $mGoodLinks
 $mBadLinks
 $mActive
 $mImageLinks
 $mCategoryLinks
 $mPreFilled
 $mOldGoodLinks
 $mOldBadLinks

Constructor & Destructor Documentation

LinkCache::LinkCache  ) 
 

Definition at line 23 of file LinkCache.php.


Member Function Documentation

LinkCache::addBadLink title  ) 
 

Definition at line 56 of file LinkCache.php.

References $title, addBadLink(), and title.

Referenced by addBadLink().

LinkCache::addCategoryLink title,
sortkey
 

Definition at line 73 of file LinkCache.php.

References $title, and addCategoryLink().

Referenced by addCategoryLink().

LinkCache::addCategoryLinkObj &$  nt,
sortkey
 

Definition at line 77 of file LinkCache.php.

References addCategoryLinkObj().

Referenced by addCategoryLinkObj().

LinkCache::addGoodLink id,
title
 

Definition at line 49 of file LinkCache.php.

References $title, and addGoodLink().

Referenced by addGoodLink().

LinkCache::addImageLink title  ) 
 

Definition at line 63 of file LinkCache.php.

References $title, and addImageLink().

Referenced by addImageLink().

LinkCache::addImageLinkObj nt  ) 
 

Definition at line 68 of file LinkCache.php.

References addImageLinkObj().

Referenced by addImageLinkObj().

LinkCache::addLink title  ) 
 

Definition at line 101 of file LinkCache.php.

References addLink(), addLinkObj(), and title.

Referenced by addLink().

LinkCache::addLinkObj &$  nt  ) 
 

Definition at line 111 of file LinkCache.php.

References $res, $s, $sql, $title, $wgLinkCacheMemcached, $wgMemc, addLinkObj(), DB_READ, title, wfFetchObject(), wfNumRows(), wfProfileIn(), wfProfileOut(), wfQuery(), and wfStrencode().

Referenced by addLink(), and addLinkObj().

LinkCache::clear  ) 
 

Definition at line 270 of file LinkCache.php.

LinkCache::clearBadLink title  ) 
 

Definition at line 81 of file LinkCache.php.

References clearBadLink(), clearLink(), and title.

Referenced by clearBadLink().

LinkCache::clearLink title  ) 
 

Definition at line 87 of file LinkCache.php.

References $wgLinkCacheMemcached, $wgMemc, clearLink(), and title.

Referenced by clearBadLink(), and clearLink().

LinkCache::fillFromLinkscc id  ) 
 

Definition at line 277 of file LinkCache.php.

References $res, $row, DB_READ, fillFromLinkscc(), wfFetchObject(), and wfQuery().

Referenced by fillFromLinkscc(), and preFill().

LinkCache::getBadAdditions  ) 
 

Definition at line 212 of file LinkCache.php.

Referenced by incrementalSetup().

LinkCache::getBadDeletions  ) 
 

Definition at line 229 of file LinkCache.php.

Referenced by incrementalSetup().

LinkCache::getBadLinks  ) 
 

Definition at line 97 of file LinkCache.php.

LinkCache::getCategoryLinks  ) 
 

Definition at line 99 of file LinkCache.php.

LinkCache::getGoodAdditions  ) 
 

Definition at line 207 of file LinkCache.php.

Referenced by incrementalSetup().

LinkCache::getGoodDeletions  ) 
 

Definition at line 224 of file LinkCache.php.

Referenced by incrementalSetup().

LinkCache::getGoodLinkID title  ) 
 

Definition at line 35 of file LinkCache.php.

References $title, getGoodLinkID(), and title.

Referenced by getGoodLinkID().

LinkCache::getGoodLinks  ) 
 

Definition at line 96 of file LinkCache.php.

LinkCache::getImageAdditions  ) 
 

Definition at line 219 of file LinkCache.php.

LinkCache::getImageDeletions  ) 
 

Definition at line 234 of file LinkCache.php.

LinkCache::getImageLinks  ) 
 

Definition at line 98 of file LinkCache.php.

LinkCache::getKey title  ) 
 

Definition at line 18 of file LinkCache.php.

References $wgDBname, and getKey().

Referenced by getKey().

LinkCache::incrementalSetup which,
&$  del,
&$  add
 

Definition at line 243 of file LinkCache.php.

References getBadAdditions(), getBadDeletions(), getGoodAdditions(), getGoodDeletions(), incrementalSetup(), LINKCACHE_BAD, LINKCACHE_GOOD, and LINKCACHE_IMAGE.

Referenced by incrementalSetup().

LinkCache::isBadLink title  ) 
 

Definition at line 44 of file LinkCache.php.

References isBadLink(), and title.

Referenced by isBadLink().

LinkCache::linksccClearBrokenLinksTo title  ) 
 

Definition at line 338 of file LinkCache.php.

References $title, $wgEnablePersistentLC, $wgIsMySQL, DB_WRITE, linksccClearBrokenLinksTo(), title, wfQuery(), and wfStrencode().

Referenced by linksccClearBrokenLinksTo().

LinkCache::linksccClearLinksTo pid  ) 
 

Definition at line 322 of file LinkCache.php.

References $wgEnablePersistentLC, $wgIsMySQL, DB_WRITE, linksccClearLinksTo(), and wfQuery().

Referenced by linksccClearLinksTo().

LinkCache::linksccClearPage pid  ) 
 

Definition at line 354 of file LinkCache.php.

References $wgEnablePersistentLC, DB_WRITE, linksccClearPage(), and wfQuery().

Referenced by linksccClearPage().

LinkCache::preFill &$  fromtitle  ) 
 

Definition at line 154 of file LinkCache.php.

References $res, $s, $sql, $wgEnablePersistentLC, DB_READ, fillFromLinkscc(), preFill(), resume(), saveToLinkscc(), suspend(), wfDebug(), wfFetchObject(), wfProfileIn(), wfProfileOut(), and wfQuery().

Referenced by preFill().

LinkCache::resume  ) 
 

Definition at line 95 of file LinkCache.php.

Referenced by preFill().

LinkCache::saveToLinkscc pid  ) 
 

Definition at line 304 of file LinkCache.php.

References $wgCompressedPersistentLC, $wgIsMySQL, DB_WRITE, saveToLinkscc(), wfQuery(), and wfStrencode().

Referenced by preFill(), and saveToLinkscc().

LinkCache::suspend  ) 
 

Definition at line 94 of file LinkCache.php.

Referenced by preFill().


Member Data Documentation

LinkCache::$mActive
 

Definition at line 14 of file LinkCache.php.

LinkCache::$mBadLinks
 

Definition at line 14 of file LinkCache.php.

LinkCache::$mCategoryLinks
 

Definition at line 15 of file LinkCache.php.

LinkCache::$mClassVer = 2
 

Definition at line 12 of file LinkCache.php.

LinkCache::$mGoodLinks
 

Definition at line 14 of file LinkCache.php.

LinkCache::$mImageLinks
 

Definition at line 15 of file LinkCache.php.

LinkCache::$mOldBadLinks
 

Definition at line 16 of file LinkCache.php.

LinkCache::$mOldGoodLinks
 

Definition at line 16 of file LinkCache.php.

LinkCache::$mPreFilled
 

Definition at line 16 of file LinkCache.php.


The documentation for this class was generated from the following file:
Generated on Tue Jun 29 23:40:47 2004 for Mediawiki by doxygen 1.3.7