00001 <?php 00006 function wfElement( $element, $attribs = null, $contents = '') { 00007 wfDeprecated(__FUNCTION__); 00008 return Xml::element( $element, $attribs, $contents ); 00009 } 00010 function wfElementClean( $element, $attribs = array(), $contents = '') { 00011 wfDeprecated(__FUNCTION__); 00012 return Xml::elementClean( $element, $attribs, $contents ); 00013 } 00014 function wfOpenElement( $element, $attribs = null ) { 00015 wfDeprecated(__FUNCTION__); 00016 return Xml::openElement( $element, $attribs ); 00017 } 00018 function wfCloseElement( $element ) { 00019 wfDeprecated(__FUNCTION__); 00020 return "</$element>"; 00021 } 00022 function HTMLnamespaceselector($selected = '', $allnamespaces = null ) { 00023 wfDeprecated(__FUNCTION__); 00024 return Xml::namespaceSelector( $selected, $allnamespaces ); 00025 } 00026 function wfSpan( $text, $class, $attribs=array() ) { 00027 wfDeprecated(__FUNCTION__); 00028 return Xml::span( $text, $class, $attribs ); 00029 } 00030 function wfInput( $name, $size=false, $value=false, $attribs=array() ) { 00031 wfDeprecated(__FUNCTION__); 00032 return Xml::input( $name, $size, $value, $attribs ); 00033 } 00034 function wfAttrib( $name, $present = true ) { 00035 wfDeprecated(__FUNCTION__); 00036 return Xml::attrib( $name, $present ); 00037 } 00038 function wfCheck( $name, $checked=false, $attribs=array() ) { 00039 wfDeprecated(__FUNCTION__); 00040 return Xml::check( $name, $checked, $attribs ); 00041 } 00042 function wfRadio( $name, $value, $checked=false, $attribs=array() ) { 00043 wfDeprecated(__FUNCTION__); 00044 return Xml::radio( $name, $value, $checked, $attribs ); 00045 } 00046 function wfLabel( $label, $id ) { 00047 wfDeprecated(__FUNCTION__); 00048 return Xml::label( $label, $id ); 00049 } 00050 function wfInputLabel( $label, $name, $id, $size=false, $value=false, $attribs=array() ) { 00051 wfDeprecated(__FUNCTION__); 00052 return Xml::inputLabel( $label, $name, $id, $size, $value, $attribs ); 00053 } 00054 function wfCheckLabel( $label, $name, $id, $checked=false, $attribs=array() ) { 00055 wfDeprecated(__FUNCTION__); 00056 return Xml::checkLabel( $label, $name, $id, $checked, $attribs ); 00057 } 00058 function wfRadioLabel( $label, $name, $value, $id, $checked=false, $attribs=array() ) { 00059 wfDeprecated(__FUNCTION__); 00060 return Xml::radioLabel( $label, $name, $value, $id, $checked, $attribs ); 00061 } 00062 function wfSubmitButton( $value, $attribs=array() ) { 00063 wfDeprecated(__FUNCTION__); 00064 return Xml::submitButton( $value, $attribs ); 00065 } 00066 function wfHidden( $name, $value, $attribs=array() ) { 00067 wfDeprecated(__FUNCTION__); 00068 return Xml::hidden( $name, $value, $attribs ); 00069 } 00070 function wfEscapeJsString( $string ) { 00071 wfDeprecated(__FUNCTION__); 00072 return Xml::escapeJsString( $string ); 00073 } 00074 function wfIsWellFormedXml( $text ) { 00075 wfDeprecated(__FUNCTION__); 00076 return Xml::isWellFormed( $text ); 00077 } 00078 function wfIsWellFormedXmlFragment( $text ) { 00079 wfDeprecated(__FUNCTION__); 00080 return Xml::isWellFormedXmlFragment( $text ); 00081 } 00082 00083 function wfBuildForm( $fields, $submitLabel ) { 00084 wfDeprecated(__FUNCTION__); 00085 return Xml::buildForm( $fields, $submitLabel ); 00086 }