當前位置: 首頁>>代碼示例>>PHP>>正文


PHP t3lib_div::logDeprecatedFunction方法代碼示例

本文整理匯總了PHP中t3lib_div::logDeprecatedFunction方法的典型用法代碼示例。如果您正苦於以下問題:PHP t3lib_div::logDeprecatedFunction方法的具體用法?PHP t3lib_div::logDeprecatedFunction怎麽用?PHP t3lib_div::logDeprecatedFunction使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在t3lib_div的用法示例。


在下文中一共展示了t3lib_div::logDeprecatedFunction方法的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。

示例1: printPalette

    /**
     * Creates the HTML content for the palette
     * (Horizontally, for display in the top frame)
     * (Used if GET var "backRef" IS set)
     *
     * @deprecated since TYPO3 4.3, will be removed in TYPO3 4.6
     * @param	array		Array of information from which the fields are built.
     * @return	string		HTML output
     */
    function printPalette($palArr)
    {
        t3lib_div::logDeprecatedFunction();
        $out = '';
        // For each element on the palette, write a few table cells with the field name, content and control images:
        foreach ($palArr as $content) {
            $iRow[] = '
				<td>' . '<img name="req_' . $content['TABLE'] . '_' . $content['ID'] . '_' . $content['FIELD'] . '" class="c-reqIcon" src="clear.gif" width="10" height="10" alt="" />' . '<img name="cm_' . $content['TABLE'] . '_' . $content['ID'] . '_' . $content['FIELD'] . '" class="c-cmIcon" src="clear.gif" width="7" height="10" alt="" />' . '</td>
				<td class="c-label">' . $content['NAME'] . '&nbsp;' . '</td>
				<td class="c-csh">' . $content['ITEM'] . $content['HELP_ICON'] . '</td>';
        }
        // Finally, wrap it all in a table:
        $out = '



			<!--
				TCEforms palette, rendered in top frame.
			-->
			<table border="0" cellpadding="0" cellspacing="0" id="typo3-TCEforms-palette">
				<tr>
					<td class="c-close">' . '<a href="#" onclick="closePal();return false;">' . t3lib_iconWorks::getSpriteIcon('actions-document-close', array('title' => $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:labels.close', TRUE))) . '</a>' . '</td>' . implode('', $iRow) . '
				</tr>
			</table>

			';
        // Return the result:
        return $out;
    }
開發者ID:NaveedWebdeveloper,項目名稱:Test,代碼行數:38,代碼來源:alt_palette.php

示例2: getInstance

 /**
  * Retrieves the singleton instance of the factory.
  *
  * @deprecated 2014-08-28 Use t3lib_div::makeInstance instead
  *
  * @return Tx_Oelib_MailerFactory the singleton factory
  */
 public static function getInstance()
 {
     t3lib_div::logDeprecatedFunction();
     /** @var Tx_Oelib_MailerFactory $mailerFactory */
     $mailerFactory = t3lib_div::makeInstance('Tx_Oelib_MailerFactory');
     return $mailerFactory;
 }
開發者ID:Konafets,項目名稱:oelib,代碼行數:14,代碼來源:MailerFactory.php

示例3: getObject

 /**
  * Returns a fresh or existing instance of the object specified by $objectName.
  *
  * Important:
  *
  * If possible, instances of Prototype objects should always be created with the
  * Object Factory's create() method and Singleton objects should rather be
  * injected by some type of Dependency Injection.
  *
  * @param string $objectName The name of the object to return an instance of
  * @return object The object instance
  * @deprecated since Extbase 1.3.0; will be removed in Extbase 1.5.0. Please use Tx_Extbase_Object_ObjectManager instead
  */
 public function getObject($objectName)
 {
     t3lib_div::logDeprecatedFunction();
     $arguments = array_slice(func_get_args(), 1);
     if (in_array('t3lib_Singleton', class_implements($objectName))) {
         $object = $this->get($objectName, $arguments);
     } else {
         $object = $this->create($objectName, $arguments);
     }
     return $object;
 }
開發者ID:NaveedWebdeveloper,項目名稱:Test,代碼行數:24,代碼來源:Manager.php

