Method | Description | |
---|---|---|
destroy ( ) : boolean | Destroy the current object | |
save ( boolean $force = false ) : boolean | Save or update currenct object | |
updateAttributes ( mixed $attrs ) : updated | Update object attributes |
Method | Description | |
---|---|---|
_insert ( mixed $attrs, string $calling, string $pk, mixed $pk_value ) : inserted | Insert a new record | |
_update ( mixed $attrs, string $calling, string $pk, mixed $pk_value ) : boolean | Update a record |
public updateAttributes ( mixed $attrs ) : updated | ||
$attrs | mixed | attributes |
return | updated | or not |