Jenis kolom form Accesslevel

From Joomla! Documentation

Revision as of 09:40, 15 May 2019 by FuzzyBot (talk | contribs) (Updating to match new version of source page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Menyediakan sebuah dropdown untuk opsi accesslevel bersama opsi yang dipilih secara standar.

  • name (wajib) adalah nama unik untuk parameternya.
  • type (wajib) haruslah accesslevel.
  • label (wajib) (dapat diterjemahkan) adalah judul kolom deskriptif.
  • description adalah teks keterangan untuk kolom form-nya.
  • class adalah kelas-kelas tambahan untuk mengatur gaya.
  • multiple (optional) is whether multiple items can be selected at the same time (true or false).
  • useglobal (optional) if set to true, it will show the value that is set in the global configuration if found in the database.

Diimplementasikan oleh: libraries/joomla/form/fields/access.php

Contoh Definisi XML:

<field name="access" type="accesslevel"
	label="JFIELD_ACCESS_LABEL"
	description="JFIELD_ACCESS_DESC"
	class="span12 small" />