public function render(&$definition)
	{
		// Initialise variables.
		$class = null;
		$style = null;

		// Separator class name
		$class = (empty($definition[1])) ? 'spacer' : $definition[1];
		// Custom width
		$style = (empty($definition[2])) ? null : ' style="width:' . intval($definition[2]) . 'px;"';

		return '<li class="' . $class . '"' . $style . ">\n</li>\n";
	}
public function render(&$definition)
	{
		// Initialise variables.
		$class = null;
		$style = null;

		// Separator class name
		$class = (empty($definition[1])) ? 'spacer' : $definition[1];
		// Custom width
		$style = (empty($definition[2])) ? null : ' style="width:' . intval($definition[2]) . 'px;"';

		return '<li class="' . $class . '"' . $style . ">\n</li>\n";
	}
public function render ( & $ definition ) { // Initialise variables. $ class = null ; $ style = null ; // Separator class name $ class = ( empty ( $ definition [ 1 ] ) ) ? 'spacer' : $ definition [ 1 ] ; // Custom width $ style = ( empty ( $ definition [ 2 ] ) ) ? null : ' style="width:' . intval ( $ definition [ 2 ] ) . 'px;"' ; return '<li class="' . $ class . '"' . $ style . ">\n</li>\n" ; }
Get the HTML for a separator in the toolbar

@param   array  &$definition  Class name and custom width
@return  The HTML for the separator
Get the HTML for a separator in the toolbar