r106704 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r106703‎ | r106704 | r106705 >
Date:21:40, 19 December 2011
Author:jeroendedauw
Status:ok
Tags:
Comment:
docs++
Modified paths:
  • /trunk/extensions/EducationProgram/includes/EPPager.php (modified) (history)

Diff [purge]

Index: trunk/extensions/EducationProgram/includes/EPPager.php
@@ -110,11 +110,19 @@
111111 return parent::formatRow( $row );
112112 }
113113
 114+ /**
 115+ * (non-PHPdoc)
 116+ * @see TablePager::getIndexField()
 117+ */
114118 function getIndexField() {
115119 $c = $this->className; // Yeah, this is needed in PHP 5.3 >_>
116120 return $c::getPrefixedField( 'id' );
117121 }
118122
 123+ /**
 124+ * (non-PHPdoc)
 125+ * @see IndexPager::getQueryInfo()
 126+ */
119127 function getQueryInfo() {
120128 $c = $this->className; // Yeah, this is needed in PHP 5.3 >_>
121129 return array(
@@ -125,8 +133,9 @@
126134 }
127135
128136 /**
 137+ * Get the conditions to use in the query.
 138+ * This is done by merging the filter controls conditions with those provided to the constructor.
129139 *
130 - *
131140 * @since 0.1
132141 *
133142 * @return array
@@ -147,6 +156,10 @@
148157 return array_merge( $conds, $this->conds );
149158 }
150159
 160+ /**
 161+ * (non-PHPdoc)
 162+ * @see TablePager::isFieldSortable()
 163+ */
151164 function isFieldSortable( $name ) {
152165 $c = $this->className; // Yeah, this is needed in PHP 5.3 >_>
153166 return in_array(

Status & tagging log