Skip to the content
Documentation
Help Start
Reading in:
  • German: 9,059 of 9,059 pages
About the help in other languages
All help pages

Content model for agencies

Shipped Exponential classes that fit an agency site and recipes for Guidance, Enforcement notice and Program classes, with effective dates, change notes and a status kept as an object state.

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/help/government/levels/agencies/content-model.md

On this page

Content model for agencies

This page is for website creators and project managers who design the classes of a regulator, inspectorate or executive agency site. Agencies need guidance that is dated, versioned and labeled with its status. The classes and datatypes named exist in Exponential (sevenx_classes, kernel/classes/datatypes/, extensions named); the class editor is in Content classes for websites.

Contents

  1. Shipped classes that fit
  2. Class to add: Guidance
  3. Status as an object state
  4. Class to add: Enforcement notice
  5. Class to add: Program
  6. Notes

Shipped classes that fit

ClassIdentifierUse
Folderfolderaudience entry points, topics
Articlearticlenews, warnings, explanations
Documentation pagedocumentation_pagemulti-level handbooks (container)
Filefilereports, data exports, forms
Eventeventwebinars, information sessions
Feedback formfeedback_formcontact, complaints entry
Linklinkthe register search, the online portal

Class to add: Guidance

AttributeIdentifierDatatypeWhy
TitletitleText line (ezstring)
ReferencereferenceText linethe citable code of the guidance
In shortsummaryText block (eztext)who it applies to and what it requires
BodybodyXML block (ezxmltext)
Effective fromeffective_fromDate (ezdate)when it applies, which is not the publish time
Change notechange_noteText blockwhat changed in this version, shown on the page
Applies toapplies_toTags (eztags)sectors or kinds of regulated party
ReplacesreplacesObject relation (ezobjectrelation)the earlier guidance it supersedes
DocumentsdocumentsObject relations (ezobjectrelationlist)annexes, forms

The Change note is written for every new version. With the version history it gives a clear trail: the page says what changed, and the versions page shows exactly how (Versions of an object).

Status as an object state

A status such as In force, Superseded, Withdrawn fits an object state group better than an attribute:

  • create a group guidance_status with the states in Setup > States (Object states);
  • the first state is the default for new objects;
  • templates show the state on the page and in lists;
  • roles can limit who may set Withdrawn with the NewState limitation of state/assign;
  • changing a state does not create a new version, so the published text stays exactly as it was.

Class to add: Enforcement notice

AttributeIdentifierDatatypeWhy
TitletitleText line
PartypartyText linethe organization, as your publication policy allows
Decision datedecision_dateDate
TypetypeSelection (ezselection)warning, fine, license condition ...
SummarysummaryXML block
Decision documentdocumentFile (ezbinaryfile)redacted as required
Publish untilhide_dateDate and time (ezdatetime)used by hide.php if notices are shown for a limited period

Notices published for a limited period can be hidden automatically: name the class and attribute in content.ini [HideSettings] HideDateAttributeList[] and the folder in RootNodeList[]; the hide.php cronjob does the rest (Cronjobs).

Class to add: Program

AttributeIdentifierDatatype
TitletitleText line
ObjectiveobjectiveXML block
Who can applyeligibilityXML block
Opens, closesopens, closesDate and time
Applyapplication_urlURL (ezurl)
DocumentsdocumentsObject relations
ResultsresultsXML block

Notes

RuleReason
Effective date separate from publish dateguidance may be published before it applies
Never overwrite guidance silentlythe change note and versions keep it traceable
Raise the version history limit for guidance if every version must be keptDefaultVersionHistoryLimit is 45 in the shipped settings/content.ini; VersionHistoryClass[<class id>] sets a limit for one class (Content model and editing)
Names of people in enforcement notices only where the law requiresdata minimization

Become an Exponential Partner

Partners share their information, provide funding, contribute back and develop the products with us, and that is how Exponential grows. A partner website and dashboard are planned for mid-2027: please become a partner today to speed up our growth rate and land new features faster.

Something wrong on this page? Report an error

Documentation license

This documentation is free documentation, licensed under the GNU Free Documentation License 1.3 or later.

Exponential Copyright © 1998-2026 Exponential Foundation and 7x