protected function replaceParamInSql()/*# : string */
    {
        $count = 0;
        $params = $this->params;
        return preg_replace_callback(
            '/\?|\:\w+/',
            function ($m) use ($count, $params) {
                if ('?' === $m[0]) {
                    $res = $params[$count++];
                } else {
                    $res = isset($params[$m[0]]) ? $params[$m[0]] :
                        $params[substr($m[0], 1)];
                }
                return $this->getDriver()->quote($res);
            },
            $this->sql
        );
    }
protected function replaceParamInSql()/*# : string */
    {
        $count = 0;
        $params = $this->params;
        return preg_replace_callback(
            '/\?|\:\w+/',
            function ($m) use ($count, $params) {
                if ('?' === $m[0]) {
                    $res = $params[$count++];
                } else {
                    $res = isset($params[$m[0]]) ? $params[$m[0]] :
                        $params[substr($m[0], 1)];
                }
                return $this->getDriver()->quote($res);
            },
            $this->sql
        );
    }
protected function replaceParamInSql ( ) /*# : string */ { $ count = 0 ; $ params = $ this -> params ; return preg_replace_callback ( '/\?|\:\w+/' , function ( $ m ) use ( $ count , $ params ) { if ( '?' === $ m [ 0 ] ) { $ res = $ params [ $ count ++ ] ; } else { $ res = isset ( $ params [ $ m [ 0 ] ] ) ? $ params [ $ m [ 0 ] ] : $ params [ substr ( $ m [ 0 ] , 1 ) ] ; } return $ this -> getDriver ( ) -> quote ( $ res ) ; } , $ this -> sql ) ; }
Replace params in the SQL

@return string
@access protected
Replace params in the SQL