本文整理汇总了PHP中Ubirimi\Util::includePartial方法的典型用法代码示例。如果您正苦于以下问题:PHP Util::includePartial方法的具体用法?PHP Util::includePartial怎么用?PHP Util::includePartial使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Ubirimi\Util
的用法示例。
在下文中一共展示了Util::includePartial方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: htmlentities
<td>
<div id="contentDescription"><?php
echo str_replace("\n", '<br />', htmlentities($issue['description']));
?>
</div>
</td>
</tr>
<?php
}
?>
<?php
if ($attachments) {
?>
<?php
Util::includePartial(__DIR__ . '/../../../../Yongo/Resources/views/issue/_attachments.php', array('attachments' => $attachments, 'loggedInUserId' => $loggedInUserId, 'hasDeleteAllAttachmentsPermission' => $hasDeleteAllAttachmentsPermission, 'hasDeleteOwnAttachmentsPermission' => $hasDeleteOwnAttachmentsPermission));
?>
<?php
}
?>
<?php
if ($issue['environment']) {
?>
<tr>
<td id="sectEnvironment" class="sectionDetail" colspan="2"><span class="sectionDetailTitle headerPageText">Environment</span></td>
</tr>
<tr>
<td>
<div id="contentEnvironment"><?php
echo str_replace("\n", '<br />', htmlentities($issue['environment']));
示例2: array
<td><a id="btnIssueAssignToMe" href="#" class="btn ubirimi-btn">Assign To Me</a></td>
<?php
}
?>
<?php
if ($hasAddCommentsPermission) {
?>
<td>
<a id="btnEditIssueComment" href="#" class="btn ubirimi-btn"><i class="icon-comment"></i> Comment</a>
</td>
<?php
}
?>
<td>
<?php
Util::includePartial(__DIR__ . '/_moreActionMenu.php', array('issueEditableProperty' => $issueEditableProperty, 'issue' => $issue, 'hasCreatePermission' => isset($hasCreatePermission) ? $hasCreatePermission : null, 'hasLinkIssuePermission' => $hasLinkIssuePermission, 'parentIssue' => $parentIssue, 'timeTrackingFlag' => $timeTrackingFlag, 'subTaskIssueTypes' => isset($subTaskIssueTypes) ? $subTaskIssueTypes : null, 'issueLinkingFlag' => isset($issueLinkingFlag) ? $issueLinkingFlag : null, 'hasMoveIssuePermission' => isset($hasMoveIssuePermission) ? $hasMoveIssuePermission : null, 'hasWorkOnIssuePermission' => isset($hasWorkOnIssuePermission) ? $hasWorkOnIssuePermission : null, 'hasCreateAttachmentPermission' => isset($hasCreateAttachmentPermission) ? $hasCreateAttachmentPermission : null));
?>
</td>
<td><a id="btnPrint" target="_blank" href="/yongo/issue/print/<?php
echo $issue['id'];
?>
" class="btn ubirimi-btn"><i class="icon-print"></i> Print</a></td>
<?php
if ($hasDeletePermission) {
?>
<td>
<a id="btnDeleteIssueDetail" href="#" class="btn ubirimi-btn">
<i class="icon-remove"></i> Delete
</a>
</td>
<?php
示例3: array
<?php
if ($childrenIssues && $childrenIssues->num_rows) {
?>
<?php
require_once __DIR__ . '/_childrenIssues.php';
?>
<?php
}
?>
<?php
if ($attachments) {
?>
<?php
Util::includePartial(__DIR__ . '/_attachments.php', array('attachments' => $attachments, 'loggedInUserId' => $loggedInUserId, 'hasDeleteAllAttachmentsPermission' => $hasDeleteAllAttachmentsPermission, 'hasDeleteOwnAttachmentsPermission' => $hasDeleteOwnAttachmentsPermission));
?>
<?php
}
?>
<?php
if ($linkedIssues) {
?>
<?php
require_once __DIR__ . '/../issue/_linked_issues.php';
?>
<?php
}
?>