Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

_update_Attributes #82

Open
GoogleCodeExporter opened this issue Jan 8, 2016 · 1 comment
Open

_update_Attributes #82

GoogleCodeExporter opened this issue Jan 8, 2016 · 1 comment

Comments

@GoogleCodeExporter
Copy link

DooModel.php
public static function _update_attributes($model, $data, $opt = NULL)
{
    return Doo::db()->update($model, $data, $opt);
}
TO

public static function _updateAttributes($model, $data, $opt = NULL)
{
    return Doo::db()->updateAttributes($model, $data, $opt);
}

Original issue reported on code.google.com by jar...@gmail.com on 15 Apr 2012 at 9:29

@GoogleCodeExporter
Copy link
Author

DooModel.php

Also change the following 
=========================
public function updateAttributes($data, $opt=NULL){
        return $this->db()->update_attributes($this, $data, $opt);
}

TO

public function updateAttributes($data, $opt=NULL){
        return $this->db()->updateAttributes($this, $data, $opt);
}

Using DooPHP 1.4.1

Original comment by mohit.ch...@gmail.com on 24 Sep 2012 at 11:02

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant