mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
Code cleanup
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
/**
|
||||
* Class ajax_page
|
||||
*
|
||||
* @deprecated since 3.0.0 will be removed in 3.1.0 - moved to AjaxPage
|
||||
* @deprecated 3.0.0 will be removed in 3.1.0 - moved to AjaxPage
|
||||
*/
|
||||
class ajax_page extends AjaxPage
|
||||
{
|
||||
|
||||
@@ -1184,7 +1184,7 @@ interface iPageUIBlockExtension
|
||||
* @api
|
||||
* @package Extensibility
|
||||
* @since 2.7.0
|
||||
* @deprecated since 3.0.0 use AbstractPageUIBlockExtension instead
|
||||
* @deprecated 3.0.0 use AbstractPageUIBlockExtension instead
|
||||
*/
|
||||
abstract class AbstractPageUIExtension implements iPageUIExtension
|
||||
{
|
||||
|
||||
@@ -1448,7 +1448,7 @@ HTML
|
||||
* @throws \MissingQueryArgument
|
||||
* @throws \MySQLException
|
||||
* @throws \MySQLHasGoneAwayException
|
||||
* @deprecated since 3.0.0
|
||||
* @deprecated 3.0.0
|
||||
*/
|
||||
public static function GetDisplayExtendedSet(WebPage $oPage, CMDBObjectSet $oSet, $aExtraParams = array())
|
||||
{
|
||||
|
||||
@@ -19,7 +19,7 @@ use Combodo\iTop\Renderer\Console\ConsoleBlockRenderer;
|
||||
*
|
||||
* You should have received a copy of the GNU Affero General Public License
|
||||
*
|
||||
* @deprecated since 3.0.0 use Combodo\iTop\Application\UI\Base\Component\DataTable\Datatable
|
||||
* @deprecated 3.0.0 use Combodo\iTop\Application\UI\Base\Component\DataTable\Datatable
|
||||
*/
|
||||
|
||||
class DataTable
|
||||
|
||||
@@ -358,10 +358,11 @@ class WizardHelper
|
||||
{$sWizardHelperJsVar}.UpdateFields();
|
||||
JS;
|
||||
}
|
||||
/*
|
||||
* Function with an old pattern of code
|
||||
* @deprecated since 3.1
|
||||
*/
|
||||
|
||||
/*
|
||||
* Function with an old pattern of code
|
||||
* @deprecated 3.1.0
|
||||
*/
|
||||
static function ParseJsonSet($oMe, $sLinkClass, $sExtKeyToMe, $sJsonSet)
|
||||
{
|
||||
$aSet = json_decode($sJsonSet, true); // true means hash array instead of object
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
// The file has been moved in iTop 2.2.0+ (revision 3803)
|
||||
// Preserve backward compatibility with some external tools (Cf. toolkit)
|
||||
|
||||
// @deprecated since 3.1.0
|
||||
// @deprecated 3.1.0
|
||||
DeprecatedCallsLog::NotifyDeprecatedPhpMethod('use core/oql/expression.class.inc.php instead');
|
||||
|
||||
require_once(APPROOT.'core/oql/expression.class.inc.php');
|
||||
|
||||
@@ -186,7 +186,7 @@ abstract class AbstractPluginManager extends ServiceManager implements PluginMan
|
||||
*
|
||||
* Returns the creation context.
|
||||
*
|
||||
* @deprecated since 3.0.0. The creation context should be passed during
|
||||
* @deprecated 3.0.0. The creation context should be passed during
|
||||
* instantiation instead.
|
||||
* @param ContainerInterface $container
|
||||
* @return void
|
||||
|
||||
@@ -158,7 +158,7 @@ class ServiceManager implements ServiceLocatorInterface
|
||||
*
|
||||
* Returns the creation context.
|
||||
*
|
||||
* @deprecated since 3.0.0. Factories using 3.0 should use the container
|
||||
* @deprecated 3.0.0. Factories using 3.0 should use the container
|
||||
* instance passed to the factory instead.
|
||||
* @return ContainerInterface
|
||||
*/
|
||||
|
||||
@@ -51,7 +51,7 @@ try {
|
||||
/**
|
||||
* Helper function to build a select from the list of valid classes for a given action
|
||||
*
|
||||
* @deprecated since 3.0.0 use GetClassesSelectUIBlock
|
||||
* @deprecated 3.0.0 use GetClassesSelectUIBlock
|
||||
*
|
||||
* @param $sDefaultValue
|
||||
* @param integer $iWidthPx The width (in pixels) of the drop-down list
|
||||
|
||||
@@ -1368,7 +1368,7 @@ JS;
|
||||
* Get an ID (for any kind of HTML tag) that is guaranteed unique in this page
|
||||
*
|
||||
* @return int The unique ID (in this page)
|
||||
* @deprecated since 3.0.0 use utils::GetUniqueId() instead
|
||||
* @deprecated 3.0.0 use utils::GetUniqueId() instead
|
||||
*/
|
||||
public function GetUniqueId()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user