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


PHP Objects::getCatalogs方法代碼示例

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


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

示例1: preludesB


//.........這裏部分代碼省略.........
    require_once "lib/locations.php";
    $objLocation = new Locations();
    require_once "lib/instruments.php";
    $objInstrument = new Instruments();
    require_once "lib/filters.php";
    $objFilter = new Filters();
    require_once "lib/lenses.php";
    $objLens = new Lenses();
    require_once "lib/contrast.php";
    $objContrast = new Contrast();
    require_once "lib/eyepieces.php";
    $objEyepiece = new Eyepieces();
    require_once "lib/observations.php";
    $objObservation = new Observations();
    require_once "lib/accomplishments.php";
    $objAccomplishments = new Accomplishments();
    require_once "lib/lists.php";
    $objList = new Lists();
    require_once "lib/objects.php";
    $objObject = new Objects();
    require_once "lib/objectOutlines.php";
    $objObjectOutlines = new ObjectOutlines();
    include_once "lib/astrocalc.php";
    $objAstroCalc = new AstroCalc();
    require_once "lib/stars.php";
    $objStar = new Stars();
    include_once "lib/cometobservations.php";
    $objCometObservation = new cometObservations();
    include_once "lib/cometobjects.php";
    $objCometObject = new CometObjects();
    include_once 'lib/presentation.php';
    $objPresentations = new Presentations();
    include_once 'lib/constellations.php';
    $objConstellation = new Constellation();
    include_once 'lib/formlayouts.php';
    $objFormLayout = new formLayouts();
    include_once 'lib/reportlayouts.php';
    $objReportLayout = new reportLayouts();
    include_once 'lib/catalogs.php';
    $objCatalog = new catalogs();
    include_once "lib/moonphase.inc.php";
    include_once "lib/printatlas.php";
    $objPrintAtlas = new PrintAtlas();
    include_once "lib/class.pdf.php";
    include_once "lib/class.ezpdf.php";
    include_once "lib/icqmethod.php";
    include_once "lib/icqreferencekey.php";
    if (strpos($browser = $objUtil->checkArrayKey($_SERVER, 'HTTP_USER_AGENT', ''), 'Firefox') === false) {
        $FF = false;
    } else {
        $FF = true;
    }
    if (strpos($browser = $objUtil->checkArrayKey($_SERVER, 'HTTP_USER_AGENT', ''), 'MSIE') === false) {
        $MSIE = false;
    } else {
        $MSIE = true;
    }
    if (array_key_exists('globalMonth', $_SESSION) && $_SESSION['globalMonth']) {
    } else {
        $_SESSION['globalYear'] = $thisYear;
        $_SESSION['globalMonth'] = $thisMonth;
        $_SESSION['globalDay'] = $thisDay;
    }
    if (array_key_exists('changeMonth', $_GET) && $_GET['changeMonth']) {
        $_SESSION['globalMonth'] = $_GET['changeMonth'];
        if ($_SESSION['globalDay'] > 28 && $_SESSION['globalMonth'] == 2) {
            $_SESSION['globalDay'] = 28;
        }
        if ($_SESSION['globalDay'] == 31 && ($_SESSION['globalMonth'] == 4 || $_SESSION['globalMonth'] == 6 || $_SESSION['globalMonth'] == 9 || $_SESSION['globalMonth'] == 11)) {
            $_SESSION['globalDay'] = 30;
        }
        if (array_key_exists('Qobj', $_SESSION)) {
            $_SESSION['Qobj'] = $objObject->getObjectRisSetTrans($_SESSION['Qobj']);
        }
    }
    if (array_key_exists('changeYear', $_GET) && $_GET['changeYear']) {
        $_SESSION['globalYear'] = $_GET['changeYear'];
        if (array_key_exists('Qobj', $_SESSION)) {
            $_SESSION['Qobj'] = $objObject->getObjectRisSetTrans($_SESSION['Qobj']);
        }
    }
    if (array_key_exists('changeDay', $_GET) && $_GET['changeDay']) {
        $_SESSION['globalDay'] = $_GET['changeDay'];
        if (array_key_exists('Qobj', $_SESSION)) {
            $_SESSION['Qobj'] = $objObject->getObjectRisSetTrans($_SESSION['Qobj']);
        }
    }
    if (array_key_exists('leftmenu', $_GET)) {
        $leftmenu = $_GET['leftmenu'];
    } elseif (array_key_exists('leftmenu', $_COOKIE)) {
        $leftmenu = $_COOKIE['leftmenu'];
    }
    if (array_key_exists('topmenu', $_GET)) {
        $topmenu = $_GET['topmenu'];
    } elseif (array_key_exists('topmenu', $_COOKIE)) {
        $topmenu = $_COOKIE['topmenu'];
    }
    $DSOcatalogsLists = $objObject->getCatalogsAndLists();
    $DSOcatalogs = $objObject->getCatalogs();
}
開發者ID:rolfvandervleuten,項目名稱:DeepskyLog,代碼行數:101,代碼來源:preludes.php


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