common/models/forms/Binder.php
public function mergeWithBinded( $data, $csv = false ) {

		$merge = [];

		if( $csv && strlen( $merge ) > 1 ) {

			$merge = preg_split( '/,/',  $data );
		}

		$this->binded = ArrayHelper::merge( $this->binded, $merge );
	}
public function mergeWithBinded( $data, $csv = false ) {

		$merge = [];

		if( $csv && strlen( $merge ) > 1 ) {

			$merge = preg_split( '/,/',  $data );
		}

		$this->binded = ArrayHelper::merge( $this->binded, $merge );
	}
public function mergeWithBinded ( $ data , $ csv = false ) { $ merge = [ ] ; if ( $ csv && strlen ( $ merge ) > 1 ) { $ merge = preg_split ( '/,/' , $ data ) ; } $ this -> binded = ArrayHelper :: merge ( $ this -> binded , $ merge ) ; }
Merge the given data either in csv format or as array.

@param array|string $merge
@param boolean $csv
Merge the given data either in csv format or as array .