MINI
C:
/
php5.2.9
/
PEAR
/
symfony
/
lib
/
widget
/
Upload File:
files >> C:/php5.2.9/PEAR/symfony/lib/widget/sfWidgetFormInputFile.class.php
<?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. */ /** * sfWidgetFormInputFile represents an upload HTML input tag. * * @package symfony * @subpackage widget * @author Fabien Potencier <fabien.potencier@symfony-project.com> * @version SVN: $Id: sfWidgetFormInputFile.class.php 9046 2008-05-19 08:13:51Z FabianLange $ */ class sfWidgetFormInputFile extends sfWidgetFormInput { /** * @param array $options An array of options * @param array $attributes An array of default HTML attributes * * @see sfWidgetFormInput */ protected function configure($options = array(), $attributes = array()) { parent::configure($options, $attributes); $this->setOption('type', 'file'); $this->setOption('needs_multipart', true); } }
Copyright ©2021 || Defacer Indonesia