form::date PHP Method

date() public static method

public static date ( $name, $value = '', $attributes = [] )
    public static function date($name, $value = '', $attributes = array())
    {
        return static::input('date', $name, $value, $attributes);
    }

Usage Example

コード例 #1
0
?>
</td>
	</tr>
	<tr id="time_end" style="<?php 
if ($data['setting']['enabletime'] == 0) {
    ?>
display:none;<?php 
}
?>
">
		<th><strong><?php 
echo L('end_time');
?>
:</strong></th>
		<td><?php 
echo form::date('setting[endtime]', $data['setting']['endtime'] ? date('Y-m-d', $data['setting']['endtime']) : 0);
?>
</td>
	</tr>
	<tr>
		<th><strong><?php 
echo L('allowed_send_mail');
?>
:</strong></th>
		<td><input name="setting[sendmail]" type="radio" value="1" <?php 
if ($data['setting']['sendmail']) {
    ?>
checked<?php 
}
?>
>&nbsp;<?php 
All Usage Examples Of form::date