Joomla CMS  3.10.11 (avec JPlatform 13.1 inclus)
Documentation des API du CMS Joomla en version 3.10.11 et du framework Joomla Platform intégré
Tout Structures de données Espaces de nommage Fichiers Fonctions Variables Pages
Référence de la classe StandardButton
+ Graphe d'héritage de StandardButton:

Fonctions membres publiques

 fetchButton ($type='Standard', $name='', $text='', $task='', $list=true)
 
 fetchId ($type='Standard', $name='', $text='', $task='', $list=true, $hideMenu=false)
 
- Fonctions membres publiques hérités de ToolbarButton
 __construct ($parent=null)
 
 getName ()
 
 render (&$definition)
 
 fetchIconClass ($identifier)
 
 fetchButton ()
 

Fonctions membres protégées

 _getCommand ($name, $task, $list)
 

Attributs protégés

 $_name = 'Standard'
 
- Attributs protégés hérités de ToolbarButton
 $_name = null
 
 $_parent = null
 

Description détaillée

Renders a standard button

Depuis
3.0

Documentation des fonctions membres

◆ _getCommand()

_getCommand (   $name,
  $task,
  $list 
)
protected

Get the JavaScript command for the button

Paramètres
string$nameThe task name as seen by the user
string$taskThe task used by the application
boolean$listTrue is requires a list confirmation.
Renvoie
string JavaScript command string
Depuis
3.0

Références $alert, $list, et $task.

◆ fetchButton()

fetchButton (   $type = 'Standard',
  $name = '',
  $text = '',
  $task = '',
  $list = true 
)

Fetch the HTML for the button

Paramètres
string$typeUnused string.
string$nameThe name of the button icon class.
string$textButton text.
string$taskTask associated with the button.
boolean$listTrue to allow lists
Renvoie
string HTML string for the button
Depuis
3.0

Références $layout, $list, $name, $options, $task, et $text.

◆ fetchId()

fetchId (   $type = 'Standard',
  $name = '',
  $text = '',
  $task = '',
  $list = true,
  $hideMenu = false 
)

Get the button CSS Id

Paramètres
string$typeUnused string.
string$nameName to be used as apart of the id
string$textButton text
string$taskThe task associated with the button
boolean$listTrue to allow use of lists
boolean$hideMenuTrue to hide the menu on click
Renvoie
string Button CSS Id
Depuis
3.0

Références $name.

Documentation des champs

◆ $_name

$_name = 'Standard'
protected

La documentation de cette classe a été générée à partir du fichier suivant :