public function editButton($row, $href, $label, $title, $icon, $attributes)
	{
		switch ($row['type'])
		{
			case 'group':
				return \Image::getHtml(str_replace('.', '_.', $icon), $label) . ' ';
			
			case 'element':
				return '<a href="'.$this->addToUrl($href.'&amp;id='.$row['id']).'" title="'.\StringUtil::specialchars($title).'"'.$attributes.'>'.\Image::getHtml($icon, $label).'</a> ';
		}
	}
public function editButton($row, $href, $label, $title, $icon, $attributes)
	{
		switch ($row['type'])
		{
			case 'group':
				return \Image::getHtml(str_replace('.', '_.', $icon), $label) . ' ';
			
			case 'element':
				return '<a href="'.$this->addToUrl($href.'&amp;id='.$row['id']).'" title="'.\StringUtil::specialchars($title).'"'.$attributes.'>'.\Image::getHtml($icon, $label).'</a> ';
		}
	}
public function editButton ( $ row , $ href , $ label , $ title , $ icon , $ attributes ) { switch ( $ row [ 'type' ] ) { case 'group' : return \ Image :: getHtml ( str_replace ( '.' , '_.' , $ icon ) , $ label ) . ' ' ; case 'element' : return '<a href="' . $ this -> addToUrl ( $ href . '&amp;id=' . $ row [ 'id' ] ) . '" title="' . \ StringUtil :: specialchars ( $ title ) . '"' . $ attributes . '>' . \ Image :: getHtml ( $ icon , $ label ) . '</a> ' ; } }
Return the pattern edit button

@param array  $row
@param string $href
@param string $label
@param string $title
@param string $icon
@param string $attributes

@return string
Return the pattern edit button