public function buttonsMove($url = null, $useDrag = true, $glue = '', $useGroup = false) {
		$result = '';
		if (empty($url) || !is_array($url)) {
			return $result;
		}

		$actions = [];
		if ($useDrag) {
			$actions[] = $this->_getOptionsForElem('buttonsMove.btnDrag');
		}
		$buttons = $this->_getOptionsForElem('buttonsMove.btnsMove');
		foreach ($buttons as $button) {
			$actions[] = $this->buttonLink(
				$button['icon'],
				'btn-info',
				array_merge($button['url'], $url),
				['title' => $button['title'], 'data-toggle' => 'move']
			);
		}
		$result = implode($glue, $actions);
		if (empty($glue) && $useGroup) {
			$result = $this->Html->div('btn-group', $result, ['role' => 'group']);
		}

		return $result;
	}
public function buttonsMove($url = null, $useDrag = true, $glue = '', $useGroup = false) {
		$result = '';
		if (empty($url) || !is_array($url)) {
			return $result;
		}

		$actions = [];
		if ($useDrag) {
			$actions[] = $this->_getOptionsForElem('buttonsMove.btnDrag');
		}
		$buttons = $this->_getOptionsForElem('buttonsMove.btnsMove');
		foreach ($buttons as $button) {
			$actions[] = $this->buttonLink(
				$button['icon'],
				'btn-info',
				array_merge($button['url'], $url),
				['title' => $button['title'], 'data-toggle' => 'move']
			);
		}
		$result = implode($glue, $actions);
		if (empty($glue) && $useGroup) {
			$result = $this->Html->div('btn-group', $result, ['role' => 'group']);
		}

		return $result;
	}
public function buttonsMove ( $ url = null , $ useDrag = true , $ glue = '' , $ useGroup = false ) { $ result = '' ; if ( empty ( $ url ) || ! is_array ( $ url ) ) { return $ result ; } $ actions = [ ] ; if ( $ useDrag ) { $ actions [ ] = $ this -> _getOptionsForElem ( 'buttonsMove.btnDrag' ) ; } $ buttons = $ this -> _getOptionsForElem ( 'buttonsMove.btnsMove' ) ; foreach ( $ buttons as $ button ) { $ actions [ ] = $ this -> buttonLink ( $ button [ 'icon' ] , 'btn-info' , array_merge ( $ button [ 'url' ] , $ url ) , [ 'title' => $ button [ 'title' ] , 'data-toggle' => 'move' ] ) ; } $ result = implode ( $ glue , $ actions ) ; if ( empty ( $ glue ) && $ useGroup ) { $ result = $ this -> Html -> div ( 'btn-group' , $ result , [ 'role' => 'group' ] ) ; } return $ result ; }
Return buttons for moving items.

@param array $url Base url for moving items
@param bool $useDrag If True, add button `Drag`
@param string $glue String as glue for buttons
@param bool $useGroup If True and empty $glue,
use group buttons.
@return string Return buttons for moving items.
@see MoveComponent::moveItem()
@see MoveComponent::dropItem()
Return buttons for moving items .