From: Antoine Musso Date: Thu, 20 Apr 2006 20:43:38 +0000 (+0000) Subject: some s/@access (private|public)/@\1/ for doxygen documentation X-Git-Tag: 1.31.0-rc.0~57414 X-Git-Url: http://git.cyclocoop.org/%28?a=commitdiff_plain;h=7c1af8ab3dce1415b99ae837df1c86a3572edc7b;p=lhc%2Fweb%2Fwiklou.git some s/@access (private|public)/@\1/ for doxygen documentation --- diff --git a/includes/CategoryPage.php b/includes/CategoryPage.php index b51598632b..69756dc377 100644 --- a/includes/CategoryPage.php +++ b/includes/CategoryPage.php @@ -61,7 +61,7 @@ class CategoryPage extends Article { * @param string $from -- return only sort keys from this item on * @param string $until -- don't return keys after this point. * @return string HTML output - * @access private + * @private */ function doCategoryMagic( $from = '', $until = '' ) { global $wgContLang,$wgUser, $wgCategoryMagicGallery, $wgCategoryPagingLimit; @@ -190,7 +190,7 @@ class CategoryPage extends Article { * @param array $articles * @param string $message * @return string - * @access private + * @private */ function formatCount( $articles, $message ) { global $wgContLang; @@ -209,7 +209,7 @@ class CategoryPage extends Article { * @param array $articles_start_char * @param int $cutoff * @return string - * @access private + * @private */ function formatList( $articles, $articles_start_char, $cutoff = 6 ) { if ( count ( $articles ) > $cutoff ) { @@ -228,7 +228,7 @@ class CategoryPage extends Article { * @param array $articles * @param array $articles_start_char * @return string - * @access private + * @private */ function columnList( $articles, $articles_start_char ) { // divide list into three equal chunks @@ -287,7 +287,7 @@ class CategoryPage extends Article { * @param array $articles * @param array $articles_start_char * @return string - * @access private + * @private */ function shortList( $articles, $articles_start_char ) { $r = '

' . htmlspecialchars( $articles_start_char[0] ) . "

\n"; @@ -312,7 +312,7 @@ class CategoryPage extends Article { * @param int $limit * @param array $query - additional query options to pass * @return string - * @access private + * @private */ function pagingLinks( $title, $first, $last, $limit, $query = array() ) { global $wgUser, $wgLang; diff --git a/includes/SkinTemplate.php b/includes/SkinTemplate.php index cff42126a3..25c4319256 100644 --- a/includes/SkinTemplate.php +++ b/includes/SkinTemplate.php @@ -37,7 +37,7 @@ require_once 'GlobalFunctions.php'; * Wrapper object for MediaWiki's localization functions, * to be passed to the template engine. * - * @access private + * @private * @package MediaWiki */ class MediaWiki_I18N { @@ -74,7 +74,7 @@ class MediaWiki_I18N { */ class SkinTemplate extends Skin { /**#@+ - * @access private + * @private */ /** @@ -120,7 +120,7 @@ class SkinTemplate extends Skin { * @param string $repository subdirectory where we keep template files * @param string $cache_dir * @return object - * @access private + * @private */ function setupTemplate( $classname, $repository=false, $cache_dir=false ) { return new $classname(); @@ -130,7 +130,7 @@ class SkinTemplate extends Skin { * initialize various variables and generate the template * * @param OutputPage $out - * @access public + * @public */ function outputPage( &$out ) { global $wgTitle, $wgArticle, $wgUser, $wgLang, $wgContLang, $wgOut; @@ -436,7 +436,7 @@ class SkinTemplate extends Skin { * For the base class, assume strings all around. * * @param mixed $str - * @access private + * @private */ function printOrError( &$str ) { echo $str; @@ -445,7 +445,7 @@ class SkinTemplate extends Skin { /** * build array of urls for personal toolbar * @return array - * @access private + * @private */ function buildPersonalUrls() { global $wgTitle, $wgShowIPinHeader; @@ -582,7 +582,7 @@ class SkinTemplate extends Skin { /** * an array of edit links by default used for the tabs * @return array - * @access private + * @private */ function buildContentActionUrls () { global $wgContLang; @@ -760,7 +760,7 @@ class SkinTemplate extends Skin { /** * build array of common navigation links * @return array - * @access private + * @private */ function buildNavUrls () { global $wgUseTrackbacks, $wgTitle, $wgArticle; @@ -868,14 +868,14 @@ class SkinTemplate extends Skin { /** * Generate strings used for xml 'id' names * @return string - * @access private + * @private */ function getNameSpaceKey () { return $this->mTitle->getNamespaceKey(); } /** - * @access private + * @private */ function setupUserCss() { $fname = 'SkinTemplate::setupUserCss'; @@ -924,7 +924,7 @@ class SkinTemplate extends Skin { } /** - * @access private + * @private */ function setupUserJs() { $fname = 'SkinTemplate::setupUserJs'; @@ -948,7 +948,7 @@ class SkinTemplate extends Skin { * Code for extensions to hook into to provide per-page CSS, see * extensions/PageCSS/PageCSS.php for an implementation of this. * - * @access private + * @private */ function setupPageCss() { $fname = 'SkinTemplate::setupPageCss'; @@ -962,7 +962,7 @@ class SkinTemplate extends Skin { /** * returns css with user-specific options - * @access public + * @public */ function getUserStylesheet() { @@ -976,7 +976,7 @@ class SkinTemplate extends Skin { } /** - * @access public + * @public */ function getUserJs() { $fname = 'SkinTemplate::getUserJs'; @@ -1008,7 +1008,7 @@ class SkinTemplate extends Skin { */ class QuickTemplate { /** - * @access public + * @public */ function QuickTemplate() { $this->data = array(); @@ -1016,28 +1016,28 @@ class QuickTemplate { } /** - * @access public + * @public */ function set( $name, $value ) { $this->data[$name] = $value; } /** - * @access public + * @public */ function setRef($name, &$value) { $this->data[$name] =& $value; } /** - * @access public + * @public */ function setTranslator( &$t ) { $this->translator = &$t; } /** - * @access public + * @public */ function execute() { echo "Override this function."; @@ -1045,28 +1045,28 @@ class QuickTemplate { /** - * @access private + * @private */ function text( $str ) { echo htmlspecialchars( $this->data[$str] ); } /** - * @access private + * @private */ function html( $str ) { echo $this->data[$str]; } /** - * @access private + * @private */ function msg( $str ) { echo htmlspecialchars( $this->translator->translate( $str ) ); } /** - * @access private + * @private */ function msgHtml( $str ) { echo $this->translator->translate( $str ); @@ -1074,7 +1074,7 @@ class QuickTemplate { /** * An ugly, ugly hack. - * @access private + * @private */ function msgWiki( $str ) { global $wgParser, $wgTitle, $wgOut; @@ -1086,14 +1086,14 @@ class QuickTemplate { } /** - * @access private + * @private */ function haveData( $str ) { return $this->data[$str]; } /** - * @access private + * @private */ function haveMsg( $str ) { $msg = $this->translator->translate( $str ); diff --git a/includes/SpecialVersion.php b/includes/SpecialVersion.php index 1369a5423a..daf5103338 100644 --- a/includes/SpecialVersion.php +++ b/includes/SpecialVersion.php @@ -38,7 +38,7 @@ class SpecialVersion { } /**#@+ - * @access private + * @private */ /**