Code Duplication    Length = 9-10 lines in 3 locations

Ajax/Jquery.php 3 locations

@@ 1150-1158 (lines=9) @@
1147
	 * @param string $responseElement
1148
	 * @param array $parameters default : array("preventDefault"=>true,"stopPropagation"=>true,"jsCallback"=>NULL,"attr"=>"id","hasLoader"=>true)
1149
	 */
1150
	public function _getOn($event,$element, $url, $params="{}", $responseElement="", $parameters=array()) {
1151
		$preventDefault=true;
1152
		$stopPropagation=true;
1153
		$jsCallback=null;
1154
		$attr="id";
1155
		$hasLoader=true;
1156
		extract($parameters);
1157
		return $this->_add_event($element, $this->_get($url, $params, $responseElement, $jsCallback, $attr,$hasLoader), $event, $preventDefault, $stopPropagation);
1158
	}
1159
1160
	/**
1161
	 * Effectue un post vers $url sur l'évènement $event de $element en passant les paramètres $params
@@ 1170-1178 (lines=9) @@
1167
	 * @param string $responseElement
1168
	 * @param array $parameters default : array("preventDefault"=>true,"stopPropagation"=>true,"jsCallback"=>NULL,"attr"=>"id","hasLoader"=>true)
1169
	 */
1170
	public function _postOn($event,$element, $url, $params="{}", $responseElement="", $parameters=array()) {
1171
		$preventDefault=true;
1172
		$stopPropagation=true;
1173
		$jsCallback=null;
1174
		$attr="id";
1175
		$hasLoader=true;
1176
		extract($parameters);
1177
		return $this->_add_event($element, $this->_post($url, $params, $responseElement, $jsCallback, $attr,$hasLoader), $event, $preventDefault, $stopPropagation);
1178
	}
1179
1180
	/**
1181
	 * Effectue un post vers $url sur l'évènement $event de $element en passant les paramètres du formulaire $form
@@ 1190-1199 (lines=10) @@
1187
	 * @param string $responseElement
1188
	 * @param array $parameters default : array("preventDefault"=>true,"stopPropagation"=>true,"validation"=>false,"jsCallback"=>NULL,"attr"=>"id","hasLoader"=>true)
1189
	 */
1190
	public function _postFormOn($event,$element, $url, $form, $responseElement="", $parameters=array()) {
1191
		$preventDefault=true;
1192
		$stopPropagation=true;
1193
		$validation=false;
1194
		$jsCallback=null;
1195
		$attr="id";
1196
		$hasLoader=true;
1197
		extract($parameters);
1198
		return $this->_add_event($element, $this->_postForm($url, $form, $responseElement, $validation, $jsCallback, $attr,$hasLoader), $event, $preventDefault, $stopPropagation);
1199
	}
1200
1201
	/**
1202
	 * Call the JQuery method $jqueryCall on $element with parameters $param