This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sonata_media: | |
contexts: | |
defaults: | |
providers: | |
- sonata.media.provider.dailymotion | |
- sonata.media.provider.youtube | |
- sonata.media.provider.image | |
- sonata.media.provider.file | |
formats: | |
small: { width: 100 , quality: 70} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% set form %} | |
{% block form %}{% endblock %} | |
{% endset %} | |
{% if form|length > 0 %} | |
<div class="sonata-ba-form"> | |
{{ form|raw }} | |
</div> | |
{% endif %} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
* This file is part of the Sonata package. | |
* | |
* (c) Thomas Rabaix <[email protected]> | |
* | |
* For the full copyright and license information, please view the LICENSE | |
* file that was distributed with this source code. | |
*/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
* This file is part of the Sonata package. | |
* | |
* (c) Thomas Rabaix <[email protected]> | |
* | |
* For the full copyright and license information, please view the LICENSE | |
* file that was distributed with this source code. | |
*/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* This method can be overwritten to tweak to form construction, by default the form | |
* is built by reading the FieldDescription | |
* | |
* @return void | |
*/ | |
protected function configureFormFields(Form $form) | |
{ | |
foreach ($this->getFormFields() as $fieldDescription) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% assetic 'bundles/sonatablueprint/*.css', filter='google_closure_compiler', url='css/main.css' %} | |
<link href="{{ asset_url }}" type="text/css" rel="stylesheet" /> | |
{% endassetic %} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/Symfony/Component/Form/FieldFactory/ValidatorFieldFactoryGuesser.php b/src/Symfony/Component/Form/FieldFactory/ValidatorFieldFactoryGuesser.php | |
index 8af07d0..b4964cf 100644 | |
--- a/src/Symfony/Component/Form/FieldFactory/ValidatorFieldFactoryGuesser.php | |
+++ b/src/Symfony/Component/Form/FieldFactory/ValidatorFieldFactoryGuesser.php | |
@@ -81,14 +81,17 @@ class ValidatorFieldFactoryGuesser implements FieldFactoryGuesserInterface | |
{ | |
$guesses = array(); | |
$classMetadata = $this->metadataFactory->getClassMetadata($class); | |
- $memberMetadatas = $classMetadata->getMemberMetadatas($property); | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
* This file is part of the Symfony package. | |
* | |
* (c) Fabien Potencier <[email protected]> | |
* | |
* For the full copyright and license information, please view the LICENSE | |
* file that was distributed with this source code. | |
*/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
* This file is part of the Sonata project. | |
* | |
* (c) Thomas Rabaix <[email protected]> | |
* | |
* For the full copyright and license information, please view the LICENSE | |
* file that was distributed with this source code. | |
*/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
( ! ) Notice: ob_end_clean() [ref.outcontrol]: failed to delete buffer. No buffer to delete in /Users/thomas/Projects/kooqit/src/vendor/twig/lib/Twig/Template.php on line 172 | |
Call Stack | |
# Time Memory Function Location | |
1 0.0001 645032 {main}( ) ../index_dev.php:0 | |
2 0.0023 877336 Symfony\Component\HttpKernel\Kernel->handle( ) ../index_dev.php:12 | |
3 0.7366 5202704 Symfony\Bundle\FrameworkBundle\HttpKernel->handle( ) ../Kernel.php:134 | |
4 0.7366 5203424 Symfony\Component\HttpKernel\HttpKernel->handle( ) ../HttpKernel.php:39 | |
5 0.7366 5203424 Symfony\Component\HttpKernel\HttpKernel->handleRaw( ) ../HttpKernel.php:49 | |
6 0.7505 5888680 Symfony\Component\HttpKernel\HttpKernel->filterResponse( ) ../HttpKernel.php:113 |