Inherits DataItem.
Definition at line 90 of file merge_code.inc.
◆ getHelp()
static MergeCodeHelp::getHelp |
( |
| ) |
|
|
static |
Definition at line 105 of file merge_code.inc.
109 $help->usage =
"To get a <b>field</b> in the sending class object, a merge code record is not needed; use '[field_name]' as the merge code";
110 $help->example =
"N/A";
114 $help->usage =
"To get a <b>field</b> in a <b>related</b> class object, enter the related class name as defined in the DataModel. Use the dot separator to link to the field name. The map does not allow links to relations of relations.";
115 $help->example =
"MyRelation.my_field";
119 $help->usage =
"To get a value from a <b>function</b> in the DataModel of the sending class, enter the function name.";
120 $help->example =
"myFunction";
124 $help->usage =
"To get a value from a <b>function</b> in a <b>related</b> class, enter the related class name as defined in the DataModel with a dot separator and function name. The map does not allow links to relations of relations.";
125 $help->example =
"MyRelation.myFunction";
129 $help->usage =
"To get a value from a <b>callback</b> function, the map must state the name of the function. The function must be available from the calling script. The callback function will receive the sending object as a parameter.";
130 $help->example =
"myCallbackFunction";
134 $help->usage =
"To get a value from a static <b>function</b> of a <b>non-DataItem</b> class, enter the class name, dot separator, and static function name. The class definition must be included in the calling script. The static function will receive the sending object as a parameter.";
135 $help->example =
"myClassName.myStaticFunction";
◆ MergeCodeHelp()
MergeCodeHelp::MergeCodeHelp |
( |
| ) |
|
Definition at line 98 of file merge_code.inc.
100 $this->table =
"merge_code";
101 $this->primary_key =
"help_id";
◆ $fields
Initial value:= array(
"help_id" => Number,
"usage" => String,
"example" => String
)
Definition at line 92 of file merge_code.inc.
The documentation for this class was generated from the following file: