Ferreteria/v0.3/class/tDataDesign: Difference between revisions

From Woozle Writes Code
< 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 (improved template)
Line 1: Line 1:
{{page/code/class|ferreteria}}
{{page/code/class}}
<source lang=php>
<source lang=php>
trait tDataDesign {
trait tDataDesign {

Revision as of 12:31, 7 January 2019

Template:Page/code/class

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) {
}