本文整理汇总了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">×</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>
示例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') {