Index: t3lib/class.t3lib_befunc.php =================================================================== --- t3lib/class.t3lib_befunc.php (revision 6296) +++ t3lib/class.t3lib_befunc.php (working copy) @@ -340,9 +340,11 @@ * @param array Array of fields * @param string Table in which we are searching (for DBAL detection of quoteStr() method) * @return string WHERE clause for search - * @deprecated since TYPO3 3.6 - Use $GLOBALS['TYPO3_DB']->searchQuery() directly! + * @deprecated since TYPO3 3.6, this function will be removed in TYPO3 4.4, use $GLOBALS['TYPO3_DB']->searchQuery() directly! */ public static function searchQuery($searchWords, $fields, $table = '') { + t3lib_div::logDeprecatedFunction(); + return $GLOBALS['TYPO3_DB']->searchQuery($searchWords, $fields, $table); } @@ -355,9 +357,11 @@ * @param string Table field name * @param string Value to find in list * @return string WHERE clause for a query - * @deprecated since TYPO3 3.6 - Use $GLOBALS['TYPO3_DB']->listQuery() directly! + * @deprecated since TYPO3 3.6, this function will be removed in TYPO3 4.4, use $GLOBALS['TYPO3_DB']->listQuery() directly! */ public static function listQuery($field, $value) { + t3lib_div::logDeprecatedFunction(); + return $GLOBALS['TYPO3_DB']->listQuery($field, $value, ''); } @@ -498,10 +502,12 @@ * @param string Optional ORDER BY field(s), if none, supply blank string. * @param string Optional LIMIT value ([begin,]max), if none, supply blank string. * @return string Full SQL query - * @deprecated since TYPO3 3.6 - Use $GLOBALS['TYPO3_DB']->exec_SELECT_mm_query() instead since that will return the result pointer while this returns the query. Using this function may make your application less fitted for DBAL later. + * @deprecated since TYPO3 3.6, this function will be removed in TYPO3 4.4, use $GLOBALS['TYPO3_DB']->exec_SELECT_mm_query() instead since that will return the result pointer while this returns the query. Using this function may make your application less fitted for DBAL later. * @see t3lib_DB::exec_SELECT_mm_query() */ public static function mm_query($select, $local_table, $mm_table, $foreign_table, $whereClause = '', $groupBy = '', $orderBy = '', $limit = '') { + t3lib_div::logDeprecatedFunction(); + $query = $GLOBALS['TYPO3_DB']->SELECTquery( $select, $local_table.','.$mm_table.($foreign_table?','.$foreign_table:''), @@ -521,9 +527,11 @@ * @param string Table name * @param array Field values as key=>value pairs. * @return string Full SQL query for INSERT - * @deprecated since TYPO3 3.6 + * @deprecated since TYPO3 3.6, this function will be removed in TYPO3 4.4, use $GLOBALS['TYPO3_DB']->exec_INSERTquery() directly! */ public static function DBcompileInsert($table, $fields_values) { + t3lib_div::logDeprecatedFunction(); + return $GLOBALS['TYPO3_DB']->INSERTquery($table, $fields_values); } @@ -535,9 +543,11 @@ * @param string WHERE clause, eg. "uid=1" * @param array Field values as key=>value pairs. * @return string Full SQL query for UPDATE - * @deprecated since TYPO3 3.6 + * @deprecated since TYPO3 3.6, this function will be removed in TYPO3 4.4, use $GLOBALS['TYPO3_DB']->exec_UPDATEquery() directly! */ public static function DBcompileUpdate($table, $where, $fields_values) { + t3lib_div::logDeprecatedFunction(); + return $GLOBALS['TYPO3_DB']->UPDATEquery($table, $where, $fields_values); } @@ -1704,9 +1714,11 @@ * @param string String to set as title-attribute. If no $content is given only the attribute name is returned. * @param boolean If $hsc is set, then content of the attribute is htmlspecialchar()'ed (which is good for XHTML and other reasons...) * @return string - * @deprecated since TYPO3 3.6 - The idea made sense with older browsers, but now all browsers should support the "title" attribute - so just hardcode the title attribute instead! + * @deprecated since TYPO3 3.6, this function will be removed in TYPO3 4.4 - The idea made sense with older browsers, but now all browsers should support the "title" attribute - so just hardcode the title attribute instead! */ public static function titleAttrib($content = '', $hsc = 0) { + t3lib_div::logDeprecatedFunction(); + global $CLIENT; $attrib= ($CLIENT['BROWSER']=='net'&&$CLIENT['VERSION']<5)||$CLIENT['BROWSER']=='konqu' ? 'alt' : 'title'; return strcmp($content, '')?' '.$attrib.'="'.($hsc?htmlspecialchars($content):$content).'"' : $attrib; @@ -2805,9 +2817,11 @@ * @return string HTML code (