private function _pdoToOciType($pdotype)
    {
        $ocitype = SQLT_CHR;
        $pdotype = $pdotype & ~ PDO::PARAM_INPUT_OUTPUT;

        switch ($pdotype) {
        case PDO::PARAM_STR:
        case PDO::PARAM_NULL:
            $ocitype = SQLT_CHR;
            break;

        case PDO::PARAM_INT:
            $ocitype = SQLT_INT;
            break;

        case PDO::PARAM_BOOL:
            $ocitype = SQLT_BOL;
            break;

        case PDO::PARAM_LOB:
            $ociType = OCI_D_LOB;
            break;
        }
        return $ocitype;
    }
private function _pdoToOciType($pdotype)
    {
        $ocitype = SQLT_CHR;
        $pdotype = $pdotype & ~ PDO::PARAM_INPUT_OUTPUT;

        switch ($pdotype) {
        case PDO::PARAM_STR:
        case PDO::PARAM_NULL:
            $ocitype = SQLT_CHR;
            break;

        case PDO::PARAM_INT:
            $ocitype = SQLT_INT;
            break;

        case PDO::PARAM_BOOL:
            $ocitype = SQLT_BOL;
            break;

        case PDO::PARAM_LOB:
            $ociType = OCI_D_LOB;
            break;
        }
        return $ocitype;
    }
private function _pdoToOciType ( $ pdotype ) { $ ocitype = SQLT_CHR ; $ pdotype = $ pdotype & ~ PDO :: PARAM_INPUT_OUTPUT ; switch ( $ pdotype ) { case PDO :: PARAM_STR : case PDO :: PARAM_NULL : $ ocitype = SQLT_CHR ; break ; case PDO :: PARAM_INT : $ ocitype = SQLT_INT ; break ; case PDO :: PARAM_BOOL : $ ocitype = SQLT_BOL ; break ; case PDO :: PARAM_LOB : $ ociType = OCI_D_LOB ; break ; } return $ ocitype ; }
Return the correct OCI type

@param mixed $pdotype - PDO type

@author John Yendt <@normcf>

@return correc type
Return the correct OCI type