本文整理汇总了PHP中DateUtil::inWeekName方法的典型用法代码示例。如果您正苦于以下问题:PHP DateUtil::inWeekName方法的具体用法?PHP DateUtil::inWeekName怎么用?PHP DateUtil::inWeekName使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类DateUtil
的用法示例。
在下文中一共展示了DateUtil::inWeekName方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: foreach
echo UrlUtil::createBackendUrl('order/index?order_status=2&beautician_id=' . $beautician_id);
?>
">
<?php
echo $beauticianOrderCounts[$beautician_id];
?>
</a>
</td>
<td><?php
echo $beautician['sex'];
?>
</td>
<td><?php
$beauticianWorkTime = $workTime[$beautician_id];
foreach ($beauticianWorkTime as $key => $time) {
echo DateUtil::inWeekName($key) . ':' . $timeSetting[$time] . '<br>';
}
?>
</td>
<td>
<a class="link-update btn btn-warning"
href="<?php
echo UrlUtil::createBackendUrl("beautician/updateBeautician/{$beautician_id}");
?>
">修改</a>
<a class="link-del btn btn-danger"
href="<?php
echo UrlUtil::createBackendUrl("beautician/deleteBeautician/{$beautician_id}");
?>
">删除</a>
示例2: form_open
echo $beautician['name'];
?>
的工作时间</h1>
</div>
</div>
<?php
echo form_open(RequestUtil::CM(array('beautician_id' => $beauticianId)));
?>
<table class="insert-tab" width="100%">
<tbody>
<?php
foreach ($beauticianWorkTime as $key => $workTime) {
?>
<tr>
<th><?php
echo DateUtil::inWeekName($key);
?>
:</th>
<td>
<?php
foreach ($timeSetting as $timeKey => $setting) {
?>
<?php
$selected = $workTime == $timeKey ? ' checked' : '';
?>
<input type="radio" name="work_type_<?php
echo $key;
?>
"
value="<?php
echo $timeKey;