local:shop:structure:classes:shopobject

This is an old revision of the document!


The ShopObject Class

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.

Any object based on this class and telling which DB table it uses will provide a full internal mechanism to deshydrate and rehydrate data from database.

Méthodes

Constructeur __construct

@param mixed $recordorid
@param string $recordtable

Getters et Setters

save()

Sauvegarde l'état courant de l'objet en base de données.

delete()

Supprime le stockage persistant de l'objet en base de données.

Revenir au sommaire de la structure

local/shop/structure/classes/shopobject.1482965356.txt.gz · Last modified: 2024/04/04 15:50 (external edit)