Kajona\System\System\TemplateMapper

The templatemapper takes an object and scans it for various properties marked to be exported into a template.

May be used by modules to map objects to templates without any hassle.

Synopsis

class TemplateMapper {
  • // constants
  • const STR_ANNOTATION_TEMPLATEEXPORT = "@templateExport";
  • const STR_ANNOTATION_TEMPLATEMAPPER = "@templateMapper";
}

Constants

Name Value
STR_ANNOTATION_TEMPLATEEXPORT "@templateExport"
STR_ANNOTATION_TEMPLATEMAPPER "@templateMapper"

Members

private

  • $arrMapping
  • $objObject
    @var Root

Methods

private

public