Project

General

Profile

Bug #21413 » 12420.diff

Administrator Admin, 2009-11-01 09:17

View differences:

typo3/mod/tools/em/class.nusoap.php (working copy)
*
* @var array
* @access public
* @deprecated
* @deprecated since at least TYPO3 4.3, will be removed in TYPO3 4.5.
* @see expandEntities
*/
var $xmlEntities = array('quot' => '"','amp' => '&',
......
* @param string $str The string to format
* @return string The formatted string
* @access public
* @deprecated
* @deprecated since at least TYPO3 4.3, will be removed in TYPO3 4.5
*/
function formatDump($str){
t3lib_div::logDeprecatedFunction();
$str = htmlspecialchars($str);
return nl2br($str);
}
......
*
* @param string $usec the number of microseconds to sleep
* @access public
* @deprecated
* @deprecated since at least TYPO3 4.3, will be removed in TYPO3 4.5.
*/
function usleepWindows($usec)
{
t3lib_div::logDeprecatedFunction();
$start = gettimeofday();
do
......
* @param string $ns, namespace of type
* @return mixed
* @access public
* @deprecated
* @deprecated since at least TYPO3 4.3, will be removed in TYPO3 4.5.
*/
function getPHPType($type,$ns){
t3lib_div::logDeprecatedFunction();
if(isset($this->typemap[$ns][$type])){
//print "found type '$type' and ns $ns in typemap<br>";
return $this->typemap[$ns][$type];
......
* @param string $type, name of type
* @return mixed
* @access public
* @deprecated
* @deprecated since at least TYPO3 4.3, will be removed in TYPO3 4.5.
*/
function serializeTypeDef($type){
t3lib_div::logDeprecatedFunction();
//print "in sTD() for type $type<br>";
if($typeDef = $this->getTypeDef($type)){
$str .= '<'.$type;
......
* @param string $type, name of type
* @return string
* @access public
* @deprecated
* @deprecated since at least TYPO3 4.3, will be removed in TYPO3 4.5.
*/
function typeToForm($name,$type){
t3lib_div::logDeprecatedFunction();
// get typedef
if($typeDef = $this->getTypeDef($type)){
// if struct
......
* @param string $lb
* @returns string
* @access public
* @deprecated
* @deprecated since at least TYPO3 4.3, will be removed in TYPO3 4.5.
*/
function decodeChunked($buffer, $lb){
t3lib_div::logDeprecatedFunction();
// length := 0
$length = 0;
$new = '';
......
* @param mixed $ param value
* @return mixed new param or false if initial value didn't validate
* @access public
* @deprecated
* @deprecated since at least TYPO3 4.3, will be removed in TYPO3 4.5.
*/
function serializeParameters($operation, $direction, $parameters)
{
t3lib_div::logDeprecatedFunction();
$this->debug("in serializeParameters: operation=$operation, direction=$direction, XMLSchemaVersion=$this->XMLSchemaVersion");
$this->appendDebug('parameters=' . $this->varDump($parameters));
......
*
* @return boolean
* @access public
* @deprecated
* @deprecated since at least TYPO3 4.3, will be removed in TYPO3 4.5.
*/
function getDefaultRpcParams() {
t3lib_div::logDeprecatedFunction();
return $this->defaultRpcParams;
}
......
*
* @param boolean $rpcParams
* @access public
* @deprecated
* @deprecated since at least TYPO3 4.3, will be removed in TYPO3 4.5.
*/
function setDefaultRpcParams($rpcParams) {
t3lib_div::logDeprecatedFunction();
$this->defaultRpcParams = $rpcParams;
}
typo3/sysext/indexed_search/class.indexer.php (working copy)
*
* @param array Array of content to index, see splitHTMLContent() and splitRegularContent()
* @return array Content input array modified so each key is not a unique array of words
* @deprecated since TYPO3 4.0
* @deprecated since TYPO3 4.0, this function will be removed in TYPO3 4.5.
*/
function procesWordsInArrays($contentArr) {
t3lib_div::logDeprecatedFunction();
return $this->processWordsInArrays($contentArr);
}
......
*
* @param array Array of GET parameters to encode
* @return void
* @deprecated since TYPO3 4.3 - use directly t3lib_div::calculateCHash()
* @deprecated since TYPO3 4.3, this function will be removed in TYPO3 4.5, use directly t3lib_div::calculateCHash()
*/
function makeCHash($paramArray) {
t3lib_div::logDeprecatedFunction();
$addQueryParams = t3lib_div::implodeArrayForUrl('', $paramArray);
$pA = t3lib_div::cHashParams($addQueryParams);
......
* @param array Parameters from frontend
* @param object TSFE object (reference under PHP5)
* @return void
* @deprecated since TYPO3 4.3 - the method was extracted to hooks/class.tx_indexedsearch_tslib_fe_hook.php
* @deprecated since TYPO3 4.3, this function will be removed in TYPO3 4.5, the method was extracted to hooks/class.tx_indexedsearch_tslib_fe_hook.php
*/
function fe_headerNoCache(&$params, $ref) {
t3lib_div::logDeprecatedFunction();
require_once t3lib_extMgm::extPath('indexed_search') . 'hooks/class.tx_indexedsearch_tslib_fe_hook.php';
t3lib_div::makeInstance('tx_indexedsearch_tslib_fe_hook')->headerNoCache($params, $ref);
}
t3lib/class.t3lib_tceforms.php (working copy)
* @param string The string which - if empty - will become the no-title string.
* @param array Array with wrappin parts for the no-title output (in keys [0]/[1])
* @return string
* @deprecated since TYPO3 4.1
* @deprecated since TYPO3 4.1, this function will be removed in TYPO3 4.5.
*/
function noTitle($str,$wrapParts=array()) {
t3lib_div::logDeprecatedFunction();
return strcmp($str,'') ? $str : $wrapParts[0].'['.$GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:labels.no_title').']'.$wrapParts[1];
}
t3lib/class.t3lib_timetrack.php (working copy)
* Returns the current time in milliseconds
*
* @return integer
* @deprecated since TYPO3 4.3 - use getDifferenceToStarttime() instead
* @deprecated since TYPO3 4.3, this function will be removed in TYPO3 4.5, use getDifferenceToStarttime() instead
*/
protected function mtime() {
t3lib_div::logDeprecatedFunction();
return $this->getDifferenceToStarttime();
}
......
*
* @param string PHP microtime string
* @return integer
* @deprecated since TYPO3 4.3 - use getMilliseconds() instead that expects microtime as float instead of a string
* @deprecated since TYPO3 4.3, this function will be removed in TYPO3 4.5, use getMilliseconds() instead that expects microtime as float instead of a string
*/
public function convertMicrotime($microtime) {
t3lib_div::logDeprecatedFunction();
t3lib/class.t3lib_tstemplate.php (working copy)
* @param string Property name in the menu array
* @param array Menu array to traverse
* @return array Modified menu array
* @deprecated since TYPO3 3.6
* @deprecated since TYPO3 3.6, this function will be removed in TYPO3 4.5.
* @internal
*/
function checkFile($name,$menuArr) {
t3lib_div::logDeprecatedFunction();
reset ($menuArr);
while (list($aKey,)=each($menuArr)) {
$menuArr[$aKey][$name] = $this->getFileName($menuArr[$aKey][$name]);
t3lib/class.t3lib_userauth.php (working copy)
* Redirect to somewhere (obsolete).
*
* @return void
* @deprecated since TYPO3 3.6
* @deprecated since TYPO3 3.6, this function will be removed in TYPO3 4.5.
* @obsolete
* @ignore
*/
function redirect() {
t3lib_div::logDeprecatedFunction();
if (!$this->userid && $this->auth_url) { // if no userid AND an include-document for login is given
include ($this->auth_include);
exit;
typo3/sysext/cms/tslib/class.tslib_adminpanel.php (working copy)
// Hook for post processing the frontend admin configuration. Added with TYPO3 4.2, so naming is now incorrect but preserves compatibility.
// @deprecated since TYPO3 4.3
if (is_array($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tsfebeuserauth.php']['extSaveFeAdminConfig-postProc'])) {
t3lib_div::deprecationLog('Frontend admin post processing hook extSaveFeAdminConfig-postProc is deprecated since TYPO3 4.3.');
$_params = array('input' => &$input, 'pObj' => &$this);
foreach ($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tsfebeuserauth.php']['extSaveFeAdminConfig-postProc'] as $_funcRef) {
t3lib_div::callUserFunction($_funcRef, $_params, $this);
......
// Hook for post processing the frontend admin configuration. Added with TYPO3 4.2, so naming is now incorrect but preserves compatibility.
// @deprecated since TYPO3 4.3
if (is_array($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tsfebeuserauth.php']['extEditAction-postProc'])) {
t3lib_div::deprecationLog('Frontend admin post processing hook extEditAction-postProc is deprecated since TYPO3 4.3.');
$_params = array('cmd' => &$cmd, 'tce' => &$this->tce, 'pObj' => &$this);
foreach ($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tsfebeuserauth.php']['extEditAction-postProc'] as $_funcRef) {
t3lib_div::callUserFunction($_funcRef, $_params, $this);
typo3/sysext/cms/tslib/class.tslib_fe.php (working copy)
* May exit after outputting an error message or some JavaScript redirecting to the install tool.
*
* @return void
* @deprecated since TYPO3 3.8 - Use connectToDB() instead!
* @deprecated since TYPO3 3.8, this function will be removed in TYPO3 4.5, use connectToDB() instead!
*/
function connectToMySQL() {
t3lib_div::logDeprecatedFunction();
$this->connectToDB();
}
......
* @deprecated since TYPO3 4.3, will be removed in TYPO3 4.5, please use the "simulatestatic" sysext directly
*/
function idPartsAnalyze($str) {
t3lib_div::logDeprecatedFunction();
$GET_VARS = '';
switch(substr($str,0,2)) {
case 'B6':
......
* @deprecated since TYPO3 4.3, will be removed in TYPO3 4.5, please use the "simulatestatic" sysext directly
*/
function makeSimulFileName($inTitle, $page, $type, $addParams = '', $no_cache = false) {
t3lib_div::logDeprecatedFunction();
if (t3lib_extMgm::isLoaded('simulatestatic')) {
$parameters = array(
'inTitle' => $inTitle,
......
* @deprecated since TYPO3 4.3, will be removed in TYPO3 4.5, please use the "simulatestatic" sysext directly
*/
function simulateStaticDocuments_pEnc_onlyP_proc($linkVars) {
t3lib_div::logDeprecatedFunction();
if (t3lib_extMgm::isLoaded('simulatestatic')) {
return t3lib_div::callUserFunction(
'EXT:simulatestatic/class.tx_simulatestatic.php:&tx_simulatestatic->processEncodedQueryString',
......
* @deprecated since TYPO3 4.3, will be removed in TYPO3 4.5, please use the "simulatestatic" sysext directly
*/
function getSimulFileName() {
t3lib_div::logDeprecatedFunction();
return $this->makeSimulFileName(
$this->page['title'],
($this->page['alias'] ? $this->page['alias'] : $this->id),
......
* @deprecated since TYPO3 4.3, will be removed in TYPO3 4.5, please use the "simulatestatic" sysext directly
*/
function setSimulReplacementChar() {
t3lib_div::logDeprecatedFunction();
$replacement = $defChar = t3lib_div::compat_version('4.0') ? '-' : '_';
if (isset($this->config['config']['simulateStaticDocuments_replacementChar'])) {
$replacement = trim($this->config['config']['simulateStaticDocuments_replacementChar']);
......
* @deprecated since TYPO3, 4.3, will be removed in TYPO3 4.5, please use the "simulatestatic" sysext directly
*/
function fileNameASCIIPrefix($inTitle,$titleChars,$mergeChar='.') {
t3lib_div::logDeprecatedFunction();
$out = $this->csConvObj->specCharsToASCII($this->renderCharset, $inTitle);
// Get replacement character
$replacementChar = $this->config['config']['simulateStaticDocuments_replacementChar'];
......
* Seeds the random number engine.
*
* @return void
* @deprecated since TYPO3 4.3 - the random number generator is seeded automatically since PHP 4.2.0
* @deprecated since TYPO3 4.3, this function will be removed in TYPO3 4.5, the random number generator is seeded automatically since PHP 4.2.0
*/
function make_seed() {
t3lib_div::logDeprecatedFunction();
typo3/sysext/cms/tslib/class.tslib_menu.php (working copy)
* @param array TypoScript parameters for "special.". In particular the property "file" is reserved and specifies the file to include. Seems like any other property can be used freely by the script.
* @param string The sorting field. Can be used from the script in the $incFile.
* @return array An array with the menu items
* @deprecated since TYPO3 3.6 - use HMENU of type "userfunction" instead of "userdefined"
* @deprecated since TYPO3 3.6, this function will be removed in TYPO3 4.5, use HMENU of type "userfunction" instead of "userdefined"
* @access private
*/
function includeMakeMenu($conf,$altSortField) {
t3lib_div::logDeprecatedFunction();
$incFile = $GLOBALS['TSFE']->tmpl->getFileName($conf['file']);
if ($incFile && $GLOBALS['TSFE']->checkFileInclude($incFile)) {
include($incFile);
typo3/sysext/cms/tslib/class.tslib_pibase.php (working copy)
* @param string $data: CSS data
* @param string If $selector is set to any CSS selector, eg 'P' or 'H1' or 'TABLE' then the style $data will regard those HTML-elements only
* @return void
* @deprecated since TYPO3 3.6 - I think this function should not be used (and probably isn't used anywhere). It was a part of a concept which was left behind quite quickly.
* @deprecated since TYPO3 3.6, this function will be removed in TYPO3 4.5, I think this function should not be used (and probably isn't used anywhere). It was a part of a concept which was left behind quite quickly.
* @obsolete
* @private
*/
function pi_setClassStyle($class,$data,$selector='') {
t3lib_div::logDeprecatedFunction();
$GLOBALS['TSFE']->setCSS($this->pi_getClassName($class).($selector?' '.$selector:''),'.'.$this->pi_getClassName($class).($selector?' '.$selector:'').' {'.$data.'}');
}
......
* @param boolean If set, the function will return the query not as a string but array with the various parts.
* @return mixed The query build.
* @access private
* @deprecated since TYPO3 3.6 - Use pi_exec_query() instead!
* @deprecated since TYPO3 3.6, this function will be removed in TYPO3 4.5, use pi_exec_query() instead!
*/
function pi_list_query($table,$count=0,$addWhere='',$mm_cat='',$groupBy='',$orderBy='',$query='',$returnQueryArray=FALSE) {
(1-1/2)