Ferreteria/v0.3/class/cFieldRow sourced: Difference between revisions
< Ferreteria | v0.3 | class
Jump to navigation
Jump to search
m (Woozle moved page Ferreteria/class/cIORow sourced to Ferreteria/class/cFieldRow sourced) |
No edit summary |
||
Line 1: | Line 1: | ||
{{page/code/class|ferreteria}} | {{page/code/class|ferreteria}} | ||
<source lang=php> | <source lang=php> | ||
*---- | /*---- | ||
HISTORY: | HISTORY: | ||
2018-12-03 created to split off Source-related functionality, since cIORow_internal is explicitly not supposed to need one | 2018-12-03 created to split off Source-related functionality, since cIORow_internal is explicitly not supposed to need one | ||
*/ | */ | ||
abstract class | abstract class cFieldRow_sourced extends cFieldRow { | ||
public function __construct(cIOSource $oSource) { | public function __construct(cIOSource $oSource) { | ||
protected function SetSourceObject(cIOSource $oSource) { | protected function SetSourceObject(cIOSource $oSource) { | ||
Line 15: | Line 15: | ||
</source> | </source> | ||
* '''file''': {{l/ferreteria/file|data/rows/sourced.php}} | * '''file''': {{l/ferreteria/file|data/rows/sourced.php}} | ||
* '''extends''': {{l/ferreteria/class| | * '''extends''': {{l/ferreteria/class|cFieldRow}} | ||
* '''extenders''': | * '''extenders''': | ||
** (A) '''{{l/ferreteria/class| | ** (A) '''{{l/ferreteria/class|cFieldRowStandard}}''' extends cFieldRow_sourced implements ifSingleKeyedRow | ||
** '''{{l/ferreteria/class|fcrDropInModule}}''' extends ferreteria\data\ | ** '''{{l/ferreteria/class|fcrDropInModule}}''' extends ferreteria\data\cFieldRow_sourced |
Revision as of 16:40, 30 December 2018
/*----
HISTORY:
2018-12-03 created to split off Source-related functionality, since cIORow_internal is explicitly not supposed to need one
*/
abstract class cFieldRow_sourced extends cFieldRow {
public function __construct(cIOSource $oSource) {
protected function SetSourceObject(cIOSource $oSource) {
public function GetSourceObject() : cIOSource {
protected function GetDatabase() { // alias for GetSourceObject()->GetDatabase()
// CEMENT: defer to Source object
public function GetFieldClassArray() {
}
- file: Template:L/ferreteria/file
- extends: Template:L/ferreteria/class
- extenders:
- (A) Template:L/ferreteria/class extends cFieldRow_sourced implements ifSingleKeyedRow
- Template:L/ferreteria/class extends ferreteria\data\cFieldRow_sourced