r93356 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r93355‎ | r93356 | r93357 >
Date:03:44, 28 July 2011
Author:yaron
Status:deferred
Tags:
Comment:
Removed setSemanticProperty(), added setFieldArg()
Modified paths:
  • /trunk/extensions/SemanticForms/includes/SF_FormField.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticForms/includes/SF_FormField.php
@@ -122,8 +122,8 @@
123123 $this->mIsHidden = $isHidden;
124124 }
125125
126 - public function setSemanticProperty( $semanticProperty ) {
127 - $this->template_field->setSemanticProperty( $semanticProperty );
 126+ public function setFieldArg( $key, $value ) {
 127+ $this->mFieldArgs[$key] = $value;
128128 }
129129
130130 function inputTypeDropdownHTML( $field_form_text, $default_input_type, $possible_input_types, $cur_input_type ) {