本文整理汇总了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();
示例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 />