The following files exists in this folder. Click to view.
CFormElementDatetimeLocal.php1 lines ASCII Unix (LF) <?php
namespace Mos\HTMLForm;
/**
* Form element
*/
class CFormElementDatetimeLocal extends CFormElement
{
/**
* Constructor
*
* @param string $name of the element.
* @param array $attributes to set to the element. Default is an empty array.
*/
public function __construct($name, $attributes = [])
{
parent::__construct($name, $attributes);
$this['type'] = 'datetime-local';
$this->UseNameAsDefaultLabel();
}
}