'mandatory', 'type' => 'boolean', 'description' => wfMessage( 'pf_forminputs_mandatory' )->text() ); $params[] = array( 'name' => 'restricted', 'type' => 'boolean', 'description' => wfMessage( 'pf_forminputs_restricted' )->text() ); $params[] = array( 'name' => 'class', 'type' => 'string', 'description' => wfMessage( 'pf_forminputs_class' )->text() ); $params[] = array( 'name' => 'default', 'type' => 'string', 'description' => wfMessage( 'pf_forminputs_default' )->text() ); $params[] = array( 'name' => 'size', 'type' => 'int', 'description' => wfMessage( 'pf_forminputs_size' )->text() ); return $params; } /** * Returns the HTML code to be included in the output page for this input. * @return string */ public function getHtmlText() { return self::getHTML( $this->mCurrentValue, $this->mInputName, $this->mIsMandatory, $this->mIsDisabled, $this->mOtherArgs ); } }