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 LinkButton
+ Graphe d'héritage de LinkButton:

Fonctions membres publiques

 fetchButton ($type='Link', $name='back', $text='', $url=null)
 
 fetchId ($type='Link', $name='')
 
- Fonctions membres publiques hérités de ToolbarButton
 __construct ($parent=null)
 
 getName ()
 
 render (&$definition)
 
 fetchIconClass ($identifier)
 
 fetchButton ()
 

Fonctions membres protégées

 _getCommand ($url)
 

Attributs protégés

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

Description détaillée

Renders a link button

Depuis
3.0

Documentation des fonctions membres

◆ _getCommand()

_getCommand (   $url)
protected

Get the JavaScript command for the button

Paramètres
object$urlButton definition
Renvoie
string JavaScript command string
Depuis
3.0

Références $url.

◆ fetchButton()

fetchButton (   $type = 'Link',
  $name = 'back',
  $text = '',
  $url = null 
)

Fetch the HTML for the button

Paramètres
string$typeUnused string.
string$nameName to be used as apart of the id
string$textButton text
string$urlThe link url
Renvoie
string HTML string for the button
Depuis
3.0

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

◆ fetchId()

fetchId (   $type = 'Link',
  $name = '' 
)

Get the button CSS Id

Paramètres
string$typeThe button type.
string$nameThe name of the button.
Renvoie
string Button CSS Id
Depuis
3.0

Références $name.

Documentation des champs

◆ $_name

$_name = 'Link'
protected

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