public function insert($values)
    {
        try {
            if (func_num_args() > 0 && !is_array($values)) {
                $this->values = array_merge($this->values, self::sanitizeAV(func_get_args()));
            } else if (is_array($values)) {
                $this->values = self::sanitize($values);
            } else {
                static::$response["status"] = "error";
                static::$response["response"] = "unrecognized parameter options in the insert values";
                static::$response["code"] = 7004;
                return static::terminate(static::$response);
            }
        } catch (Exception $e) {
            static::$response["status"] = "error";
            static::$response["response"] = $e->getMessage();
            static::$response["code"] = $e->getCode();
           return static::terminate(static::$response);
        }

        return $this;
    }
public function insert($values)
    {
        try {
            if (func_num_args() > 0 && !is_array($values)) {
                $this->values = array_merge($this->values, self::sanitizeAV(func_get_args()));
            } else if (is_array($values)) {
                $this->values = self::sanitize($values);
            } else {
                static::$response["status"] = "error";
                static::$response["response"] = "unrecognized parameter options in the insert values";
                static::$response["code"] = 7004;
                return static::terminate(static::$response);
            }
        } catch (Exception $e) {
            static::$response["status"] = "error";
            static::$response["response"] = $e->getMessage();
            static::$response["code"] = $e->getCode();
           return static::terminate(static::$response);
        }

        return $this;
    }
public function insert ( $ values ) { try { if ( func_num_args ( ) > 0 && ! is_array ( $ values ) ) { $ this -> values = array_merge ( $ this -> values , self :: sanitizeAV ( func_get_args ( ) ) ) ; } else if ( is_array ( $ values ) ) { $ this -> values = self :: sanitize ( $ values ) ; } else { static :: $ response [ "status" ] = "error" ; static :: $ response [ "response" ] = "unrecognized parameter options in the insert values" ; static :: $ response [ "code" ] = 7004 ; return static :: terminate ( static :: $ response ) ; } } catch ( Exception $ e ) { static :: $ response [ "status" ] = "error" ; static :: $ response [ "response" ] = $ e -> getMessage ( ) ; static :: $ response [ "code" ] = $ e -> getCode ( ) ; return static :: terminate ( static :: $ response ) ; } return $ this ; }
Sets the values to be inserted
@param $values
@return $this|string
Sets the values to be inserted