Difference between revisions of "Sessionhandler form field type"

From Joomla! Documentation

(Marked for translation)
(Marked this version for translation)
Line 1: Line 1:
 
<noinclude><languages /></noinclude>
 
<noinclude><languages /></noinclude>
<translate>Provides a dropdown list of session handler options.</translate>
+
<translate><!--T:1-->
 +
Provides a dropdown list of session handler options.</translate>
  
<translate>* '''name''' (mandatory) is the unique name of the parameter.</translate>
+
<translate><!--T:2-->
<translate>* '''type''' (mandatory) must be ''sessionhandler''.</translate>
+
* '''name''' (mandatory) is the unique name of the parameter.</translate>
<translate>* '''label''' (mandatory) (translatable) is the descriptive title of the field.</translate>
+
<translate><!--T:3-->
<translate>* '''description''' description text for the form field.</translate>
+
* '''type''' (mandatory) must be ''sessionhandler''.</translate>
<translate>* '''default''' (optional) provides a default value.</translate>
+
<translate><!--T:4-->
<translate>* '''required''' (optional) "true" to enforce a value.</translate>
+
* '''label''' (mandatory) (translatable) is the descriptive title of the field.</translate>
<translate>* '''filter''' (optional) cleans the input.</translate>
+
<translate><!--T:5-->
 +
* '''description''' description text for the form field.</translate>
 +
<translate><!--T:6-->
 +
* '''default''' (optional) provides a default value.</translate>
 +
<translate><!--T:7-->
 +
* '''required''' (optional) "true" to enforce a value.</translate>
 +
<translate><!--T:8-->
 +
* '''filter''' (optional) cleans the input.</translate>
  
<translate>Example XML Definition:</translate>
+
<translate><!--T:9-->
 +
Example XML Definition:</translate>
 
<source type="xml">
 
<source type="xml">
 
<field name="session_handler" type="sessionhandler"
 
<field name="session_handler" type="sessionhandler"
Line 20: Line 29:
 
</source>
 
</source>
  
<noinclude><translate>[[Category:Standard form field types]]</translate></noinclude>
+
<noinclude><translate><!--T:10-->
 +
[[Category:Standard form field types]]</translate></noinclude>

Revision as of 07:29, 23 August 2015

Other languages:
English • ‎Nederlands • ‎español • ‎français

Provides a dropdown list of session handler options.

  • name (mandatory) is the unique name of the parameter.
  • type (mandatory) must be sessionhandler.
  • label (mandatory) (translatable) is the descriptive title of the field.
  • description description text for the form field.
  • default (optional) provides a default value.
  • required (optional) "true" to enforce a value.
  • filter (optional) cleans the input.

Example XML Definition:

<field name="session_handler" type="sessionhandler"
	default="none"
	label="COM_CONFIG_FIELD_SESSION_HANDLER_LABEL"
	description="COM_CONFIG_FIELD_SESSION_HANDLER_DESC"
	required="true"
	filter="word" />