示例4: fe_headerNoCache

 /**
  * Frontend hook: If the page is not being re-generated this is our chance to force it to be (because re-generation of the page is required in order to have the indexer called!)
  *
  * @param	array		Parameters from frontend
  * @param	object		TSFE object (reference under PHP5)
  * @return	void
  * @deprecated since TYPO3 4.3, this function will be removed in TYPO3 4.6, 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);
 }
開發者ID:NaveedWebdeveloper,項目名稱:Test,代碼行數:14,代碼來源:class.indexer.php

示例5: whereSelectFromList

 /**
  * Returns a part for a WHERE clause (without preceeding operator) which will select records based on the presence of a certain string in a string-list inside the record.
  * Example: If you have a record with a field, "usergroup" and that field might contain a list like "1,2,3" (with no spaces between the values) then you can select all records having eg. "2" in this list by calling this function. This is regardless of whether the number "2" is in the start, end or middle of the list - or the only value at all.
  *
  * @param	string		The field name to look in
  * @param	string		The value to look for.
  * @return	string
  * @deprecated since TYPO3 3.6, will be removed in TYPO3 4.6 - Use $GLOBALS['TYPO3_DB']->listQuery() directly!
  */
 function whereSelectFromList($field, $value)
 {
     t3lib_div::logDeprecatedFunction();
     return $GLOBALS['TYPO3_DB']->listQuery($field, $value, '');
 }
開發者ID:NaveedWebdeveloper,項目名稱:Test,代碼行數:14,代碼來源:class.tslib_content.php

示例6: fw

/**
 * Deprecated fontwrap function. Is just transparent now.
 *
 * @param	string		Input string
 * @return	string		Output string (in the old days this was wrapped in <font> tags)
 * @deprecated since TYPO3 3.6
 */
function fw($str)
{
    t3lib_div::logDeprecatedFunction();
    return $str;
}
開發者ID:zsolt-molnar,項目名稱:TYPO3-4.5-trunk,代碼行數:12,代碼來源:template.php

示例7: convertName

 /**
  * Converts a name field
  * Deprecated since TYPO3 4.0
  *
  * @param	string		$name: the name
  * @return	string		the name
  * @deprecated since TYPO3 4.0, will be removed in TYPO3 4.6
  */
 public function convertName($name)
 {
     t3lib_div::logDeprecatedFunction();
     return $name;
 }
開發者ID:NaveedWebdeveloper,項目名稱:Test,代碼行數:13,代碼來源:class.t3lib_htmlmail.php

示例8: getHiddenFields

 /**
  * Outputs an empty string. This function is obsolete and kept for the
  * compatibility only.
  *
  * @param	string	$unused	Unused
  * @return	string		HTML output
  * @deprecated since TYPO3 4.3, all the functionality was put in $this->startForm() and $this->addFields_hidden
  */
 function getHiddenFields($unused = '')
 {
     t3lib_div::logDeprecatedFunction();
     return '';
 }
開發者ID:zsolt-molnar,項目名稱:TYPO3-4.5-trunk,代碼行數:13,代碼來源:index.php

示例9: showItems

 /**
  * Start creation of result list
  *
  * @param string $content
  * @param array $items
  * @param tx_mklib_mod1_decorator_Base $decorator
  * @param tx_mklib_mod1_searcher_Base $callingClass
  * @param bool $bAddMiscColumns
  * @deprecated tx_mklib_mod1_searcher_abstractBase nutzen
  */
 public static function showItems(&$content, $items, tx_mklib_mod1_decorator_Base $decorator, tx_mklib_mod1_searcher_Base $callingClass, $columns, $bAddMiscColumns = true)
 {
     t3lib_div::logDeprecatedFunction();
     $funcId = $callingClass->getFuncId();
     //allgmeine Spalten hinzufügen
     if ($bAddMiscColumns) {
         self::addMiscColumns($columns, $decorator);
     }
     if ($items) {
         tx_rnbase::load('tx_rnbase_mod_Tables');
         $arr = tx_rnbase_mod_Tables::prepareTable($items, $columns, $callingClass->getFormTool(), $callingClass->getOptions());
         $out = $callingClass->getModule()->getDoc()->table($arr[0]);
     } else {
         $out = '<p><strong>###LABEL_NO_' . strtoupper($funcId) . '_FOUND###</strong></p><br/>';
     }
     $content .= $out;
 }
開發者ID:RocKordier,項目名稱:typo3-mklib,代碼行數:27,代碼來源:class.tx_mklib_mod1_util_SearchBuilder.php

示例10: getExtbaseFrameworkConfiguration

 /**
  * Returns the settings of Extbase
  *
  * @return array The configuration for the Extbase framework
  * @deprecated since Extbase 1.3.0; will be removed in Extbase 1.5.0
  */
 public static function getExtbaseFrameworkConfiguration()
 {
     t3lib_div::logDeprecatedFunction();
     return self::$configurationManager->getConfiguration(Tx_Extbase_Configuration_ConfigurationManagerInterface::CONFIGURATION_TYPE_FRAMEWORK);
 }
開發者ID:NaveedWebdeveloper,項目名稱:Test,代碼行數:11,代碼來源:Dispatcher.php

