public function applyData($applyEntrie = NULL, $full = true){

        if (is_array($applyEntrie)){
            if ($full) {
                $this->values = $applyEntrie;
            } else {
                $this->values = array_replace($this->values, $applyEntrie);
            }
        }elseif (is_string($applyEntrie)){
            if ($full) {
                $this->values = explode($this->getDelimiter(), $applyEntrie);
            } else {
                $this->values = array_replace($this->values,explode($this->getDelimiter(), $applyEntrie));
            }
        } else {
            throw new \InvalidArgumentException("Argument must be an array or Speparated string");
        }

    }
public function applyData($applyEntrie = NULL, $full = true){

        if (is_array($applyEntrie)){
            if ($full) {
                $this->values = $applyEntrie;
            } else {
                $this->values = array_replace($this->values, $applyEntrie);
            }
        }elseif (is_string($applyEntrie)){
            if ($full) {
                $this->values = explode($this->getDelimiter(), $applyEntrie);
            } else {
                $this->values = array_replace($this->values,explode($this->getDelimiter(), $applyEntrie));
            }
        } else {
            throw new \InvalidArgumentException("Argument must be an array or Speparated string");
        }

    }
public function applyData ( $ applyEntrie = NULL , $ full = true ) { if ( is_array ( $ applyEntrie ) ) { if ( $ full ) { $ this -> values = $ applyEntrie ; } else { $ this -> values = array_replace ( $ this -> values , $ applyEntrie ) ; } } elseif ( is_string ( $ applyEntrie ) ) { if ( $ full ) { $ this -> values = explode ( $ this -> getDelimiter ( ) , $ applyEntrie ) ; } else { $ this -> values = array_replace ( $ this -> values , explode ( $ this -> getDelimiter ( ) , $ applyEntrie ) ) ; } } else { throw new \ InvalidArgumentException ( "Argument must be an array or Speparated string" ) ; } }
apply content via string or array
@param array/string $applyEntrie is an array or and seperated string
@param boolean $full if true the whole set will be overwritten.on flase just the fisrt entries
@throws \InvalidArgumentException
apply content via string or array