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


PHP Util::includePartial方法代码示例

本文整理汇总了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']));
开发者ID:spiasecki,项目名称:ubirimi,代码行数:31,代码来源:ViewIssue.php

示例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 
开发者ID:spiasecki,项目名称:ubirimi,代码行数:31,代码来源:_topButtons.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 
    }
    ?>
开发者ID:spiasecki,项目名称:ubirimi,代码行数:29,代码来源:View.php


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