✏️ 编辑:sfValidatorDateTime.class.php
路径:
/virtual/bigbrother/sns/lib/symfony/validator/sfValidatorDateTime.class.php
大小:833 B · 修改:2010-08-11 06:11:37 · 权限:0644 · 可写
← 返回目录
👁 查看
⬇ 下载
<?php /* * This file is part of the symfony package. * (c) Fabien Potencier <fabien.potencier@symfony-project.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ /** * sfValidatorDateTime validates a date and a time. It also converts the input value to a valid date. * * @package symfony * @subpackage validator * @author Fabien Potencier <fabien.potencier@symfony-project.com> * @version SVN: $Id: sfValidatorDateTime.class.php 5581 2007-10-18 13:56:14Z fabien $ */ class sfValidatorDateTime extends sfValidatorDate { /** * @see sfValidatorDate */ protected function configure($options = array(), $messages = array()) { parent::configure($options, $messages); $this->setOption('with_time', true); } }
💾 保存
取消
保存为 UTF-8,换行统一为 LF