Code Duplication    Length = 9-9 lines in 2 locations

Ajax/bootstrap/html/base/BaseHtml.php 1 location

@@ 354-362 (lines=9) @@
351
	 * @param string $value
352
	 * @return string
353
	 */
354
	public function _prep_value($value) {
355
		if (is_array($value)) {
356
			$value=implode(",", $value);
357
		}
358
		if (strrpos($value, 'this')===false&&strrpos($value, 'event')===false) {
359
			$value='"'.$value.'"';
360
		}
361
		return $value;
362
	}
363
364
	public function jsDoJquery($jqueryCall, $param=""){
365
		return "$('#".$this->identifier."').".$jqueryCall."(".$this->_prep_value($param).");";

Ajax/Jquery.php 1 location

@@ 937-945 (lines=9) @@
934
	 * @param string $value
935
	 * @return string
936
	 */
937
	public function _prep_value($value) {
938
		if (is_array($value)) {
939
			$value=implode(",", $value);
940
		}
941
		if (strrpos($value, 'this')===false&&strrpos($value, 'event')===false) {
942
			$value='"'.$value.'"';
943
		}
944
		return $value;
945
	}
946
947
	// --------------------------------------------------------------------
948