mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
Deprecated old history APIs
This commit is contained in:
@@ -429,14 +429,16 @@ HTML
|
||||
/**
|
||||
* Display history tab of an object
|
||||
*
|
||||
* @param \WebPage $oPage
|
||||
* @deprecated 3.0.0 will be removed in 3.1, see N°3824
|
||||
*
|
||||
* @param bool $bEditMode
|
||||
* @param int $iLimitCount
|
||||
* @param int $iLimitStart
|
||||
*
|
||||
* @param \WebPage $oPage
|
||||
*
|
||||
* @throws \CoreException
|
||||
*
|
||||
* @deprecated
|
||||
*/
|
||||
public function DisplayBareHistory(WebPage $oPage, $bEditMode = false, $iLimitCount = 0, $iLimitStart = 0)
|
||||
{
|
||||
|
||||
@@ -1629,6 +1629,8 @@ JS
|
||||
* - list produces a table listing the objects
|
||||
* - count produces a paragraphs with a sentence saying 'cont' objects found
|
||||
* - details display (as table) the details of each object found (best if only one)
|
||||
*
|
||||
* @deprecated 3.0.0 will be removed in 3.1, see N°3824
|
||||
*/
|
||||
class HistoryBlock extends DisplayBlock
|
||||
{
|
||||
|
||||
@@ -21,7 +21,7 @@ require_once(APPROOT.'/application/displayblock.class.inc.php');
|
||||
/**
|
||||
* This class manages the special template format used internally to build the iTop web pages
|
||||
*
|
||||
* @deprecated Since 3.0.0
|
||||
* @deprecated 3.0.0
|
||||
*/
|
||||
class DisplayTemplate
|
||||
{
|
||||
|
||||
@@ -564,6 +564,9 @@ function ExportInitButton(sSelector) {
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated 3.0.0 will be removed in 3.1, see N°3824
|
||||
*/
|
||||
function DisplayHistory(sSelector, sFilter, iCount, iStart) {
|
||||
$(sSelector).block();
|
||||
var oParams = {operation: 'history_from_filter', filter: sFilter, start: iStart, count: iCount};
|
||||
|
||||
@@ -1493,7 +1493,7 @@ JS
|
||||
$oPage->add("</div>");
|
||||
break;
|
||||
|
||||
// TODO 3.0.0: Handle the history pagination
|
||||
/** @deprecated 3.0.0 Will be removed in 3.1, see N°3824 */
|
||||
case 'history':
|
||||
$oPage->SetContentType('text/html');
|
||||
$id = (int)utils::ReadParam('id', 0);
|
||||
@@ -1507,7 +1507,7 @@ JS
|
||||
// widgets: ['myZebra', 'truncatedList']} );");
|
||||
break;
|
||||
|
||||
// TODO 3.0.0: What to do with this?
|
||||
/** @deprecated 3.0.0 Will be removed in 3.1, see N°3824 */
|
||||
case 'history_from_filter':
|
||||
$oPage->SetContentType('text/html');
|
||||
$oHistoryFilter = DBSearch::unserialize($sFilter);
|
||||
|
||||
Reference in New Issue
Block a user