Back to ToolbarButton class

Method fetchId

protected string
fetchId
()
Get the button CSS Id.
Returns
  • string Button CSS Id
Since
  • 3.0
Class: ToolbarButton
Project: Joomla

Method fetchId - Source code

/**
 * Get the button CSS Id.
 *
 * @return  string  Button CSS Id
 *
 * @since   3.0
 */
protected function fetchId()
{
    return $this->parent->getName() . '-' . str_ireplace(' ', '-', $this->getName());
}