当前位置: 首页>>代码示例>>PHP>>正文


PHP MainController::getInstaPhotos方法代码示例

本文整理汇总了PHP中MainController::getInstaPhotos方法的典型用法代码示例。如果您正苦于以下问题:PHP MainController::getInstaPhotos方法的具体用法?PHP MainController::getInstaPhotos怎么用?PHP MainController::getInstaPhotos使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在MainController的用法示例。


在下文中一共展示了MainController::getInstaPhotos方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: count

<?php

$_POST['filter'] = "all";
$instagram_photos = MainController::getInstaPhotos();
$size = count($instagram_photos);
?>

<div class="modal fade" id="instagram_popup" role="dialog" 
     data-backdrop="static" aria-labelledby="instagram_popup" 
     aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="global-close" data-dismiss="modal" aria-hidden="true">&times;</button>
                <!--<div class="modal-title">INSTAGRAM</div>-->
            </div>
            <div class="modal-body">
                <div id="contacts-container">                    
                    <div class="tab-contents">
                        <div class="tours-contents-title">
                            <?php 
echo $instagram_popup_text['title'];
?>
                        </div>
                    </div>
                    <div class="tab-contents-subtitle">
                        <?php 
echo $instagram_popup_text['subtitle'];
?>
                    </div>
                </div>
开发者ID:buga1234,项目名称:buga_segforours,代码行数:31,代码来源:modul_instagram_popup.php

示例2: instagramView

if ($action == 'add_instagram_photo') {
    MainController::add_instagram_photo();
    $_POST['filter'] = "all";
    instagramView(MainController::getInstaPhotos(), "admin");
}
if ($action == 'showMoreInstaPhotos') {
    $_POST['filter'] = "all";
    instagramView(MainController::showMoreInstaPhotos(), "admin");
}
if ($action == 'checkedInstaDirFilter') {
    instagramView(MainController::getInstaPhotos(), "user");
}
if ($action == 'removeInstaPhoto') {
    MainController::removeInstaPhoto();
    $_POST['filter'] = "all";
    instagramView(MainController::getInstaPhotos(), "admin");
}
if ($action == 'editInstaPopupInfo') {
    MainController::editPopupInfo($_POST['language'], "instagram");
}
if ($action == 'createResrvationByAdmin') {
    reservationController::createResrvationByAdmin();
}
if ($action == 'booking_deleteClientReservation') {
    reservationController::deleteClientReservation();
    clientsTable(CalendarController::getDateHoursReservations());
}
if ($action == 'booking_deleteClientHoursReservation') {
    reservationController::booking_deleteClientHoursReservation();
}
if ($action == 'booking_change_day_state') {
开发者ID:buga1234,项目名称:buga_segforours,代码行数:31,代码来源:route.php


注:本文中的MainController::getInstaPhotos方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。