Core API

4.2.12. ['columns'][fieldname]['config'] / TYPE: "passthrough"

Can be saved/updated through TCE but the value is not evaluated in any way and the field has no rendering in the TCEforms.

You can use this to send values directly to the database fields without any automatic evaluation. But still the update gets logged and the history/undo function will work with such values.

Since there is no rendering mode for this field type it is specifically fitted for direct API usage with the TCEmain class.

Key

Datatype

Description

type

string

[Must be set to "passthrough"]

 

Now follows a codelisting as example:

Example:

This field is found in a number of table, eg. the "pages" table. It is apparently used by the extension "impexp" to store some information.

           'tx_impexp_origuid' => Array('config'=>array('type'=>'passthrough')),
Example:

In this example the extension "direct_mail" is adding some fields to the "tt_address" table but the fields are not editable through TCEforms, just able to manipulate through TCE directly.

      // tt_address modified
  t3lib_div::loadTCA('tt_address');
  t3lib_extMgm::addTCAcolumns('tt_address',array(
           'module_sys_dmail_category' => Array('config'=>array('type'=>'passthrough')),
          'module_sys_dmail_html' => Array('config'=>array('type'=>'passthrough'))
  ));

To top


Valid XHTML 1.0!