Saveable class

For classes that are saved to a database or disk.

Item must have a gettable/settable 'id' property for this interface as well


Click any linked item for full usage details and examples. Hookable methods are indicated with the icon.

Show class?     Show args?       Only hookable?    

Common

NameReturnSummary 
Saveable::getTableData()
arrayGet an array of this item's saveable data, should match exact with the table it saves in 
Saveable::save()
NoneSave the object's current state to database. 

Properties

NameReturnSummaryDefault
Saveable::id int 
Saveable::name string 

API reference based on ProcessWire core version 3.0.251