示例11: make_seed

 /**
  * Seeds the random number engine.
  *
  * @return	void
  * @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();
     list($usec, $sec) = explode(' ', microtime());
     $seedV = (double) $sec + (double) $usec * 100000;
     srand($seedV);
 }
開發者ID:zsolt-molnar,項目名稱:TYPO3-4.5-trunk,代碼行數:13,代碼來源:class.tslib_fe.php

示例12: getListOfBackendModules

 /**
  * Returns "list of backend modules". Most likely this will be obsolete soon / removed. Don't use.
  * Usage: 0
  *
  * @param	array		Module names in array. Must be "addslashes()"ed
  * @param	string		Perms clause for SQL query
  * @param	string		Backpath
  * @param	string		The URL/script to jump to (used in A tag)
  * @return	array		Two keys, rows and list
  * @internal
  * @deprecated since TYPO3 3.6, this function will be removed in TYPO3 4.6.
  * @obsolete
  */
 public static function getListOfBackendModules($name, $perms_clause, $backPath = '', $script = 'index.php')
 {
     t3lib_div::logDeprecatedFunction();
     $res = $GLOBALS['TYPO3_DB']->exec_SELECTquery('*', 'pages', 'doktype!=255 AND module IN (\'' . implode('\',\'', $name) . '\') AND' . $perms_clause . self::deleteClause('pages'));
     if (!$GLOBALS['TYPO3_DB']->sql_num_rows($res)) {
         return FALSE;
     }
     $out = '';
     $theRows = array();
     while ($row = $GLOBALS['TYPO3_DB']->sql_fetch_assoc($res)) {
         $theRows[] = $row;
         $out .= '<span class="nobr"><a href="' . htmlspecialchars($script . '?id=' . $row['uid']) . '">' . t3lib_iconWorks::getSpriteIconForRecord('pages', $row, array('title' => htmlspecialchars(self::getRecordPath($row['uid'], $perms_clause, 20)))) . htmlspecialchars($row['title']) . '</a></span><br />';
     }
     $GLOBALS['TYPO3_DB']->sql_free_result($res);
     return array('rows' => $theRows, 'list' => $out);
 }
開發者ID:NaveedWebdeveloper,項目名稱:Test,代碼行數:29,代碼來源:class.t3lib_befunc.php

示例13: stdWrap

 /**
  * Compatibility stdWrap wrapper.
  *
  * @param	string		$content The content to manipulate using stdWrap functions.
  * @param	array		$conf stdWrap configuration.
  * @deprecated since TYPO3 4.5, this function will be removed in TYPO3 4.7, use $this->cObj->stdWrap() instead.
  */
 public function stdWrap($content = '', $conf = array())
 {
     t3lib_div::logDeprecatedFunction();
     return $this->cObj->stdWrap($content, $conf);
 }
開發者ID:NaveedWebdeveloper,項目名稱:Test,代碼行數:12,代碼來源:class.tslib_content_abstract.php

示例14: getDynTabMenuJScode

 /**
  * Returns dynamic tab menu header JS code.
  * This is now incorporated automatically when the function template::getDynTabMenu is called
  * (as long as it is called before $this->startPage())
  * The return value is not needed anymore
  *
  * @deprecated since TYPO3 4.5, as the getDynTabMenu() function includes the function automatically since TYPO3 4.3
  * @return	string		JavaScript section for the HTML header. (return value is deprecated since TYPO3 4.3, will be removed in TYPO3 4.5)
  */
 function getDynTabMenuJScode()
 {
     t3lib_div::logDeprecatedFunction();
     $this->loadJavascriptLib('js/tabmenu.js');
     // return value deprecated since TYPO3 4.3
     return '';
 }
開發者ID:NaveedWebdeveloper,項目名稱:Test,代碼行數:16,代碼來源:template.php

示例15: getPrefixedMarkers

 /**
  * Gets a list of markers with a given prefix.
  * Example: If the prefix is "WRAPPER" (or "wrapper", case is not relevant),
  * the following array might be returned: ("WRAPPER_FOO", "WRAPPER_BAR")
  *
  * If there are no matches, an empty array is returned.
  *
  * @deprecated 2015-03-01
  *
  * @param string $prefix case-insensitive prefix for the marker names to look for
  *
  * @return string[] matching marker names, might be empty
  */
 public function getPrefixedMarkers($prefix)
 {
     t3lib_div::logDeprecatedFunction();
     $upperCasePrefix = strtoupper($prefix) . '_';
     $result = array();
     foreach ($this->markerNames as $marker) {
         if (strpos($marker, $upperCasePrefix) === 0) {
             $result[] = $marker;
         }
     }
     return $result;
 }
開發者ID:Konafets,項目名稱:oelib,代碼行數:25,代碼來源:Template.php


注:本文中的t3lib_div::logDeprecatedFunction方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。