Ferreteria/v0.3/class/tSourcedStorage: Difference between revisions
< Ferreteria | v0.3 | class
Jump to navigation
Jump to search
(Created page with "{{page/code/class|ferreteria}} <source lang=php> // a portal row that has a Source trait tSourcedStorage { protected function GetSourceObject() : cIOSource { retur...") |
(No difference)
|
Revision as of 23:52, 28 December 2018
// 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 probably obsolete, since we have moved the Database access methods out of Source.
- file: Template:L/ferreteria/file
- used by: Template:L/ferreteria/class