Project

General

Profile

Bug #23754 ยป 16021_tcemain_visibility.patch

Administrator Admin, 2010-10-16 22:23

View differences:

t3lib/class.t3lib_tcemain.php (Arbeitskopie)
* @param object An alternative userobject you can set instead of the default, which is $GLOBALS['BE_USER']
* @return void
*/
function start($data,$cmd,$altUserObject='') {
public function start($data, $cmd, $altUserObject = '') {
// Initializing BE_USER
$this->BE_USER = is_object($altUserObject) ? $altUserObject : $GLOBALS['BE_USER'];
......
*
* @return void
*/
function process_datamap() {
public function process_datamap() {
global $TCA, $TYPO3_CONF_VARS;
// Keep versionized(!) relations here locally:
$registerDBList = array();
......
*
* @return void
*/
function process_cmdmap() {
public function process_cmdmap() {
global $TCA, $TYPO3_CONF_VARS;
// Editing frozen:
......
* @param string the cache command, see above description
* @return void
*/
public function clear_cacheCmd($cacheCmd) {
public function clear_cacheCmd($cacheCmd) {
global $TYPO3_CONF_VARS;
$this->BE_USER->writelog(3, 1, 0, 0, 'User %s has cleared the cache (cacheCmd=%s)', array($this->BE_USER->user['username'], $cacheCmd));
    (1-1/1)