Beispiel #1
0
<?php

/*"******************************************************************************************************
*   (c) 2004-2006 by MulchProductions, www.mulchprod.de                                                 *
*   (c) 2007-2015 by Kajona, www.kajona.de                                                              *
*       Published under the GNU LGPL v2.1, see /system/licence_lgpl.txt                                 *
*-------------------------------------------------------------------------------------------------------*
*   $Id$                                     *
********************************************************************************************************/
echo "+-------------------------------------------------------------------------------+\n";
echo "| Kajona Debug Subsystem                                                        |\n";
echo "|                                                                               |\n";
echo "| CACHEVIEW                                                                     |\n";
echo "|                                                                               |\n";
echo "+-------------------------------------------------------------------------------+\n";
$arrEntries = class_cache::getAllCacheEntries();
$arrData = array();
$arrHeader = array();
$objText = class_carrier::getInstance()->getObjLang();
$arrHeader[] = "Leasetime";
$arrHeader[] = "Source";
$arrHeader[] = "Language";
$arrHeader[] = "Hash 1";
$arrHeader[] = "Hash 2";
$arrHeader[] = "Hits";
$arrHeader[] = "Size";
foreach ($arrEntries as $objOneEntry) {
    $arrRowData = array();
    $arrRowData[] = timeToString($objOneEntry->getIntLeasetime());
    $arrRowData[] = $objOneEntry->getStrSourceName();
    $arrRowData[] = $objOneEntry->getStrLanguage();