Ferreteria/v0.3/class/cFieldRow sourced
< Ferreteria | v0.3 | class
Jump to navigation
Jump to search
Revision as of 15:28, 3 February 2020 by Woozle (talk | contribs) (Woozle moved page Ferreteria/v3/class/cFieldRow sourced to Ferreteria/v0.3/class/cFieldRow sourced: version renumbering)
abstract class cFieldRow_sourced extends cFieldRow {
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(); }
// CEMENT: defer to Source object
public function GetFieldClassArray() { return $this->GetSourceObject()->GetFieldClassArray(); }
}
- file:
data/rows/sourced.php
- extends: cFieldRow
- extenders:
- (A) cFieldRowStandard extends cFieldRow_sourced implements ifSingleKeyedRow
- fcrDropInModule extends ferreteria\data\cFieldRow_sourced