Ferreteria/v0.3/class/tSourcedStorage: Difference between revisions
< Ferreteria | v0.3 | class
Jump to navigation
Jump to search
m (Woozle moved page Ferreteria/v3/class/tSourcedStorage to Ferreteria/v0.3/class/tSourcedStorage: version renumbering) |
m (5 revisions imported: moving this project here) |
(No difference)
|
Latest revision as of 16:44, 22 May 2022
// a portal row that has a Source
trait tSourcedStorage {
protected function GetSourceObject() : cIOSource {
return $this->GetRowObject()->GetSourceObject();
}
protected function GetDatabase() : cDatabaseConnection {
return $this->GetSourceObject()->GetDatabase();
}
}
This is obsolete, since we have moved the Database access methods out of Source.