当前位置: 首页>>代码示例>>PHP>>正文


PHP icms_core_Debug::setDeprecated方法代码示例

本文整理汇总了PHP中icms_core_Debug::setDeprecated方法的典型用法代码示例。如果您正苦于以下问题:PHP icms_core_Debug::setDeprecated方法的具体用法?PHP icms_core_Debug::setDeprecated怎么用?PHP icms_core_Debug::setDeprecated使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在icms_core_Debug的用法示例。


在下文中一共展示了icms_core_Debug::setDeprecated方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: xoopsSmilies

/**
 * @deprecated	This is not used anywhere in the core
 * @todo		Remove after 2.0
 * Displays smilie image buttons used to insert smilie codes to a target textarea in a form
 * $textarea_id is a unique of the target textarea
 */
function xoopsSmilies($textarea_id)
{
    icms_core_Debug::setDeprecated('icms_form_elements_Dhtmltextarea.', sprintf(_CORE_REMOVE_IN_VERSION, '2.0'));
    $smiles =& icms_core_DataFilter::getSmileys();
    if (empty($smileys)) {
        if ($result = icms::$xoopsDB->query("SELECT * FROM " . icms::$xoopsDB->prefix('smiles') . " WHERE display='1'")) {
            while ($smiles = icms::$xoopsDB->fetchArray($result)) {
                //hack smilies move for the smilies !!
                echo "<img src='" . ICMS_UPLOAD_URL . "/" . htmlspecialchars($smiles['smile_url']) . "' border='0' onmouseover='style.cursor=\"hand\"' alt='' onclick='xoopsCodeSmilie(\"" . $textarea_id . "_tarea\", \" " . $smiles['code'] . " \");' />";
                //fin du hack
            }
        }
    } else {
        $count = count($smiles);
        for ($i = 0; $i < $count; $i++) {
            if ($smiles[$i]['display'] == 1) {
                //hack bis
                echo "<img src='" . ICMS_UPLOAD_URL . "/" . icms_core_DataFilter::htmlSpecialChars($smiles['smile_url']) . "' border='0' alt='' onclick='xoopsCodeSmilie(\"" . $textarea_id . "_tarea\", \" " . $smiles[$i]['code'] . " \");' onmouseover='style.cursor=\"hand\"' />";
                //fin du hack
            }
        }
    }
    //hack for more
    echo "&nbsp;[<a href='#moresmiley' onmouseover='style.cursor=\"hand\"' alt='' onclick='openWithSelfMain(\"" . ICMS_URL . "/misc.php?action=showpopups&amp;type=smilies&amp;target=" . $textarea_id . "_tarea\",\"smilies\",300,475);'>" . _MORE . "</a>]";
}
开发者ID:nao-pon,项目名称:impresscms,代码行数:31,代码来源:xoopscodes.php

示例2: icms_core_Versionchecker

 /**
  * Access the only instance of this class
  *
  * @static
  * @staticvar object
  *
  * @return	object
  *
  */
 public static function &getInstance()
 {
     static $instance;
     if (!isset($instance)) {
         $instance = new icms_core_Versionchecker();
     }
     $self->_deprecated = icms_core_Debug::setDeprecated('icms_core_Versionchecker', sprintf(_CORE_REMOVE_IN_VERSION, '1.4'));
     return $instance;
 }
开发者ID:nao-pon,项目名称:impresscms,代码行数:18,代码来源:icmsversionchecker.php

示例3: XoopsCommentRenderer

 /**
  * Access the only instance of this class
  *
  * @param   object  $tpl        reference to a {@link Smarty} object
  * @param   boolean $use_icons
  * @param   boolean $do_iconcheck
  * @return
  **/
 static function &instance(&$tpl, $use_icons = true, $do_iconcheck = false)
 {
     $class = new XoopsCommentRenderer();
     $class->_deprecated = icms_core_Debug::setDeprecated('icms_data_comment_Renderer', sprintf(_CORE_REMOVE_IN_VERSION, '1.4'));
     static $instance;
     if (!isset($instance)) {
         $instance = new icms_data_comment_Renderer($tpl, $use_icons, $do_iconcheck);
     }
     return $instance;
 }
开发者ID:LeeGlendenning,项目名称:formulize,代码行数:18,代码来源:commentrenderer.php

示例4: __construct

 public function __construct($title, $name, $action, $method = "post", $addtoken = false)
 {
     parent::__construct($title, $name, $action, $method, $addtoken);
     $this->_deprecated = icms_core_Debug::setDeprecated('icms_form_Simple', sprintf(_CORE_REMOVE_IN_VERSION, '1.4'));
 }
开发者ID:LeeGlendenning,项目名称:formulize,代码行数:5,代码来源:simpleform.php

示例5: __construct

 public function __construct()
 {
     icms_core_Debug::setDeprecated('icms_core_Debug', sprintf(_CORE_REMOVE_IN_VERSION, '1.4'));
 }
开发者ID:LeeGlendenning,项目名称:formulize,代码行数:4,代码来源:module.errorhandler.php

示例6: user_viewoid

 function user_viewoid()
 {
     icms_core_Debug::setDeprecated('$this->getVar("user_viewoid")', sprintf(_CORE_REMOVE_IN_VERSION, '1.4'));
     return $this->getVar('user_viewoid');
 }
