private function bindParameters()
    {
        $bindedParameterReferences = array(implode('', $this->bindedTypes));
        $lobParameters = array();
        $null = null;

        foreach ($this->bindedParameters as $key => &$parameter) {
            if (isset($this->bindedTypes[$key - 1])
                && ($this->bindedTypes[$key - 1] === self::$mappedTypes[\PDO::PARAM_LOB])) {
                $lobParameters[$key - 1] = $parameter;
                $bindedParameterReferences[$key] = &$null;
            } else {
                $bindedParameterReferences[$key] = &$parameter;
            }
        }

        call_user_func_array(array($this->mysqliStatement, 'bind_param'), $bindedParameterReferences);

        foreach ($lobParameters as $key => $lobParameter) {
            rewind($lobParameter);

            while (!feof($lobParameter)) {
                $this->mysqliStatement->send_long_data(
                    $key,
                    fread($lobParameter, $this->connection->getMaxAllowedPacket())
                );
            }
        }
    }
private function bindParameters()
    {
        $bindedParameterReferences = array(implode('', $this->bindedTypes));
        $lobParameters = array();
        $null = null;

        foreach ($this->bindedParameters as $key => &$parameter) {
            if (isset($this->bindedTypes[$key - 1])
                && ($this->bindedTypes[$key - 1] === self::$mappedTypes[\PDO::PARAM_LOB])) {
                $lobParameters[$key - 1] = $parameter;
                $bindedParameterReferences[$key] = &$null;
            } else {
                $bindedParameterReferences[$key] = &$parameter;
            }
        }

        call_user_func_array(array($this->mysqliStatement, 'bind_param'), $bindedParameterReferences);

        foreach ($lobParameters as $key => $lobParameter) {
            rewind($lobParameter);

            while (!feof($lobParameter)) {
                $this->mysqliStatement->send_long_data(
                    $key,
                    fread($lobParameter, $this->connection->getMaxAllowedPacket())
                );
            }
        }
    }
private function bindParameters ( ) { $ bindedParameterReferences = array ( implode ( '' , $ this -> bindedTypes ) ) ; $ lobParameters = array ( ) ; $ null = null ; foreach ( $ this -> bindedParameters as $ key => & $ parameter ) { if ( isset ( $ this -> bindedTypes [ $ key - 1 ] ) && ( $ this -> bindedTypes [ $ key - 1 ] === self :: $ mappedTypes [ \ PDO :: PARAM_LOB ] ) ) { $ lobParameters [ $ key - 1 ] = $ parameter ; $ bindedParameterReferences [ $ key ] = & $ null ; } else { $ bindedParameterReferences [ $ key ] = & $ parameter ; } } call_user_func_array ( array ( $ this -> mysqliStatement , 'bind_param' ) , $ bindedParameterReferences ) ; foreach ( $ lobParameters as $ key => $ lobParameter ) { rewind ( $ lobParameter ) ; while ( ! feof ( $ lobParameter ) ) { $ this -> mysqliStatement -> send_long_data ( $ key , fread ( $ lobParameter , $ this -> connection -> getMaxAllowedPacket ( ) ) ) ; } } }
Binds the parameters on the driver statement.
Binds the parameters on the driver statement .