本文整理匯總了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');