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


PHP JoomleagueHelperRoute::getIcalRoute方法代码示例

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


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

示例1: array

    ?>
	<!-- Playground next games -->
	<div id="jlg_plgndnextgames">

		<h2><?php 
    echo JText::_('COM_JOOMLEAGUE_PLAYGROUND_NEXT_GAMES');
    ?>
</h2>
		<?php 
    if ($this->config['show_ical_link']) {
        ?>
		<table width="96%" align="center" border="0" cellpadding="0" cellspacing="0">
			<tr>
				<td class="contentheading" style="text-align: right;">
				<?php 
        $link = JoomleagueHelperRoute::getIcalRoute(0, null, $this->playground->id);
        $text = JHtml::_('image', 'administrator/components/com_joomleague/assets/images/calendar.png', JText::_('COM_JOOMLEAGUE_PLAYGROUND_ICAL_EXPORT'));
        $attribs = array('title' => JText::_('COM_JOOMLEAGUE_PLAYGROUND_ICAL_EXPORT'));
        echo JHtml::_('link', $link, $text, $attribs);
        ?>
				</td>
			</tr>
		</table>
		<?php 
    }
    ?>
		<div class="venuecontent map">
			<table width="96%" align="center" border="0" cellpadding="0" cellspacing="0">
			<?php 
    //sort games by dates
    $gamesByDate = array();
开发者ID:hfmprs,项目名称:JoomLeague,代码行数:31,代码来源:default_matches.php

示例2: array

			<?php 
$output = '';
if (isset($this->division) && is_a($this->division, 'LeagueDivision')) {
    $output .= ' ' . $this->division->name . ' ';
}
if (!empty($this->ptid)) {
    $output .= ' ' . $this->teams[$this->ptid]->name;
} else {
    $output .= ' ' . $this->project->name;
}
echo JText::sprintf('COM_JOOMLEAGUE_TEAMPLAN_PAGE_TITLE', $output);
?>
		</td>
		<?php 
if ($this->config['show_ical_link']) {
    ?>
			<td class="contentheading" style="text-align: right;">
				<?php 
    if (!is_null($this->ptid)) {
        $link = JoomleagueHelperRoute::getIcalRoute($this->project->id, $this->teams[$this->ptid]->team_id, null, null);
        $text = JHTML::_('image', 'administrator/components/com_joomleague/assets/images/calendar.png', JText::_('COM_JOOMLEAGUE_TEAMPLAN_ICAL_EXPORT'));
        $attribs = array('title' => JText::_('COM_JOOMLEAGUE_TEAMPLAN_ICAL_EXPORT'));
        echo JHTML::_('link', $link, $text, $attribs);
    }
    ?>
			</td>
			<?php 
}
?>
	</tr>
</table><br />
开发者ID:santas156,项目名称:joomleague-2-komplettpaket,代码行数:31,代码来源:default_sectionheader.php


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