X7ROOT File Manager
Current Path:
/opt/alt/php55/usr/share/pear/Symfony/Component/Form/Extension/Core/Type
opt
/
alt
/
php55
/
usr
/
share
/
pear
/
Symfony
/
Component
/
Form
/
Extension
/
Core
/
Type
/
??
..
??
BaseType.php
(4.32 KB)
??
BirthdayType.php
(886 B)
??
ButtonType.php
(1023 B)
??
CheckboxType.php
(2.08 KB)
??
ChoiceType.php
(10.91 KB)
??
CollectionType.php
(2.92 KB)
??
CountryType.php
(930 B)
??
CurrencyType.php
(935 B)
??
DateTimeType.php
(9.9 KB)
??
DateType.php
(11.05 KB)
??
EmailType.php
(584 B)
??
FileType.php
(1.36 KB)
??
FormType.php
(7.01 KB)
??
HiddenType.php
(938 B)
??
IntegerType.php
(2.09 KB)
??
LanguageType.php
(935 B)
??
LocaleType.php
(964 B)
??
MoneyType.php
(3.14 KB)
??
NumberType.php
(1.98 KB)
??
PasswordType.php
(1.2 KB)
??
PercentType.php
(1.34 KB)
??
RadioType.php
(588 B)
??
RepeatedType.php
(2.01 KB)
??
ResetType.php
(746 B)
??
SearchType.php
(586 B)
??
SubmitType.php
(989 B)
??
TextType.php
(748 B)
??
TextareaType.php
(841 B)
??
TimeType.php
(7.74 KB)
??
TimezoneType.php
(2.07 KB)
??
UrlType.php
(1.18 KB)
Editing: UrlType.php
<?php /* * This file is part of the Symfony package. * * (c) Fabien Potencier <fabien@symfony.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\Form\Extension\Core\Type; use Symfony\Component\Form\AbstractType; use Symfony\Component\Form\FormBuilderInterface; use Symfony\Component\Form\Extension\Core\EventListener\FixUrlProtocolListener; use Symfony\Component\OptionsResolver\OptionsResolverInterface; class UrlType extends AbstractType { /** * {@inheritdoc} */ public function buildForm(FormBuilderInterface $builder, array $options) { $builder->addEventSubscriber(new FixUrlProtocolListener($options['default_protocol'])); } /** * {@inheritdoc} */ public function setDefaultOptions(OptionsResolverInterface $resolver) { $resolver->setDefaults(array( 'default_protocol' => 'http', )); } /** * {@inheritdoc} */ public function getParent() { return 'text'; } /** * {@inheritdoc} */ public function getName() { return 'url'; } }
Upload File
Create Folder