本文整理汇总了PHP中TPL::captureGet方法的典型用法代码示例。如果您正苦于以下问题:PHP TPL::captureGet方法的具体用法?PHP TPL::captureGet怎么用?PHP TPL::captureGet使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类TPL
的用法示例。
在下文中一共展示了TPL::captureGet方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1:
?>
</div>
</div>
<div class="clear-both"></div>
</div>
<?php
}
//end foreach($siteBackups as $siteBackup)
if ($key != 'backupNow') {
TPL::captureStop('oldBackups');
}
}
//end foreach($siteTaskType as $key => $siteBackups)
if ($oldBackupsHTML = trim(TPL::captureGet('oldBackups'))) {
?>
<div style="border-top: 1px solid #F1F1D7;margin-top: -1px;padding: 10px;font-weight: 700;margin-left: 35px;">Old backups</div> <?php
echo $oldBackupsHTML;
}
?>
</div>
</div>
</div>
</div>
<?php
}
//END foreach($d['sitesBackups'] as $siteID => $siteBackups)
?>
</div>
<?php
示例2:
</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');
?>
</div>
</div>
</div>
</div>
</div>