开发者ID:LeeGlendenning,项目名称:formulize,代码行数:5,代码来源:Object.php

示例7: __construct

 public function __construct(&$db)
 {
     parent::__construct($db);
     $this->_deprecated = icms_core_Debug::setDeprecated('icms_image_category_Handler', sprintf(_CORE_REMOVE_IN_VERSION, '1.4'));
 }
开发者ID:LeeGlendenning,项目名称:formulize,代码行数:5,代码来源:imagecategory.php

示例8: __construct

 public function __construct($caption, $name, $editor_configs = null, $noHtml = false, $OnFailure = "")
 {
     parent::__construct($caption, $name, $editor_configs, $noHtml, $OnFailure);
     $this->_deprecated = icms_core_Debug::setDeprecated('icms_form_elements_Editor', sprintf(_CORE_REMOVE_IN_VERSION, '1.4'));
 }
开发者ID:LeeGlendenning,项目名称:formulize,代码行数:5,代码来源:formeditor.php

示例9: __construct

 /**
  * Construtor
  *
  * @param	string	$caption
  * @param	string	$name
  * @param	mixed	  $value	Value for the Select attribute
  * @param	string	$cat    Name of the Category
  */
 function __construct($caption, $name, $value = null, $cat = null)
 {
     parent::__construct($caption, $name, $value, $cat);
     $this->_deprecated = icms_core_Debug::setDeprecated('icms_form_elements_select_Image', sprintf(_CORE_REMOVE_IN_VERSION, '1.4'));
 }
开发者ID:nao-pon,项目名称:impresscms,代码行数:13,代码来源:formimage.php

示例10: __construct

 public function __construct($caption, $name, $maxfilesize = '4096000')
 {
     parent::__construct($caption, $name, $maxfilesize);
     $this->_deprecated = icms_core_Debug::setDeprecated('icms_config_item_Object', sprintf(_CORE_REMOVE_IN_VERSION, '1.4'));
 }
开发者ID:LeeGlendenning,项目名称:formulize,代码行数:5,代码来源:formfile.php

示例11: XoopsFormElementTray

 public function XoopsFormElementTray($caption, $delimeter = "&nbsp;", $name = "")
 {
     $this->__construct($caption, $delimeter, $name);
     $this->_deprecated = icms_core_Debug::setDeprecated('icms_form_elements_Tray', sprintf(_CORE_REMOVE_IN_VERSION, '1.4'));
 }
开发者ID:nao-pon,项目名称:impresscms,代码行数:5,代码来源:formelementtray.php

示例12: getUserRankList

 /**
  * Gets list of all user ranks in the database
  * @deprecated	Use SystemUserrankHandler->getList
  * @todo		Remove in version 1.4
  *
  * @return  array	 $ret   list of user ranks
  */
 public static function getUserRankList()
 {
     icms_core_Debug::setDeprecated('SystemUserrankHandler->getList', sprintf(_CORE_REMOVE_IN_VERSION, '1.4'));
     return icms_getModuleHandler("userrank", "system")->getList(icms_buildCriteria(array("rank_special" => 1)));
 }
开发者ID:nao-pon,项目名称:impresscms,代码行数:12,代码来源:xoopslists.php

示例13:

<?php

// $Id: xoopsuser.php 10337 2010-07-13 15:37:14Z skenow $
// this file is for backward compatibility only
if (!defined('ICMS_ROOT_PATH')) {
    exit;
}
icms_core_Debug::setDeprecated('', 'class/xoopsuser.php file will be removed in ImpressCMS 1.4 - use kernel/user.php');
/**
 * Include the user class
 * @deprecated use kernel/user.php instead
 * @todo Remove this file in 1.4
 */
require_once ICMS_ROOT_PATH . '/kernel/user.php';
开发者ID:nao-pon,项目名称:impresscms,代码行数:14,代码来源:xoopsuser.php

示例14: XoopsFormTextArea

 /**
  * Constuctor
  *
  * @param	string  $caption    caption
  * @param	string  $name       name
  * @param	string  $value      initial content
  * @param	int     $rows       number of rows
  * @param	int     $cols       number of columns
  */
 function XoopsFormTextArea($caption, $name, $value = "", $rows = 5, $cols = 50)
 {
     parent::__construct($caption, $name, $value, $rows, $cols);
     $this->_deprecated = icms_core_Debug::setDeprecated('icms_form_elements_Textarea', sprintf(_CORE_REMOVE_IN_VERSION, '1.4'));
 }
开发者ID:LeeGlendenning,项目名称:formulize,代码行数:14,代码来源:formtextarea.php

示例15: __construct

 public function __construct($keywords, $singlewords = false, $replace_callback = null)
 {
     parent::__construct($keywords, $singlewords, $replace_callback);
     $this->_deprecated = icms_core_Debug::setDeprecated('icms_ipf_Highlighter', sprintf(_CORE_REMOVE_IN_VERSION, '1.4'));
 }
开发者ID:LeeGlendenning,项目名称:formulize,代码行数:5,代码来源:icmspersistablehighlighter.php


注:本文中的icms_core_Debug::setDeprecated方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。