本文整理汇总了PHP中TPL::captureStart方法的典型用法代码示例。如果您正苦于以下问题:PHP TPL::captureStart方法的具体用法?PHP TPL::captureStart怎么用?PHP TPL::captureStart使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类TPL
的用法示例。
在下文中一共展示了TPL::captureStart方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: foreach
echo TPL::captureGet('sitesBackupsRowSummary');
?>
</div>
<div class="row_detailed" style="display:none;">
<div class="rh">
<?php
echo TPL::captureGet('sitesBackupsRowSummary');
?>
</div>
<div class="rd">
<div class="row_updatee">
<?php
foreach ($siteTaskType as $key => $siteBackups) {
if ($key != 'backupNow') {
TPL::captureStart('oldBackups');
echo TPL::captureGet('oldBackups');
}
foreach ($siteBackups as $siteBackup) {
?>
<div class="row_updatee_ind topBackup">
<div class="label_updatee float-left">
<div class="label droid700 float-right"><?php
echo $siteBackup['backupName'];
?>
</div>
</div>
<div class="items_cont float-left">
<div class="item_ind float-left">
<div class="rep_sprite_backup stats repository delConfHide"><?php
if (!empty($siteBackup['repository'])) {
示例2:
</div>
<?php
}
//END foreach($fullGroupedActions as $siteID => $siteGroupedActions)
?>
</div>
</div>
<?php
}
//END foreach($d['actionsHistoryData'] as $actionHistory)
} else {
?>
<?php
TPL::captureStart('processQueueRowSummary');
?>
<div class="empty_data_set websites"><div class="line1">Operations that you initiate will be queued and processed here.</div></div>
<?php
TPL::captureStop('processQueueRowSummary');
}
?>
<div class="queue_list">
<div class="th rep_sprite">
<div class="title droid700">PROCESS QUEUE</div><div class="float-left" id="historyQueueUpdateLoading"></div>
<div class="history"><a class="navLinks" page="history">View Activity Log</a></div>
</div>
<div class="queue_ind_item_cont nano">
<div class="content">
<?php
echo TPL::captureGet('processQueueRowSummary');