當前位置: 首頁>>代碼示例>>PHP>>正文


PHP common::printCommentIcon方法代碼示例

本文整理匯總了PHP中common::printCommentIcon方法的典型用法代碼示例。如果您正苦於以下問題:PHP common::printCommentIcon方法的具體用法?PHP common::printCommentIcon怎麽用?PHP common::printCommentIcon使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在common的用法示例。


在下文中一共展示了common::printCommentIcon方法的5個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。

示例1: ob_start

>
  <div id='main'>CASE #<?php 
echo $case->id . $lang->colon . $case->title;
?>
</div>
  <div>
    <?php 
$browseLink = $app->session->caseList != false ? $app->session->caseList : $this->createLink('testcase', 'browse', "productID={$case->product}");
if (!$case->deleted) {
    ob_start();
    common::printIcon('testtask', 'runCase', "runID=0&caseID={$case->id}&version={$case->currentVersion}");
    common::printIcon('testtask', 'results', "runID=0&caseID={$case->id}&version={$case->version}");
    common::printIcon('testcase', 'createBug', "product={$case->product}&extra=caseID={$case->id},version={$case->version},runID=", '', 'button', 'createBug');
    common::printDivider();
    common::printIcon('testcase', 'edit', "caseID={$case->id}");
    common::printCommentIcon('testcase');
    common::printIcon('testcase', 'create', "productID={$case->product}&moduleID={$case->module}&from=testcase&param={$case->id}", '', 'button', 'copy');
    common::printIcon('testcase', 'delete', "caseID={$case->id}", '', 'button', '', 'hiddenwin');
    common::printDivider();
    common::printRPN($browseLink, $preAndNext);
    $actionLinks = ob_get_contents();
    ob_clean();
    echo $actionLinks;
}
?>
  </div>
</div>

<table class='cont-rt5'>
  <tr valign='top'>
    <td>
開發者ID:shshenpengfei,項目名稱:scrum_project_manage_system,代碼行數:31,代碼來源:view.html.php

示例2: ob_start

if (!$task->deleted) {
    ob_start();
    echo "<div class='btn-group'>";
    common::printIcon('task', 'assignTo', "projectID={$task->project}&taskID={$task->id}", $task, 'button', '', '', 'iframe', true);
    common::printIcon('task', 'start', "taskID={$task->id}", $task, 'button', '', '', 'iframe', true);
    common::printIcon('task', 'restart', "taskID={$task->id}", $task, 'button', '', '', 'iframe', true);
    common::printIcon('task', 'recordEstimate', "taskID={$task->id}", $task, 'button', '', '', 'iframe', true);
    common::printIcon('task', 'pause', "taskID={$task->id}", $task, 'button', '', '', 'iframe', true);
    common::printIcon('task', 'finish', "taskID={$task->id}", $task, 'button', '', '', 'iframe showinonlybody text-success', true);
    common::printIcon('task', 'close', "taskID={$task->id}", $task, 'button', '', '', 'iframe', true);
    common::printIcon('task', 'activate', "taskID={$task->id}", $task, 'button', '', '', 'iframe text-success', true);
    common::printIcon('task', 'cancel', "taskID={$task->id}", $task, 'button', '', '', 'iframe', true);
    echo '</div>';
    echo "<div class='btn-group'>";
    common::printIcon('task', 'edit', "taskID={$task->id}");
    common::printCommentIcon('task');
    common::printIcon('task', 'create', "productID=0&storyID=0&moduleID=0&taskID={$task->id}", '', 'button', 'copy');
    common::printIcon('task', 'delete', "projectID={$task->project}&taskID={$task->id}", '', 'button', '', 'hiddenwin');
    echo '</div>';
    echo "<div class='btn-group'>";
    common::printRPN($browseLink, $preAndNext);
    echo '</div>';
    $actionLinks = ob_get_contents();
    ob_end_clean();
    echo $actionLinks;
} else {
    common::printRPN($browseLink);
}
?>
  </div>
</div>
開發者ID:heeeello,項目名稱:zentaopms,代碼行數:31,代碼來源:view.html.php

示例3: ob_start

