Feature #18265 » 20080220_feedit_hook.diff

Administrator Admin, 2008-02-21 00:21

View differences:

t3lib/class.t3lib_tsfebeuserauth.php (working copy)
832 832
		if ($this->extGetFeAdminValue('cache','noCache'))	{
833 833
			$GLOBALS['TSFE']->set_no_cache();
834 834
		}
835
		
836
			// Hook for post processing the frontend admin configuration.
837
		if (is_array($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tsfebeuserauth.php']['extSaveFeAdminConfig-postProc'])) {
838
			$_params = array('input' => &$input, 'pObj' => &$this);
839
			foreach ($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tsfebeuserauth.php']['extSaveFeAdminConfig-postProc'] as $_funcRef) {
840
				t3lib_div::callUserFunction($_funcRef,$_params,$this);
841
			}
842
		}
835 843
	}
836 844

  
837 845
	/**
......
874 882
			if ($this->extIsAdmMenuOpen($pre)) {	// See if the menu is expanded!
875 883
				return $retVal;
876 884
			}
885
			
886
				// Hook for post processing the frontend editing action.
887
			if (is_array($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tsfebeuserauth.php']['extEditAction-postProc'])) {
888
				$_params = array('cmd' => &$cmd, 'tce' => &$tce, 'pObj' => &$this);
889
				foreach ($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tsfebeuserauth.php']['extEditAction-postProc'] as $_funcRef) {
890
					t3lib_div::callUserFunction($_funcRef,$_params,$this);
891
				}
892
			}
877 893
		}
878 894
	}
879 895

  
(1-1/2)