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


PHP CCalendar::GetMoreAttendeesMessage方法代码示例

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


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

示例1:

            ?>
</span><?php 
            ?>
</a><?php 
        }
    }
    ?>

						<?php 
    if (!$bShowAll) {
        ?>
							<span id="feed-event-more-att-link-n-<?php 
        echo $id;
        ?>
" class="bxcal-more-attendees"><?php 
        echo CCalendar::GetMoreAttendeesMessage(count($event['DECLINED_ATTENDEES']) - $arParams['ATTENDEES_SHOWN_COUNT']);
        ?>
</span>
							<div id="feed-event-more-attendees-n-<?php 
        echo $id;
        ?>
" class="bxcal-more-attendees-popup" style="display: none;">
								<?php 
        echo $popupContent;
        ?>
							</div>
						<?php 
    }
    ?>
					<?php 
}
开发者ID:webgksupport,项目名称:alpina,代码行数:31,代码来源:template.php

示例2: htmlspecialcharsbx

                echo $arParams['AVATAR_SIZE'];
                ?>
" /></span></span><span class="bxcal-att-name"><?php 
                echo htmlspecialcharsbx($att['DISPLAY_NAME']);
                ?>
</span></a>
								<?php 
            }
        }
        if (!$bShowAll) {
            ?>
								<span data-bx-more-users="<?php 
            echo $arAtt['id'];
            ?>
" class="bxcal-more-attendees"><?php 
            echo CCalendar::GetMoreAttendeesMessage(count($arAtt['users']) - $arAtt['count']);
            ?>
</span>
							<?php 
        }
        ?>
						</div>
					</td>
				</tr>
			<?php 
    }
    /*foreach($attendees as $arAtt)*/
    ?>

			<?php 
    if (!empty($event['MEETING']['TEXT'])) {
开发者ID:webgksupport,项目名称:alpina,代码行数:31,代码来源:template.php

示例3: DialogViewEvent


//.........这里部分代码省略.........
                        ?>
</span></a>
								<?php 
                    } else {
                        ?>
								<a title="<?php 
                        echo htmlspecialcharsbx($att['DISPLAY_NAME']);
                        ?>
" href="<?php 
                        echo $att['URL'];
                        ?>
" target="_blank" class="bxcal-att-popup-img"><span class="bxcal-att-popup-avatar-outer"><span class="bxcal-att-popup-avatar"><img src="<?php 
                        echo $att['AVATAR_SRC'];
                        ?>
" width="<?php 
                        echo $Params['AVATAR_SIZE'];
                        ?>
" height="<?php 
                        echo $Params['AVATAR_SIZE'];
                        ?>
" /></span></span><span class="bxcal-att-name"><?php 
                        echo htmlspecialcharsbx($att['DISPLAY_NAME']);
                        ?>
</span></a>
								<?php 
                    }
                }
                if (!$bShowAll) {
                    ?>
							<span data-bx-more-users="<?php 
                    echo $arAtt['id'];
                    ?>
" class="bxcal-more-attendees"><?php 
                    echo CCalendar::GetMoreAttendeesMessage(count($arAtt['users']) - $arAtt['count']);
                    ?>
</span>
						<?php 
                }
                ?>
					</div>
				</td>
			</tr>
			<?php 
            }
            /*foreach($attendees as $arAtt)*/
            ?>

			<?php 
            if (!empty($event['MEETING']['TEXT'])) {
                ?>
			<tr>
				<td class="bx-cal-view-att-cell-l" style="padding-top: 3px;"><?php 
                echo GetMessage('EC_MEETING_TEXT2');
                ?>
:</td>
				<td class="bx-cal-view-att-cell-r"><pre><?php 
                echo htmlspecialcharsEx($event['MEETING']['TEXT']);
                ?>
</pre></td>
			</tr>
			<?php 
            }
            /*if (!empty($event['MEETING']['TEXT']))*/
            ?>
		</table>
开发者ID:Satariall,项目名称:izurit,代码行数:66,代码来源:calendar_sceleton.php

