Bug #21401 ยป 12394.diff
t3lib/class.t3lib_tceforms_inline.php (working copy) | ||
---|---|---|
* @param string $objectPrefix: The "path" to the child record to create (e.g. 'data-parentPageId-partenTable-parentUid-parentField-childTable')
|
||
* @param array $conf: TCA configuration of the parent(!) field
|
||
* @return string The HTML code for the new record link
|
||
* @deprecated since TYPO3 4.2.0-beta1
|
||
* @deprecated since TYPO3 4.2.0-beta1, this function will be removed in TYPO3 4.4.
|
||
*/
|
||
function getNewRecordLink($objectPrefix, $conf = array()) {
|
||
t3lib_div::logDeprecatedFunction();
|
||
return $this->getLevelInteractionLink('newRecord', $objectPrefix, $conf);
|
||
}
|
||
... | ... | |
* @param string $method: Name of the method to be called
|
||
* @param array $arguments: Arguments to be delivered to the method
|
||
* @return void
|
||
* @deprecated since TYPO3 4.2.0-alpha3
|
||
* @deprecated since TYPO3 4.2.0-alpha3, this function will be removed in TYPO3 4.4.
|
||
*/
|
||
function initForAJAX($method, &$arguments) {
|
||
t3lib_div::logDeprecatedFunction();
|
||
// Set t3lib_TCEforms::$RTEcounter to the given value:
|
||
if ($method == 'createNewRecord') {
|
||
$this->fObj->RTEcounter = intval(array_shift($arguments));
|
||
... | ... | |
}
|
||
// 'newRecordLinkPosition' is deprecated since TYPO3 4.2.0-beta1, this is for backward compatibility:
|
||
if (!isset($config['appearance']['levelLinksPosition']) && isset($config['appearance']['newRecordLinkPosition']) && $config['appearance']['newRecordLinkPosition']) {
|
||
t3lib_div::deprecationLog('TCA contains a deprecated definition using "newRecordLinkPosition"');
|
||
$config['appearance']['levelLinksPosition'] = $config['appearance']['newRecordLinkPosition'];
|
||
}
|
||
// Set the position/appearance of the "Create new record" link:
|
||
... | ... | |
* @deprecated Since TYPO3 4.2: Moved to t3lib_div::array2json, will be removed in TYPO3 4.4
|
||
*/
|
||
function getJSON($jsonArray) {
|
||
t3lib_div::logDeprecatedFunction();
|
||
return json_encode($jsonArray);
|
||
}
|
||