public function bindParam($placeholder, &$var, $type = null)
    {

        $this->param_list[$placeholder] = &$var;
        if (!empty($type) && in_array($type, $this->_type_list)) {
            $this->type_list[$placeholder] = &$type;
        }


        return true;
    }
public function bindParam($placeholder, &$var, $type = null)
    {

        $this->param_list[$placeholder] = &$var;
        if (!empty($type) && in_array($type, $this->_type_list)) {
            $this->type_list[$placeholder] = &$type;
        }


        return true;
    }
public function bindParam ( $ placeholder , & $ var , $ type = null ) { $ this -> param_list [ $ placeholder ] = & $ var ; if ( ! empty ( $ type ) && in_array ( $ type , $ this -> _type_list ) ) { $ this -> type_list [ $ placeholder ] = & $ type ; } return true ; }
binds a parameter

@param string $placeholder
@param mixed $var
@param null $type

@return bool
binds a parameter