Ferreteria/v0.3/class/tSourcedFieldRow: Difference between revisions
< Ferreteria | v0.3 | class
Jump to navigation
Jump to search
(Created page with "{{page/code/class|ferreteria}} <source lang=php> trait tSourcedFieldRow { public function __construct(cIOSource $oSource) { $this->SetSourceObject($oSource); } prot...") |
m (Woozle moved page Ferreteria/class/tSourcedFieldRow to Ferreteria/v3/class/tSourcedFieldRow without leaving a redirect: this is all v3 documentation, and we still need v2) |
(No difference)
| |
Revision as of 14:24, 19 January 2019
trait tSourcedFieldRow {
public function __construct(cIOSource $oSource) { $this->SetSourceObject($oSource); }
protected function SetSourceObject(cIOSource $oSource) { $this->oSource = $oSource; }
// PUBLIC so PortalRow objects can access
public function GetSourceObject() : cIOSource { return $this->oSource; }
// SHORTCUT for convenience
protected function GetDatabase() { return $this->GetSourceObject()->GetDatabase(); }
}
- file: Template:L/ferreteria/file
- used by: Template:L/ferreteria/class