public function bindParam($tag, &$param, $type = DB::PARAM_AUTO) {
        if (!is_int($tag) and ctype_digit($tag))
            $tag = intval($tag);
        elseif (is_string($tag)) {
            if (':' != substr($tag, 0, 1))
                $tag = ":$tag";
        } else
            return false;
        $this->parameters[$tag] = array('param' => &$param, 'type' => $type);
        return true;
    }
public function bindParam($tag, &$param, $type = DB::PARAM_AUTO) {
        if (!is_int($tag) and ctype_digit($tag))
            $tag = intval($tag);
        elseif (is_string($tag)) {
            if (':' != substr($tag, 0, 1))
                $tag = ":$tag";
        } else
            return false;
        $this->parameters[$tag] = array('param' => &$param, 'type' => $type);
        return true;
    }
public function bindParam ( $ tag , & $ param , $ type = DB :: PARAM_AUTO ) { if ( ! is_int ( $ tag ) and ctype_digit ( $ tag ) ) $ tag = intval ( $ tag ) ; elseif ( is_string ( $ tag ) ) { if ( ':' != substr ( $ tag , 0 , 1 ) ) $ tag = ":$tag" ; } else return false ; $ this -> parameters [ $ tag ] = array ( 'param' => & $ param , 'type' => $ type ) ; return true ; }
Binds parameter to statement
@param string|int $tag Parameter marker in the statement. If marker is '?', use integer value here.
@param &mixed $param Parameter to bind, as reference
@param int $type Parameter type, defaults to string.
@return boolean
Binds parameter to statement