Signed-off-by: Roland Häder <roland@mxchange.org>
if (isset($fieldArray[$fieldName])) {
// Get it
$fieldValue = $fieldArray[$fieldName];
+ } elseif (defined('DEVELOPER')) {
+ // Missing field entry, may require debugging
+ self::createDebugInstance(__CLASS__)->debugOutput('[' . __METHOD__ . ':' . __LINE__ . ']:fieldArray<pre>=' . print_r($fieldArray, TRUE) . '</pre>,fieldName=' . $fieldName . ' not found!');
} else {
// Missing field entry, may require debugging
self::createDebugInstance(__CLASS__)->debugOutput('[' . __METHOD__ . ':' . __LINE__ . ']:fieldName=' . $fieldName . ' not found!');
*/
public function transferContentToTemplateEngine (CompileableTemplate $templateInstance) {
// Assign menu content to variable
- $templateInstance->assignVariable('menu_content', $this->getTemplateInstance()->getMenuContent());
+ $templateInstance->assignVariable('menu', $this->getTemplateInstance()->getMenuContent());
//* DEBUG */ $templateInstance->debugInstance();
}
}