Ferreteria/v3/class/tSourcedStorage

from HTYP, the free directory anyone can edit if they can prove to me that they're not a spambot
< Ferreteria‎ | v3‎ | class
Jump to: navigation, search
// 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.

  • file: data/portals/array/storage.php