Public Member Functions | |
| regItem ($table, $id, $field, $content) | |
| Register item function. | |
Public Attributes | |
| $formname = 'loadform' | |
| $loading = 1 | |
| $theRecord = Array() | |
|
||||||||||||||||||||
|
Register item function.
Reimplemented from t3lib_transferData. Definition at line 99 of file show_item.php. References $content, and table(). 00099 {
00100 t3lib_div::loadTCA($table);
00101 $config = $GLOBALS['TCA'][$table]['columns'][$field]['config'];
00102 switch($config['type']) {
00103 case 'input':
00104 if (isset($config['checkbox']) && $content==$config['checkbox']) {$content=''; break;}
00105 if (t3lib_div::inList($config['eval'],'date')) {$content = Date($GLOBALS['TYPO3_CONF_VARS']['SYS']['ddmmyy'],$content); }
00106 break;
00107 case 'group':
00108 break;
00109 case 'select':
00110 break;
00111 }
00112 $this->theRecord[$field]=$content;
00113 }
|
|
|
Definition at line 84 of file show_item.php. |
|
|
Definition at line 85 of file show_item.php. |
|
|
Definition at line 88 of file show_item.php. |
1.3.8-20040913