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

codetemplate.ini [Files]

The settings of [Files] in codetemplate.ini: Templates, PHPFiles

Download as PDF

Address: https://doc.exponential.earth/learninminutes/exphelp/viewer/examples/ini-settings/codetemplate/Files.md

On this page

codetemplate.ini [Files]

The block [Files] of settings/codetemplate.ini, with 2 setting(s).

Never edit settings/codetemplate.ini itself: an update replaces it. Put the settings you change in an override, which wins over the shipped file:

  • settings/override/codetemplate.ini.append.php for every siteaccess,
  • settings/siteaccess/<siteaccess>/codetemplate.ini.append.php for one siteaccess,
  • extension/<extension>/settings/codetemplate.ini.append.php in an extension (read when the extension is active).

Templates

Default: a hash of 2: can-instantiate-class-list=templates/classcreatelist.ctpl, class-list-from-policy=templates/classlistfrompolicy.ctpl.

<?php /* #?ini charset="utf-8"?
# settings/override/codetemplate.ini.append.php
[Files]
# an empty "Templates[]" first replaces the shipped list; without it the items are added
Templates[]
Templates[can-instantiate-class-list]=templates/classcreatelist.ctpl
Templates[class-list-from-policy]=templates/classlistfrompolicy.ctpl
*/ ?>

PHPFiles

Default: a list of 3: kernel/classes/ezcontentclass.php, kernel/classes/ezcontentobject.php, kernel/classes/ezcontentobjecttreenode.php.

<?php /* #?ini charset="utf-8"?
# settings/override/codetemplate.ini.append.php
[Files]
# an empty "PHPFiles[]" first replaces the shipped list; without it the items are added
PHPFiles[]
PHPFiles[]=kernel/classes/ezcontentclass.php
PHPFiles[]=kernel/classes/ezcontentobject.php
PHPFiles[]=kernel/classes/ezcontentobjecttreenode.php
*/ ?>

Generated by ./console exp:help:examples from settings/codetemplate.ini. Do not edit this page: change the source and generate again (how). Free documentation: GFDL 1.3 or later.

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