$actionLinks = '';
if (!$story->deleted) {
    ob_start();
    echo "<div class='btn-group'>";
    common::printIcon('story', 'change', "storyID={$story->id}", $story);
    common::printIcon('story', 'review', "storyID={$story->id}", $story);
    common::printIcon('story', 'close', "storyID={$story->id}", $story, 'button', '', '', 'iframe text-danger', true);
    common::printIcon('story', 'activate', "storyID={$story->id}", $story, 'button', '', '', 'iframe text-success', true);
    common::printIcon('story', 'createCase', "productID={$story->product}&moduleID=0&from=&param=0&storyID={$story->id}", '', 'button', 'sitemap');
    if ($from == 'project') {
        common::printIcon('task', 'create', "project={$param}&storyID={$story->id}", '', 'button', 'smile');
    }
    echo '</div>';
    echo "<div class='btn-group'>";
    common::printIcon('story', 'edit', "storyID={$story->id}");
    common::printCommentIcon('story');
    common::printIcon('story', 'create', "productID={$story->product}&moduleID={$story->module}&storyID={$story->id}", '', 'button', 'copy');
    common::printIcon('story', 'delete', "storyID={$story->id}", '', 'button', '', 'hiddenwin');
    echo '</div>';
    echo "<div class='btn-group'>";
    common::printRPN($browseLink, $preAndNext);
    echo '</div>';
    $actionLinks = ob_get_contents();
    ob_end_clean();
    echo $actionLinks;
} else {
    common::printRPN($browseLink);
}
?>
  </div>
</div>
開發者ID:ppmon,項目名稱:ppm,代碼行數:31,代碼來源:view.html.php

示例4: ob_start

$copyParams = "productID={$productID}&branch={$bug->branch}&extras=bugID={$bug->id}";
$convertParams = "productID={$productID}&branch={$bug->branch}&moduleID=0&from=bug&bugID={$bug->id}";
if (!$bug->deleted) {
    ob_start();
    echo "<div class='btn-group'>";
    common::printIcon('bug', 'confirmBug', $params, $bug, 'button', 'search', '', 'iframe', true);
    common::printIcon('bug', 'assignTo', $params, '', 'button', '', '', 'iframe', true);
    common::printIcon('bug', 'resolve', $params, $bug, 'button', '', '', 'iframe showinonlybody', true);
    common::printIcon('bug', 'close', $params, $bug, 'button', '', '', 'text-danger iframe showinonlybody', true);
    common::printIcon('bug', 'activate', $params, $bug, 'button', '', '', 'text-success iframe showinonlybody', true);
    common::printIcon('bug', 'toStory', "product={$bug->product}&branch={$bug->branch}&module=0&story=0&project=0&bugID={$bug->id}", $bug, 'button', $lang->icons['story']);
    common::printIcon('bug', 'createCase', $convertParams, '', 'button', 'sitemap');
    echo '</div>';
    echo "<div class='btn-group'>";
    common::printIcon('bug', 'edit', $params);
    common::printCommentIcon('bug');
    common::printIcon('bug', 'create', $copyParams, '', 'button', 'copy');
    common::printIcon('bug', 'delete', $params, '', 'button', '', 'hiddenwin');
    echo '</div>';
    echo "<div class='btn-group'>";
    common::printRPN($browseLink, $preAndNext);
    echo '</div>';
    $actionLinks = ob_get_contents();
    ob_end_clean();
    echo $actionLinks;
} else {
    common::printRPN($browseLink);
}
?>
  </div>
</div>
開發者ID:caiwenhao,項目名稱:zentao,代碼行數:31,代碼來源:view.html.php

示例5:

    }
    if ($this->sqlreview->isClickable($sql, 'review')) {
        common::printIcon('sqlreview', 'review', "sqlID={$sql->id}");
    }
    if ($this->sqlreview->isClickable($sql, 'close')) {
        common::printIcon('sqlreview', 'close', "sqlID={$sql->id}");
    }
    if ($this->sqlreview->isClickable($sql, 'activate')) {
        common::printIcon('sqlreview', 'activate', "sqlID={$sql->id}");
    }
    if ($this->sqlreview->isClickable($sql, 'dba')) {
        common::printIcon('sqlreview', 'dba', "sqlID={$sql->id}");
    }
    common::printDivider();
    common::printIcon('sqlreview', 'edit', "sqlID={$sql->id}");
    common::printCommentIcon('sqlreview');
    common::printIcon('sqlreview', 'create', "projectID={$sql->project}&sqlID={$sql->id}&moduleID={$sql->module}", '', 'button', 'copy');
    common::printIcon('sqlreview', 'delete', "sqlID={$sql->id}", '', 'button', '', 'hiddenwin');
    common::printDivider();
    common::printRPN($browseLink, $preAndNext);
    $actionLinks = ob_get_contents();
    ob_clean();
    echo $actionLinks;
}
?>
    </div>
</div>

<table class='cont-rt5'>
  <tr valign='top'>
    <td>
開發者ID:shshenpengfei,項目名稱:scrum_project_manage_system,代碼行數:31,代碼來源:view.html.php


注:本文中的common::printCommentIcon方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。