MediaWiki  1.23.13
UsercreateTemplate Class Reference
Inheritance diagram for UsercreateTemplate:
Collaboration diagram for UsercreateTemplate:

Public Member Functions

 addInputItem ( $name, $value, $type, $msg, $helptext=false)
 Extensions (AntiSpoof and TitleBlacklist) call this in response to UserCreateForm hook to add checkboxes to the create account form. More...
 
 execute ()
 Main function, used by classes that subclass QuickTemplate to show the actual HTML output. More...
 
- Public Member Functions inherited from BaseTemplate
 getFooterIcons ( $option=null)
 Returns an array of footer icons filtered down by options relevant to how the skin wishes to display them. More...
 
 getFooterLinks ( $option=null)
 Returns an array of footerlinks trimmed down to only those footer links that are valid. More...
 
 getMsg ( $name)
 Get a Message object with its context set. More...
 
 getPersonalTools ()
 Create an array of personal tools items from the data in the quicktemplate stored by SkinTemplate. More...
 
 getSidebar ( $options=array())
 
 getToolbox ()
 Create an array of common toolbox items from the data in the quicktemplate stored by SkinTemplate. More...
 
 makeLink ( $key, $item, $options=array())
 Makes a link, usually used by makeListItem to generate a link for an item in a list used in navigation lists, portlets, portals, sidebars, etc... More...
 
 makeListItem ( $key, $item, $options=array())
 Generates a list item for a navigation, portlet, portal, sidebar... More...
 
 makeSearchButton ( $mode, $attrs=array())
 
 makeSearchInput ( $attrs=array())
 
 msg ( $str)
 
 msgHtml ( $str)
 
 msgWiki ( $str)
 An ugly, ugly hack. More...
 
 printTrail ()
 Output the basic end-page trail including bottomscripts, reporttime, and debug stuff. More...
 
- Public Member Functions inherited from QuickTemplate
 __construct ()
 Constructor. More...
 
 get ( $name, $default=null)
 Gets the template data requested. More...
 
 getHTML ()
 Fetch the output of a QuickTemplate and return it. More...
 
 getSkin ()
 Get the Skin object related to this object. More...
 
 haveData ( $str)
 
 haveMsg ( $str)
 
 html ( $str)
 
 set ( $name, $value)
 Sets the value $value to $name. More...
 
 setRef ( $name, &$value)
 
 setTranslator (&$t)
 
 text ( $str)
 

Public Attributes

if( $this->data['usereason']) $tabIndex = 9
 
if( $inputItem['helptext'] !==false$tabIndex
 
 if (isset($this->data[ 'extraInput']) &&is_array($this->data[ 'extraInput']))
 

Additional Inherited Members

- Protected Member Functions inherited from BaseTemplate
 renderAfterPortlet ( $name)
 

Detailed Description

Definition at line 24 of file Usercreate.php.

Member Function Documentation

◆ addInputItem()

UsercreateTemplate::addInputItem (   $name,
  $value,
  $type,
  $msg,
  $helptext = false 
)

Extensions (AntiSpoof and TitleBlacklist) call this in response to UserCreateForm hook to add checkboxes to the create account form.

Definition at line 30 of file Usercreate.php.

References $name, $type, $value, array(), and data.

◆ execute()

UsercreateTemplate::execute ( )

Main function, used by classes that subclass QuickTemplate to show the actual HTML output.

Reimplemented from QuickTemplate.

Definition at line 40 of file Usercreate.php.

References action, array(), as, data, form, BaseTemplate\getMsg(), global, QuickTemplate\haveData(), QuickTemplate\html(), Html\input(), is(), BaseTemplate\msg(), BaseTemplate\msgWiki(), name, User\passwordChangeInputAttribs(), php, section, QuickTemplate\text(), type, used, and wfMessage().

Member Data Documentation

◆ $tabIndex [1/2]

if ($this->data[ 'usereason']) UsercreateTemplate::$tabIndex = 9

Definition at line 205 of file Usercreate.php.

◆ $tabIndex [2/2]

if ($inputItem[ 'helptext'] !==false) UsercreateTemplate::$tabIndex

Definition at line 244 of file Usercreate.php.

◆ if

UsercreateTemplate::if(isset( $this->data['extraInput']) &&is_array( $this->data['extraInput']))

Definition at line 206 of file Usercreate.php.


The documentation for this class was generated from the following file: