Ferreteria/v0.3/class/tDataDesign: Difference between revisions
< Ferreteria | v0.3 | class
Jump to navigation
Jump to search
(Created page with "{{page/code/class|ferreteria}} <source lang=php> trait tDataDesign { // RETURNS: list of fields we expect to find abstract public function GetFieldClassArray(); //...") |
m (4 revisions imported: moving this project here) |
||
(3 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
{{page/code/class | {{page/code/class}} | ||
<source lang=php> | <source lang=php> | ||
trait tDataDesign { | trait tDataDesign { |
Latest revision as of 16:43, 22 May 2022
trait tDataDesign {
// RETURNS: list of fields we expect to find
abstract public function GetFieldClassArray();
// RETURNS: string representing class of the field named by $sKey
private $arClasses = NULL;
public function GetClass_forField($sKey) {
public function GetClass_default() {
protected function HandleMissingField($sKey) {
}
- file: Template:L/ferreteria/file
- replaces: Template:L/ferreteria/class
- used by: