Пример #1
0
	/**
	 * Get the processed value analog to t3lib_beFunc::getProcessedValue
	 * but take additional TSconfig values into account
	 *
	 * @param  $table
	 * @param  $typeField
	 * @param  $typeValue
	 * @return
	 */
	protected function getProcessedValue($table, $typeField, $typeValue) {
		$value =  t3lib_beFunc::getProcessedValue($table, $typeField, $typeValue);
		if (!$value) {
			$TSConfig = t3lib_beFunc::getPagesTSconfig($this->id);
			if (isset($TSConfig['TCEFORM.'][$table . '.'][$typeField . '.']['addItems.'][$typeValue])) {
				$value = $TSConfig['TCEFORM.'][$table . '.'][$typeField . '.']['addItems.'][$typeValue];
			}
		}

		return $value;
	}