示例4: htmlspecialcharsbx

							{
								?>
								<a title="<?= htmlspecialcharsbx($att['DISPLAY_NAME'])?>" href="<?= $att['URL']?>" target="_blank" class="bxcal-att-popup-img bxcal-att-popup-img-hidden"><span class="bxcal-att-popup-avatar-outer"><span class="bxcal-att-popup-avatar"><img src="<?= $att['AVATAR_SRC']?>" width="<?= $Params['AVATAR_SIZE']?>" height="<?= $Params['AVATAR_SIZE']?>" /></span></span><span class="bxcal-att-name"><?= htmlspecialcharsbx($att['DISPLAY_NAME'])?></span></a>
								<?
							}
							else // Display attendee
							{
								?>
								<a title="<?= htmlspecialcharsbx($att['DISPLAY_NAME'])?>" href="<?= $att['URL']?>" target="_blank" class="bxcal-att-popup-img"><span class="bxcal-att-popup-avatar-outer"><span class="bxcal-att-popup-avatar"><img src="<?= $att['AVATAR_SRC']?>" width="<?= $Params['AVATAR_SIZE']?>" height="<?= $Params['AVATAR_SIZE']?>" /></span></span><span class="bxcal-att-name"><?= htmlspecialcharsbx($att['DISPLAY_NAME'])?></span></a>
								<?
							}
						}
						if (!$bShowAll)
						{
							?>
							<span data-bx-more-users="<?= $arAtt['id']?>" class="bxcal-more-attendees"><?= CCalendar::GetMoreAttendeesMessage(count($arAtt['users']) - $arAtt['count'])?></span>
						<?
						}?>
					</div>
				</td>
			</tr>
			<?endforeach;/*foreach($attendees as $arAtt)*/?>

			<?if (!empty($event['MEETING']['TEXT'])):?>
			<tr>
				<td class="bx-cal-view-att-cell-l" style="padding-top: 3px;"><?=GetMessage('EC_MEETING_TEXT2')?>:</td>
				<td class="bx-cal-view-att-cell-r"><pre><?= htmlspecialcharsEx($event['MEETING']['TEXT'])?></pre></td>
			</tr>
			<?endif; /*if (!empty($event['MEETING']['TEXT']))*/?>
		</table>
开发者ID:rasuldev,项目名称:torino,代码行数:30,代码来源:calendar_sceleton.php

示例5: elseif

                            $att['AVATAR_SRC'] = CCalendar::GetUserAvatar($att);
                            $att['URL'] = CCalendar::GetUserUrl($att["USER_ID"], $arParams["PATH_TO_USER"]);
                        }
                        if ($att['STATUS'] == "Y") {
                            $result['ACCEPTED_ATTENDEES'][] = $att;
                        } elseif ($att['STATUS'] == "N") {
                            $result['DECLINED_ATTENDEES'][] = $att;
                        }
                    }
                    $moreCountAcc = count($result['ACCEPTED_ATTENDEES']) - $ajaxParams['ATTENDEES_SHOWN_COUNT'];
                    $moreCountDec = count($result['DECLINED_ATTENDEES']) - $ajaxParams['ATTENDEES_SHOWN_COUNT'];
                    if ($moreCountAcc > 0) {
                        $result['ACCEPTED_PARAMS']['MORE_MESSAGE'] = CCalendar::GetMoreAttendeesMessage($moreCountAcc);
                    }
                    if ($moreCountDec > 0) {
                        $result['DECLINED_PARAMS']['MORE_MESSAGE'] = CCalendar::GetMoreAttendeesMessage($moreCountDec);
                    }
                }
                ?>
				<script>
					window.ViewEventManager.requestResult = <?php 
                echo CUtil::PhpToJSObject($result);
                ?>
;
				</script>
				<?php 
            }
            echo '#EVENT_FEED_RESULT_OK#';
        }
    }
    die;
开发者ID:Satariall,项目名称:izurit,代码行数:31,代码来源:action.php


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