irm-1.6-b3/MDB/Common.php
/**
     * validate that a handle is infact a prepared query
     *
     * @param int $prepared_query argument is a handle that was returned by
     *       the function prepareQuery()
     * @access private
     */
validate that a handle is infact a prepared query
@param int $prepared_query argument is a handle that was returned by
the function prepareQuery()
@access private
validate that a handle is infact a prepared query @param int $prepared_query argument is a handle that was returned by the function prepareQuery () @access private
function _validatePreparedQuery($prepared_query)
    {
        if ($prepared_query < 1 || $prepared_query > count($this->prepared_queries)) {
            return($this->raiseError(MDB_ERROR_INVALID, NULL, NULL,
                'Validate prepared query: invalid prepared query'));
        }
        if (gettype($this->prepared_queries[$prepared_query-1]) != 'array') {
            return($this->raiseError(MDB_ERROR_INVALID, NULL, NULL,
                'Validate prepared query: prepared query was already freed'));
        }
        return(MDB_OK);
    }
function _validatePreparedQuery ( $ prepared_query ) { if ( $ prepared_query < 1 || $ prepared_query > count ( $ this -> prepared_queries ) ) { return ( $ this -> raiseError ( MDB_ERROR_INVALID , NULL , NULL , 'Validate prepared query: invalid prepared query' ) ) ; } if ( gettype ( $ this -> prepared_queries [ $ prepared_query - 1 ] ) != 'array' ) { return ( $ this -> raiseError ( MDB_ERROR_INVALID , NULL , NULL , 'Validate prepared query: prepared query was already freed' ) ) ; } return ( MDB_OK ) ; }
validate that a handle is infact a prepared query
 @param int $prepared_query argument is a handle that was returned by
       the function prepareQuery()
 @access private
validate that a handle is infact a prepared query @param int $prepared_query argument is a handle that was returned by the function prepareQuery () @access private