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

datatable.ini [DataTableSettings]

The settings of [DataTableSettings] in datatable.ini: CatalogueCacheDir, IgnoreClasses, InferRelations, ContentTabInferred, MongoSampleSize

Download as PDF

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

On this page

datatable.ini [DataTableSettings]

The block [DataTableSettings] of settings/datatable.ini, with 5 setting(s).

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

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

CatalogueCacheDir

Where the catalogue of persistent classes is kept between requests, below the cache directory. It is rebuilt when
the autoload arrays change.

Default: datatable.

<?php /* #?ini charset="utf-8"?
# settings/override/datatable.ini.append.php
[DataTableSettings]
CatalogueCacheDir=datatable
*/ ?>

IgnoreClasses

The persistent classes the catalogue leaves out (class names), e.g. a class whose definition() needs a request.

Default: an empty list.

<?php /* #?ini charset="utf-8"?
# settings/override/datatable.ini.append.php
[DataTableSettings]
# an empty "IgnoreClasses[]" first replaces the shipped list; without it the items are added
IgnoreClasses[]
*/ ?>

InferRelations

Relations inferred from column names (contentobject_id, node_id, ...) when a definition states none:
enabled (shown as "inferred") or disabled

Default: enabled.

<?php /* #?ini charset="utf-8"?
# settings/override/datatable.ini.append.php
[DataTableSettings]
InferRelations=enabled
*/ ?>

ContentTabInferred

The "Data tables" tab of the content view lists the rows of extensions' tables that point at the node or its object
through a declared relation ('relations' of the definition, a foreign_class, a [Relation_*] block). enabled also asks
the relations inferred from column names (one query more per relation and node view).

Default: disabled.

<?php /* #?ini charset="utf-8"?
# settings/override/datatable.ini.append.php
[DataTableSettings]
ContentTabInferred=disabled
*/ ?>

MongoSampleSize

Rows the describe page reads to work out the fields of a MongoDB collection

Default: 50.

<?php /* #?ini charset="utf-8"?
# settings/override/datatable.ini.append.php
[DataTableSettings]
MongoSampleSize=50
*/ ?>

Generated by ./console exp:help:examples from settings/datatable.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