JToolBarHelper/addNewX
From Joomla! Documentation
parameters
Writes the common 'new' icon for the button bar. Extended version of addNew() calling hideMainMenu() before submitbutton().
- @param string An override for the task
- @param string An override for the alt text
- @since 1.0
function addNewX( $task = 'add', $alt = 'New' )
[Joomla 1.5.15]