JToolBarHelper/custom
From Joomla! Documentation
< JToolBarHelper(Difference between revisions)
(→parameters, description) |
|||
| Line 11: | Line 11: | ||
'''function custom( $task = ' ', $icon = ' ', $iconOver = ' ', $alt = ' ', $listSelect = true, $x = false )''' | '''function custom( $task = ' ', $icon = ' ', $iconOver = ' ', $alt = ' ', $listSelect = true, $x = false )''' | ||
| − | Using the khepri | + | Using the khepri toolbar images, the icon value could be one of: |
send, delete, help, cancel, config, apply, back, forward, save, edit, copy, move, new, upload, assign, html, css, menus, publish, unpublish, restore, trash, archive, unarchive, preview, default | send, delete, help, cancel, config, apply, back, forward, save, edit, copy, move, new, upload, assign, html, css, menus, publish, unpublish, restore, trash, archive, unarchive, preview, default | ||
''[Joomla 1.5.15]'' | ''[Joomla 1.5.15]'' | ||
Revision as of 07:01, 10 August 2012
parameters, description
Writes a custom option and task button for the button bar
- @param string The task to perform (picked up by the switch($task) blocks
- @param string The image to display
- @param string The image to display when moused over
- @param string The alt text for the icon image
- @param boolean True if required to check that a standard list item is checked
- @param boolean True if required to include callinh hideMainMenu()
- @since 1.0
function custom( $task = ' ', $icon = ' ', $iconOver = ' ', $alt = ' ', $listSelect = true, $x = false )
Using the khepri toolbar images, the icon value could be one of:
send, delete, help, cancel, config, apply, back, forward, save, edit, copy, move, new, upload, assign, html, css, menus, publish, unpublish, restore, trash, archive, unarchive, preview, default
[Joomla 1.5.15]