r70040 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r70039‎ | r70040 | r70041 >
Date:20:44, 27 July 2010
Author:nimishg
Status:ok
Tags:
Comment:
made fieldtypes protected so subclasses can inherit properly
Modified paths:
  • /trunk/extensions/UsabilityInitiative/PrefSwitch/PrefSwitch.classes.php (modified) (history)

Diff [purge]

Index: trunk/extensions/UsabilityInitiative/PrefSwitch/PrefSwitch.classes.php
@@ -5,7 +5,7 @@
66 /* Private Static Members */
77
88 // Correlation between names of field types and implementation classes
9 - private static $fieldTypes = array(
 9+ protected static $fieldTypes = array(
1010 'select' => 'PrefSwitchSurveyFieldSelect',
1111 'radios' => 'PrefSwitchSurveyFieldRadios',
1212 'checks' => 'PrefSwitchSurveyFieldChecks',

Follow-up revisions

RevisionCommit summaryAuthorDate
r734711.16wmf4: MFT r70040catrope19:15, 21 September 2010

Status & tagging log