当前位置: 首页>>代码示例>>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;未经允许,请勿转载。