private function makeButton($button, $name, $duallist, $from, $to, $all)
	{
		$newbutton = XmlUtil::CreateChild($duallist, "button", "");
		XmlUtil::AddAttribute($newbutton, "name", $name);
		if ($button->type == DualListButtonType::Image ) {
			XmlUtil::AddAttribute($newbutton, "type", "image");
			XmlUtil::AddAttribute($newbutton, "src", $button->href);
			XmlUtil::AddAttribute($newbutton, "value", $button->text);
		}else {
			XmlUtil::AddAttribute($newbutton, "type", "button");
			XmlUtil::AddAttribute($newbutton, "value", $button->text);
		}
		XmlUtil::AddAttribute($newbutton, "from", $from);
		XmlUtil::AddAttribute($newbutton, "to", $to);
		XmlUtil::AddAttribute($newbutton, "all", $all);
	}
private function makeButton($button, $name, $duallist, $from, $to, $all)
	{
		$newbutton = XmlUtil::CreateChild($duallist, "button", "");
		XmlUtil::AddAttribute($newbutton, "name", $name);
		if ($button->type == DualListButtonType::Image ) {
			XmlUtil::AddAttribute($newbutton, "type", "image");
			XmlUtil::AddAttribute($newbutton, "src", $button->href);
			XmlUtil::AddAttribute($newbutton, "value", $button->text);
		}else {
			XmlUtil::AddAttribute($newbutton, "type", "button");
			XmlUtil::AddAttribute($newbutton, "value", $button->text);
		}
		XmlUtil::AddAttribute($newbutton, "from", $from);
		XmlUtil::AddAttribute($newbutton, "to", $to);
		XmlUtil::AddAttribute($newbutton, "all", $all);
	}
private function makeButton ( $ button , $ name , $ duallist , $ from , $ to , $ all ) { $ newbutton = XmlUtil :: CreateChild ( $ duallist , "button" , "" ) ; XmlUtil :: AddAttribute ( $ newbutton , "name" , $ name ) ; if ( $ button -> type == DualListButtonType :: Image ) { XmlUtil :: AddAttribute ( $ newbutton , "type" , "image" ) ; XmlUtil :: AddAttribute ( $ newbutton , "src" , $ button -> href ) ; XmlUtil :: AddAttribute ( $ newbutton , "value" , $ button -> text ) ; } else { XmlUtil :: AddAttribute ( $ newbutton , "type" , "button" ) ; XmlUtil :: AddAttribute ( $ newbutton , "value" , $ button -> text ) ; } XmlUtil :: AddAttribute ( $ newbutton , "from" , $ from ) ; XmlUtil :: AddAttribute ( $ newbutton , "to" , $ to ) ; XmlUtil :: AddAttribute ( $ newbutton , "all" , $ all ) ; }
Make a buttom

@param DualListButton $button
@param string $name
@param DOMNode $duallist
@param string $from
@param string $to
@param string $all
Make a buttom