This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| local:shop:structure:classes:shopobject [2017/11/12 22:21] florence [Methods] | local:shop:structure:classes:shopobject [2024/05/14 15:39] (current) | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | <html><!-- nomoodle --></html>{{ :logo-apl.png?nolink |}}<html><!-- /nomoodle --></html> | ||
| ===== The ShopObject Class ===== | ===== The ShopObject Class ===== | ||
| - | ===== Moodle Integrated Shop : Structural elements ===== | + | ==== Moodle Integrated Shop : Structural elements==== | 
| The ShopObject is the base class for all other functional classes of the Moodle Shop. It will provide a basic API for any othe robject and an abstraction layer to the DB storage.  | The ShopObject is the base class for all other functional classes of the Moodle Shop. It will provide a basic API for any othe robject and an abstraction layer to the DB storage.  | ||
| Line 19: | Line 20: | ||
| Save the current state of the object to DB. | Save the current state of the object to DB. | ||
| - | == delete() === | + | === delete() === | 
| Deletes the underlying record.  | Deletes the underlying record.  | ||
| - | ---------- | + | ----- | 
| <html><!-- nomoodle --></html> | <html><!-- nomoodle --></html> | ||
| - | [[:local:shop:structure|Back to the Moodle Shop structure summary]] - [[:local:shop|back to Local Shop componant ]] - [[:start|back tocatalogue]] | + | [[:local:shop:structure|Back to the Moodle Shop structure documentation summary]] - [[local:shop:userguide:salesadmin|Go to Configuration and implementation of a commercial offer]] - [[:local:shop|Back to Local Shop componant ]] - [[:start|Back to catalogue]] | 
| <html><!-- /nomoodle --></html> | <html><!-- /nomoodle --></html> | ||