├── reference ├── configuration │ ├── debug.rst │ └── web_profiler.rst ├── forms │ ├── types │ │ ├── options │ │ │ ├── error_bubbling.rst.inc │ │ │ ├── mapped.rst.inc │ │ │ ├── with_minutes.rst.inc │ │ │ ├── with_seconds.rst.inc │ │ │ ├── button_translation_domain.rst.inc │ │ │ ├── translation_domain.rst.inc │ │ │ ├── hours.rst.inc │ │ │ ├── read_only.rst.inc │ │ │ ├── months.rst.inc │ │ │ ├── minutes.rst.inc │ │ │ ├── disabled.rst.inc │ │ │ ├── expanded.rst.inc │ │ │ ├── seconds.rst.inc │ │ │ ├── _error_bubbling_body.rst.inc │ │ │ ├── checkbox_compound.rst.inc │ │ │ ├── years.rst.inc │ │ │ ├── days.rst.inc │ │ │ ├── compound.rst.inc │ │ │ ├── model_timezone.rst.inc │ │ │ ├── _date_limitation.rst.inc │ │ │ ├── label.rst.inc │ │ │ ├── value.rst.inc │ │ │ ├── trim.rst.inc │ │ │ ├── auto_initialize.rst.inc │ │ │ ├── view_timezone.rst.inc │ │ │ ├── button_disabled.rst.inc │ │ │ ├── _error_bubbling_hint.rst.inc │ │ │ ├── block_name.rst.inc │ │ │ ├── checkbox_empty_data.rst.inc │ │ │ ├── multiple.rst.inc │ │ │ ├── extra_fields_message.rst.inc │ │ │ ├── grouping.rst.inc │ │ │ ├── inherit_data.rst.inc │ │ │ ├── data_class.rst.inc │ │ │ ├── precision.rst.inc │ │ │ ├── attr.rst.inc │ │ │ ├── button_attr.rst.inc │ │ │ ├── constraints.rst.inc │ │ │ ├── html5.rst.inc │ │ │ ├── action.rst.inc │ │ │ ├── post_max_size_message.rst.inc │ │ │ ├── date_input.rst.inc │ │ │ ├── required.rst.inc │ │ │ ├── button_label.rst.inc │ │ │ ├── max_length.rst.inc │ │ │ ├── data.rst.inc │ │ │ ├── date_widget.rst.inc │ │ │ ├── pattern.rst.inc │ │ │ ├── property_path.rst.inc │ │ │ ├── invalid_message_parameters.rst.inc │ │ │ ├── cascade_validation.rst.inc │ │ │ ├── invalid_message.rst.inc │ │ │ ├── label_attr.rst.inc │ │ │ ├── select_how_rendered.rst.inc │ │ │ ├── date_format.rst.inc │ │ │ ├── method.rst.inc │ │ │ ├── empty_data.rst.inc │ │ │ ├── preferred_choices.rst.inc │ │ │ ├── placeholder.rst.inc │ │ │ ├── error_mapping.rst.inc │ │ │ └── by_reference.rst.inc │ │ ├── variables │ │ │ └── check_or_radio_table.rst.inc │ │ ├── reset.rst │ │ ├── map.rst.inc │ │ ├── button.rst │ │ └── hidden.rst │ └── types.rst ├── constraints │ ├── _comparison-value-option.rst.inc │ ├── Null.rst │ ├── True.rst │ ├── False.rst │ └── _payload-option.rst.inc ├── index.rst ├── map.rst.inc ├── constraints.rst └── requirements.rst ├── components ├── console │ ├── helpers │ │ ├── debug_formatter.rst │ │ ├── processhelper.rst │ │ ├── index.rst │ │ └── map.rst.inc │ ├── index.rst │ ├── changing_default_command.rst │ └── single_command_tool.rst ├── filesystem │ ├── lock_handler.rst │ └── index.rst ├── asset │ ├── index.rst │ └── introduction.rst ├── http_kernel │ └── index.rst ├── yaml │ └── index.rst ├── debug │ ├── index.rst │ ├── class_loader.rst │ └── introduction.rst ├── property_access │ └── index.rst ├── routing │ └── index.rst ├── var_dumper │ ├── index.rst │ ├── introduction.rst │ └── advanced.rst ├── templating │ ├── index.rst │ └── helpers │ │ ├── map.rst.inc │ │ └── index.rst ├── form │ └── index.rst ├── config │ ├── index.rst │ ├── introduction.rst │ └── caching.rst ├── translation │ └── index.rst ├── security │ ├── index.rst │ ├── introduction.rst │ └── secure_tools.rst ├── expression_language │ └── index.rst ├── dependency_injection │ ├── synthetic_services.rst │ ├── index.rst │ └── _imports-parameters-note.rst.inc ├── require_autoload.rst.inc ├── event_dispatcher │ ├── index.rst │ ├── immutable_dispatcher.rst │ └── traceable_dispatcher.rst ├── http_foundation │ ├── index.rst │ ├── session_php_bridge.rst │ ├── session_testing.rst │ └── trusting_proxies.rst ├── class_loader │ ├── index.rst │ ├── debug_class_loader.rst │ ├── map_class_loader.rst │ ├── introduction.rst │ ├── psr4_class_loader.rst │ └── cache_class_loader.rst └── index.rst ├── images ├── http-xkcd.png ├── request-flow.png ├── book │ ├── form-simple.png │ ├── form-simple2.png │ ├── doctrine_image_1.png │ ├── doctrine_image_2.png │ ├── doctrine_image_3.png │ ├── translation │ │ ├── debug_1.png │ │ ├── debug_2.png │ │ ├── debug_3.png │ │ └── debug_4.png │ ├── security_anonymous_wdt.png │ ├── symfony_loggedin_wdt.png │ ├── doctrine_web_debug_toolbar.png │ └── security_http_basic_popup.png ├── http-xkcd-request.png ├── release-process.jpg ├── quick_tour │ ├── profiler.png │ ├── welcome.png │ ├── hello_fabien.png │ └── web_debug_toolbar.png ├── components │ ├── console │ │ ├── table.png │ │ ├── progress.png │ │ ├── progressbar.gif │ │ ├── debug_formatter.png │ │ ├── process-helper-debug.png │ │ ├── process-helper-verbose.png │ │ └── process-helper-error-debug.png │ ├── form │ │ ├── general_flow.png │ │ ├── set_data_flow.png │ │ └── submission_flow.png │ ├── var_dumper │ │ ├── 09-cut.png │ │ ├── 01-simple.png │ │ ├── 03-object.png │ │ ├── 05-soft-ref.png │ │ ├── 06-constants.png │ │ ├── 07-hard-ref.png │ │ ├── 02-multi-line-str.png │ │ ├── 04-dynamic-property.png │ │ └── 08-virtual-property.png │ ├── http_kernel │ │ ├── 01-workflow.png │ │ ├── sub-request.png │ │ ├── 10-kernel-view.png │ │ ├── 02-kernel-request.png │ │ ├── 08-call-controller.png │ │ ├── 11-kernel-exception.png │ │ ├── 04-resolve-controller.png │ │ ├── 06-kernel-controller.png │ │ ├── request-response-flow.png │ │ ├── 07-controller-arguments.png │ │ ├── 03-kernel-request-response.png │ │ └── 09-controller-returns-response.png │ └── serializer │ │ └── serializer_workflow.png ├── contributing │ ├── release-process.jpg │ └── docs-pull-request-change-base.png ├── docs-pull-request-change-base.png └── cookbook │ ├── deprecations-in-profiler.png │ ├── form │ └── DataTransformersTypes.png │ ├── deployment │ └── azure-website │ │ ├── step-01.png │ │ ├── step-02.png │ │ ├── step-03.png │ │ ├── step-04.png │ │ ├── step-05.png │ │ ├── step-06.png │ │ ├── step-07.png │ │ ├── step-08.png │ │ ├── step-09.png │ │ ├── step-10.png │ │ ├── step-11.png │ │ ├── step-12.png │ │ ├── step-13.png │ │ ├── step-14.png │ │ ├── step-15.png │ │ ├── step-16.png │ │ ├── step-17.png │ │ └── step-18.png │ └── controller │ └── error_pages │ ├── errors-in-prod-environment.png │ └── exceptions-in-dev-environment.png ├── cookbook ├── frontend │ └── index.rst ├── web_server │ ├── index.rst │ └── built_in.rst ├── expression │ └── index.rst ├── cache │ ├── index.rst │ └── form_csrf_caching.rst ├── web_services │ └── index.rst ├── controller │ └── index.rst ├── validation │ ├── index.rst │ └── severity.rst ├── request │ └── index.rst ├── workflow │ └── index.rst ├── deployment │ └── index.rst ├── profiler │ ├── index.rst │ └── profiling_data.rst ├── email │ ├── index.rst │ ├── gmail.rst │ └── testing.rst ├── service_container │ ├── index.rst │ └── compiler_passes.rst ├── assetic │ └── index.rst ├── event_dispatcher │ ├── index.rst │ └── method_behavior.rst ├── logging │ ├── index.rst │ └── monolog_regex_based_excludes.rst ├── templating │ └── index.rst ├── console │ ├── command_in_controller.rst │ ├── index.rst │ └── usage.rst ├── testing │ ├── index.rst │ ├── bootstrap.rst │ ├── insulating_clients.rst │ ├── http_authentication.rst │ ├── doctrine.rst │ └── simulating_authentication.rst ├── bundles │ └── index.rst ├── session │ ├── index.rst │ ├── avoid_session_start.rst │ └── proxy_examples.rst ├── form │ ├── use_virtuals_forms.rst │ └── index.rst ├── routing │ ├── index.rst │ ├── extra_information.rst │ └── scheme.rst ├── security │ ├── host_restriction.rst │ ├── _ircmaxwell_password-compat.rst.inc │ ├── index.rst │ ├── _supportsToken.rst.inc │ ├── voter_interface.rst.inc │ └── force_https.rst ├── configuration │ └── index.rst ├── doctrine │ ├── index.rst │ ├── console.rst │ └── common_extensions.rst ├── upgrade │ ├── index.rst │ ├── _update_all_packages.rst.inc │ ├── patch_version.rst │ └── minor_version.rst ├── index.rst ├── composer.rst └── debugging.rst ├── contributing ├── community │ ├── reviews.rst │ ├── index.rst │ └── other.rst ├── index.rst ├── documentation │ ├── index.rst │ └── license.rst ├── code │ ├── index.rst │ ├── _api_tagging.rst.inc │ ├── git.rst │ ├── license.rst │ ├── bugs.rst │ └── tests.rst └── map.rst.inc ├── .gitignore ├── book ├── configuration.rst ├── index.rst ├── map.rst.inc └── includes │ └── _service_container_my_mailer.rst.inc ├── quick_tour └── index.rst ├── best_practices ├── index.rst └── map.rst.inc └── index.rst /reference/configuration/debug.rst: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /components/console/helpers/debug_formatter.rst: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /components/console/helpers/processhelper.rst: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /components/filesystem/lock_handler.rst: -------------------------------------------------------------------------------- 1 | LockHandler 2 | =========== 3 | 4 | (TODO da tradurre...) -------------------------------------------------------------------------------- /images/http-xkcd.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/garak/symfony-docs-it/HEAD/images/http-xkcd.png -------------------------------------------------------------------------------- /images/request-flow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/garak/symfony-docs-it/HEAD/images/request-flow.png -------------------------------------------------------------------------------- /images/book/form-simple.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/garak/symfony-docs-it/HEAD/images/book/form-simple.png -------------------------------------------------------------------------------- /images/book/form-simple2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/garak/symfony-docs-it/HEAD/images/book/form-simple2.png -------------------------------------------------------------------------------- /images/http-xkcd-request.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/garak/symfony-docs-it/HEAD/images/http-xkcd-request.png -------------------------------------------------------------------------------- /images/release-process.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/garak/symfony-docs-it/HEAD/images/release-process.jpg -------------------------------------------------------------------------------- /components/asset/index.rst: -------------------------------------------------------------------------------- 1 | Asset 2 | ===== 3 | 4 | .. toctree:: 5 | :maxdepth: 2 6 | 7 | introduction 8 | -------------------------------------------------------------------------------- /cookbook/frontend/index.rst: -------------------------------------------------------------------------------- 1 | Frontend 2 | ======== 3 | 4 | .. toctree:: 5 | :maxdepth: 2 6 | 7 | bower 8 | -------------------------------------------------------------------------------- /images/quick_tour/profiler.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/garak/symfony-docs-it/HEAD/images/quick_tour/profiler.png -------------------------------------------------------------------------------- /images/quick_tour/welcome.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/garak/symfony-docs-it/HEAD/images/quick_tour/welcome.png -------------------------------------------------------------------------------- /contributing/community/reviews.rst: -------------------------------------------------------------------------------- 1 | Revisioni della comunità 2 | ======================== 3 | 4 | (TODO da tradurre...) 5 | -------------------------------------------------------------------------------- /images/book/doctrine_image_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/garak/symfony-docs-it/HEAD/images/book/doctrine_image_1.png -------------------------------------------------------------------------------- /images/book/doctrine_image_2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/garak/symfony-docs-it/HEAD/images/book/doctrine_image_2.png -------------------------------------------------------------------------------- /images/book/doctrine_image_3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/garak/symfony-docs-it/HEAD/images/book/doctrine_image_3.png -------------------------------------------------------------------------------- /cookbook/web_server/index.rst: -------------------------------------------------------------------------------- 1 | Server web 2 | ========== 3 | 4 | .. toctree:: 5 | :maxdepth: 2 6 | 7 | built_in 8 | -------------------------------------------------------------------------------- /images/book/translation/debug_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/garak/symfony-docs-it/HEAD/images/book/translation/debug_1.png -------------------------------------------------------------------------------- /images/book/translation/debug_2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/garak/symfony-docs-it/HEAD/images/book/translation/debug_2.png -------------------------------------------------------------------------------- /images/book/translation/debug_3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/garak/symfony-docs-it/HEAD/images/book/translation/debug_3.png -------------------------------------------------------------------------------- /images/book/translation/debug_4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/garak/symfony-docs-it/HEAD/images/book/translation/debug_4.png -------------------------------------------------------------------------------- /images/components/console/table.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/garak/symfony-docs-it/HEAD/images/components/console/table.png -------------------------------------------------------------------------------- /images/quick_tour/hello_fabien.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/garak/symfony-docs-it/HEAD/images/quick_tour/hello_fabien.png -------------------------------------------------------------------------------- /components/http_kernel/index.rst: -------------------------------------------------------------------------------- 1 | HttpKernel 2 | ========== 3 | 4 | .. toctree:: 5 | :maxdepth: 2 6 | 7 | introduction 8 | -------------------------------------------------------------------------------- /components/yaml/index.rst: -------------------------------------------------------------------------------- 1 | Yaml 2 | ==== 3 | 4 | .. toctree:: 5 | :maxdepth: 2 6 | 7 | introduction 8 | yaml_format 9 | -------------------------------------------------------------------------------- /cookbook/expression/index.rst: -------------------------------------------------------------------------------- 1 | Espressioni 2 | =========== 3 | 4 | .. toctree:: 5 | :maxdepth: 2 6 | 7 | expressions 8 | -------------------------------------------------------------------------------- /images/book/security_anonymous_wdt.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/garak/symfony-docs-it/HEAD/images/book/security_anonymous_wdt.png -------------------------------------------------------------------------------- /images/book/symfony_loggedin_wdt.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/garak/symfony-docs-it/HEAD/images/book/symfony_loggedin_wdt.png -------------------------------------------------------------------------------- /images/components/console/progress.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/garak/symfony-docs-it/HEAD/images/components/console/progress.png -------------------------------------------------------------------------------- /components/debug/index.rst: -------------------------------------------------------------------------------- 1 | Debug 2 | ===== 3 | 4 | .. toctree:: 5 | :maxdepth: 2 6 | 7 | introduction 8 | class_loader 9 | -------------------------------------------------------------------------------- /cookbook/cache/index.rst: -------------------------------------------------------------------------------- 1 | Cache 2 | ===== 3 | 4 | .. toctree:: 5 | :maxdepth: 2 6 | 7 | varnish 8 | form_csrf_caching 9 | -------------------------------------------------------------------------------- /cookbook/web_services/index.rst: -------------------------------------------------------------------------------- 1 | Servizi web 2 | =========== 3 | 4 | .. toctree:: 5 | :maxdepth: 2 6 | 7 | php_soap_extension 8 | -------------------------------------------------------------------------------- /images/components/form/general_flow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/garak/symfony-docs-it/HEAD/images/components/form/general_flow.png -------------------------------------------------------------------------------- /images/components/form/set_data_flow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/garak/symfony-docs-it/HEAD/images/components/form/set_data_flow.png -------------------------------------------------------------------------------- /images/components/var_dumper/09-cut.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/garak/symfony-docs-it/HEAD/images/components/var_dumper/09-cut.png -------------------------------------------------------------------------------- /images/contributing/release-process.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/garak/symfony-docs-it/HEAD/images/contributing/release-process.jpg -------------------------------------------------------------------------------- /images/docs-pull-request-change-base.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/garak/symfony-docs-it/HEAD/images/docs-pull-request-change-base.png -------------------------------------------------------------------------------- /images/quick_tour/web_debug_toolbar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/garak/symfony-docs-it/HEAD/images/quick_tour/web_debug_toolbar.png -------------------------------------------------------------------------------- /components/property_access/index.rst: -------------------------------------------------------------------------------- 1 | PropertyAccess 2 | ============== 3 | 4 | .. toctree:: 5 | :maxdepth: 2 6 | 7 | introduction 8 | -------------------------------------------------------------------------------- /images/book/doctrine_web_debug_toolbar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/garak/symfony-docs-it/HEAD/images/book/doctrine_web_debug_toolbar.png -------------------------------------------------------------------------------- /images/book/security_http_basic_popup.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/garak/symfony-docs-it/HEAD/images/book/security_http_basic_popup.png -------------------------------------------------------------------------------- /images/components/console/progressbar.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/garak/symfony-docs-it/HEAD/images/components/console/progressbar.gif -------------------------------------------------------------------------------- /images/components/form/submission_flow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/garak/symfony-docs-it/HEAD/images/components/form/submission_flow.png -------------------------------------------------------------------------------- /images/components/var_dumper/01-simple.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/garak/symfony-docs-it/HEAD/images/components/var_dumper/01-simple.png -------------------------------------------------------------------------------- /images/components/var_dumper/03-object.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/garak/symfony-docs-it/HEAD/images/components/var_dumper/03-object.png -------------------------------------------------------------------------------- /components/routing/index.rst: -------------------------------------------------------------------------------- 1 | Routing 2 | ======= 3 | 4 | .. toctree:: 5 | :maxdepth: 2 6 | 7 | introduction 8 | hostname_pattern 9 | -------------------------------------------------------------------------------- /components/var_dumper/index.rst: -------------------------------------------------------------------------------- 1 | VarDumper 2 | ========= 3 | 4 | .. toctree:: 5 | :maxdepth: 2 6 | 7 | introduction 8 | advanced 9 | -------------------------------------------------------------------------------- /cookbook/controller/index.rst: -------------------------------------------------------------------------------- 1 | Controllore 2 | =========== 3 | 4 | .. toctree:: 5 | :maxdepth: 2 6 | 7 | error_pages 8 | service 9 | -------------------------------------------------------------------------------- /images/components/console/debug_formatter.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/garak/symfony-docs-it/HEAD/images/components/console/debug_formatter.png -------------------------------------------------------------------------------- /images/components/http_kernel/01-workflow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/garak/symfony-docs-it/HEAD/images/components/http_kernel/01-workflow.png -------------------------------------------------------------------------------- /images/components/http_kernel/sub-request.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/garak/symfony-docs-it/HEAD/images/components/http_kernel/sub-request.png -------------------------------------------------------------------------------- /images/components/var_dumper/05-soft-ref.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/garak/symfony-docs-it/HEAD/images/components/var_dumper/05-soft-ref.png -------------------------------------------------------------------------------- /images/components/var_dumper/06-constants.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/garak/symfony-docs-it/HEAD/images/components/var_dumper/06-constants.png -------------------------------------------------------------------------------- /images/components/var_dumper/07-hard-ref.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/garak/symfony-docs-it/HEAD/images/components/var_dumper/07-hard-ref.png -------------------------------------------------------------------------------- /images/cookbook/deprecations-in-profiler.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/garak/symfony-docs-it/HEAD/images/cookbook/deprecations-in-profiler.png -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | Makefile 2 | _build/ 3 | _exts/ 4 | _static/ 5 | _templates/ 6 | conf.py 7 | favicon.ico 8 | rsync.sh 9 | symfony_black_03.png 10 | -------------------------------------------------------------------------------- /components/filesystem/index.rst: -------------------------------------------------------------------------------- 1 | Filesystem 2 | ========== 3 | 4 | .. toctree:: 5 | :maxdepth: 2 6 | 7 | introduction 8 | lock_handler 9 | -------------------------------------------------------------------------------- /components/templating/index.rst: -------------------------------------------------------------------------------- 1 | Templating 2 | ========== 3 | 4 | .. toctree:: 5 | :maxdepth: 2 6 | 7 | introduction 8 | helpers/index 9 | -------------------------------------------------------------------------------- /cookbook/validation/index.rst: -------------------------------------------------------------------------------- 1 | Validazione 2 | =========== 3 | 4 | .. toctree:: 5 | :maxdepth: 2 6 | 7 | custom_constraint 8 | severity 9 | -------------------------------------------------------------------------------- /images/components/http_kernel/10-kernel-view.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/garak/symfony-docs-it/HEAD/images/components/http_kernel/10-kernel-view.png -------------------------------------------------------------------------------- /images/cookbook/form/DataTransformersTypes.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/garak/symfony-docs-it/HEAD/images/cookbook/form/DataTransformersTypes.png -------------------------------------------------------------------------------- /components/templating/helpers/map.rst.inc: -------------------------------------------------------------------------------- 1 | * :doc:`/components/templating/helpers/slotshelper` 2 | * :doc:`/components/templating/helpers/assetshelper` 3 | -------------------------------------------------------------------------------- /cookbook/request/index.rst: -------------------------------------------------------------------------------- 1 | Richiesta 2 | ========= 3 | 4 | .. toctree:: 5 | :maxdepth: 2 6 | 7 | load_balancer_reverse_proxy 8 | mime_type 9 | -------------------------------------------------------------------------------- /images/components/console/process-helper-debug.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/garak/symfony-docs-it/HEAD/images/components/console/process-helper-debug.png -------------------------------------------------------------------------------- /images/components/var_dumper/02-multi-line-str.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/garak/symfony-docs-it/HEAD/images/components/var_dumper/02-multi-line-str.png -------------------------------------------------------------------------------- /components/form/index.rst: -------------------------------------------------------------------------------- 1 | Form 2 | ==== 3 | 4 | .. toctree:: 5 | :maxdepth: 2 6 | 7 | introduction 8 | type_guesser 9 | form_events 10 | -------------------------------------------------------------------------------- /contributing/community/index.rst: -------------------------------------------------------------------------------- 1 | Comunità 2 | ======== 3 | 4 | .. toctree:: 5 | :maxdepth: 2 6 | 7 | releases 8 | reviews 9 | other 10 | -------------------------------------------------------------------------------- /images/components/console/process-helper-verbose.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/garak/symfony-docs-it/HEAD/images/components/console/process-helper-verbose.png -------------------------------------------------------------------------------- /images/components/http_kernel/02-kernel-request.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/garak/symfony-docs-it/HEAD/images/components/http_kernel/02-kernel-request.png -------------------------------------------------------------------------------- /images/components/http_kernel/08-call-controller.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/garak/symfony-docs-it/HEAD/images/components/http_kernel/08-call-controller.png -------------------------------------------------------------------------------- /images/components/http_kernel/11-kernel-exception.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/garak/symfony-docs-it/HEAD/images/components/http_kernel/11-kernel-exception.png -------------------------------------------------------------------------------- /images/components/serializer/serializer_workflow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/garak/symfony-docs-it/HEAD/images/components/serializer/serializer_workflow.png -------------------------------------------------------------------------------- /images/components/var_dumper/04-dynamic-property.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/garak/symfony-docs-it/HEAD/images/components/var_dumper/04-dynamic-property.png -------------------------------------------------------------------------------- /images/components/var_dumper/08-virtual-property.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/garak/symfony-docs-it/HEAD/images/components/var_dumper/08-virtual-property.png -------------------------------------------------------------------------------- /images/contributing/docs-pull-request-change-base.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/garak/symfony-docs-it/HEAD/images/contributing/docs-pull-request-change-base.png -------------------------------------------------------------------------------- /images/cookbook/deployment/azure-website/step-01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/garak/symfony-docs-it/HEAD/images/cookbook/deployment/azure-website/step-01.png -------------------------------------------------------------------------------- /images/cookbook/deployment/azure-website/step-02.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/garak/symfony-docs-it/HEAD/images/cookbook/deployment/azure-website/step-02.png -------------------------------------------------------------------------------- /images/cookbook/deployment/azure-website/step-03.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/garak/symfony-docs-it/HEAD/images/cookbook/deployment/azure-website/step-03.png -------------------------------------------------------------------------------- /images/cookbook/deployment/azure-website/step-04.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/garak/symfony-docs-it/HEAD/images/cookbook/deployment/azure-website/step-04.png -------------------------------------------------------------------------------- /images/cookbook/deployment/azure-website/step-05.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/garak/symfony-docs-it/HEAD/images/cookbook/deployment/azure-website/step-05.png -------------------------------------------------------------------------------- /images/cookbook/deployment/azure-website/step-06.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/garak/symfony-docs-it/HEAD/images/cookbook/deployment/azure-website/step-06.png -------------------------------------------------------------------------------- /images/cookbook/deployment/azure-website/step-07.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/garak/symfony-docs-it/HEAD/images/cookbook/deployment/azure-website/step-07.png -------------------------------------------------------------------------------- /images/cookbook/deployment/azure-website/step-08.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/garak/symfony-docs-it/HEAD/images/cookbook/deployment/azure-website/step-08.png -------------------------------------------------------------------------------- /images/cookbook/deployment/azure-website/step-09.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/garak/symfony-docs-it/HEAD/images/cookbook/deployment/azure-website/step-09.png -------------------------------------------------------------------------------- /images/cookbook/deployment/azure-website/step-10.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/garak/symfony-docs-it/HEAD/images/cookbook/deployment/azure-website/step-10.png -------------------------------------------------------------------------------- /images/cookbook/deployment/azure-website/step-11.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/garak/symfony-docs-it/HEAD/images/cookbook/deployment/azure-website/step-11.png -------------------------------------------------------------------------------- /images/cookbook/deployment/azure-website/step-12.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/garak/symfony-docs-it/HEAD/images/cookbook/deployment/azure-website/step-12.png -------------------------------------------------------------------------------- /images/cookbook/deployment/azure-website/step-13.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/garak/symfony-docs-it/HEAD/images/cookbook/deployment/azure-website/step-13.png -------------------------------------------------------------------------------- /images/cookbook/deployment/azure-website/step-14.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/garak/symfony-docs-it/HEAD/images/cookbook/deployment/azure-website/step-14.png -------------------------------------------------------------------------------- /images/cookbook/deployment/azure-website/step-15.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/garak/symfony-docs-it/HEAD/images/cookbook/deployment/azure-website/step-15.png -------------------------------------------------------------------------------- /images/cookbook/deployment/azure-website/step-16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/garak/symfony-docs-it/HEAD/images/cookbook/deployment/azure-website/step-16.png -------------------------------------------------------------------------------- /images/cookbook/deployment/azure-website/step-17.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/garak/symfony-docs-it/HEAD/images/cookbook/deployment/azure-website/step-17.png -------------------------------------------------------------------------------- /images/cookbook/deployment/azure-website/step-18.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/garak/symfony-docs-it/HEAD/images/cookbook/deployment/azure-website/step-18.png -------------------------------------------------------------------------------- /cookbook/workflow/index.rst: -------------------------------------------------------------------------------- 1 | Flusso di lavoro 2 | ================ 3 | 4 | .. toctree:: 5 | :maxdepth: 2 6 | 7 | new_project_git 8 | new_project_svn 9 | -------------------------------------------------------------------------------- /images/components/http_kernel/04-resolve-controller.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/garak/symfony-docs-it/HEAD/images/components/http_kernel/04-resolve-controller.png -------------------------------------------------------------------------------- /images/components/http_kernel/06-kernel-controller.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/garak/symfony-docs-it/HEAD/images/components/http_kernel/06-kernel-controller.png -------------------------------------------------------------------------------- /images/components/http_kernel/request-response-flow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/garak/symfony-docs-it/HEAD/images/components/http_kernel/request-response-flow.png -------------------------------------------------------------------------------- /images/components/console/process-helper-error-debug.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/garak/symfony-docs-it/HEAD/images/components/console/process-helper-error-debug.png -------------------------------------------------------------------------------- /images/components/http_kernel/07-controller-arguments.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/garak/symfony-docs-it/HEAD/images/components/http_kernel/07-controller-arguments.png -------------------------------------------------------------------------------- /images/components/http_kernel/03-kernel-request-response.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/garak/symfony-docs-it/HEAD/images/components/http_kernel/03-kernel-request-response.png -------------------------------------------------------------------------------- /components/config/index.rst: -------------------------------------------------------------------------------- 1 | Config 2 | ====== 3 | 4 | .. toctree:: 5 | :maxdepth: 2 6 | 7 | introduction 8 | resources 9 | caching 10 | definition 11 | -------------------------------------------------------------------------------- /components/translation/index.rst: -------------------------------------------------------------------------------- 1 | Translation 2 | =========== 3 | 4 | .. toctree:: 5 | :maxdepth: 2 6 | 7 | introduction 8 | usage 9 | custom_formats 10 | -------------------------------------------------------------------------------- /cookbook/deployment/index.rst: -------------------------------------------------------------------------------- 1 | Deploy 2 | ====== 3 | 4 | .. toctree:: 5 | :maxdepth: 2 6 | 7 | tools 8 | azure-website 9 | heroku 10 | platformsh 11 | -------------------------------------------------------------------------------- /book/configuration.rst: -------------------------------------------------------------------------------- 1 | .. index:: 2 | single: Configurazione 3 | 4 | Configurare Symfony (e gli ambienti) 5 | ==================================== 6 | 7 | (TODO da tradure...) 8 | -------------------------------------------------------------------------------- /components/asset/introduction.rst: -------------------------------------------------------------------------------- 1 | .. index:: 2 | single: Asset 3 | single: Componenti; Asset 4 | 5 | Il componente Asset 6 | =================== 7 | 8 | (TODO da tradurre...) 9 | -------------------------------------------------------------------------------- /images/components/http_kernel/09-controller-returns-response.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/garak/symfony-docs-it/HEAD/images/components/http_kernel/09-controller-returns-response.png -------------------------------------------------------------------------------- /cookbook/profiler/index.rst: -------------------------------------------------------------------------------- 1 | Profilatore 2 | =========== 3 | 4 | .. toctree:: 5 | :maxdepth: 2 6 | 7 | data_collector 8 | matchers 9 | storage 10 | profiling_data 11 | -------------------------------------------------------------------------------- /images/cookbook/controller/error_pages/errors-in-prod-environment.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/garak/symfony-docs-it/HEAD/images/cookbook/controller/error_pages/errors-in-prod-environment.png -------------------------------------------------------------------------------- /quick_tour/index.rst: -------------------------------------------------------------------------------- 1 | Giro rapido 2 | =========== 3 | 4 | .. toctree:: 5 | :maxdepth: 1 6 | 7 | the_big_picture 8 | the_view 9 | the_controller 10 | the_architecture 11 | -------------------------------------------------------------------------------- /components/var_dumper/introduction.rst: -------------------------------------------------------------------------------- 1 | .. index:: 2 | single: VarDumper 3 | single: Componenti; VarDumper 4 | 5 | Il componente VarDumper 6 | ======================= 7 | 8 | (TODO da tradurre...) -------------------------------------------------------------------------------- /cookbook/email/index.rst: -------------------------------------------------------------------------------- 1 | Email 2 | ===== 3 | 4 | .. toctree:: 5 | :maxdepth: 2 6 | 7 | email 8 | gmail 9 | cloud 10 | dev_environment 11 | spool 12 | testing 13 | -------------------------------------------------------------------------------- /images/cookbook/controller/error_pages/exceptions-in-dev-environment.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/garak/symfony-docs-it/HEAD/images/cookbook/controller/error_pages/exceptions-in-dev-environment.png -------------------------------------------------------------------------------- /components/security/index.rst: -------------------------------------------------------------------------------- 1 | Security 2 | ======== 3 | 4 | .. toctree:: 5 | :maxdepth: 2 6 | 7 | introduction 8 | firewall 9 | authentication 10 | authorization 11 | secure_tools -------------------------------------------------------------------------------- /cookbook/service_container/index.rst: -------------------------------------------------------------------------------- 1 | Contenitore di servizi 2 | ====================== 3 | 4 | .. toctree:: 5 | :maxdepth: 2 6 | 7 | event_listener 8 | scopes 9 | compiler_passes 10 | -------------------------------------------------------------------------------- /components/expression_language/index.rst: -------------------------------------------------------------------------------- 1 | Expression Language 2 | =================== 3 | 4 | .. toctree:: 5 | :maxdepth: 2 6 | 7 | introduction 8 | syntax 9 | extending 10 | caching 11 | -------------------------------------------------------------------------------- /cookbook/assetic/index.rst: -------------------------------------------------------------------------------- 1 | Assetic 2 | ======= 3 | 4 | .. toctree:: 5 | :maxdepth: 2 6 | 7 | asset_management 8 | uglifyjs 9 | yuicompressor 10 | jpeg_optimize 11 | apply_to_option 12 | -------------------------------------------------------------------------------- /cookbook/event_dispatcher/index.rst: -------------------------------------------------------------------------------- 1 | Distributore di eventi 2 | ====================== 3 | 4 | .. toctree:: 5 | :maxdepth: 2 6 | 7 | before_after_filters 8 | class_extension 9 | method_behavior 10 | -------------------------------------------------------------------------------- /cookbook/logging/index.rst: -------------------------------------------------------------------------------- 1 | Log 2 | === 3 | 4 | .. toctree:: 5 | :maxdepth: 2 6 | 7 | monolog 8 | monolog_email 9 | monolog_console 10 | monolog_regex_based_excludes 11 | channels_handlers 12 | -------------------------------------------------------------------------------- /cookbook/profiler/profiling_data.rst: -------------------------------------------------------------------------------- 1 | .. index:: 2 | single: Profilazione; Profilare dati 3 | 4 | Accedere sistematicamente ai dati profilati 5 | =========================================== 6 | 7 | (TODO da tradurre...) 8 | -------------------------------------------------------------------------------- /reference/forms/types/options/error_bubbling.rst.inc: -------------------------------------------------------------------------------- 1 | error_bubbling 2 | ~~~~~~~~~~~~~~ 3 | 4 | **tipo**: ``booleano`` **predefinito**: ``false`` 5 | 6 | .. include:: /reference/forms/types/options/_error_bubbling_body.rst.inc -------------------------------------------------------------------------------- /contributing/index.rst: -------------------------------------------------------------------------------- 1 | Contribuire 2 | =========== 3 | 4 | .. toctree:: 5 | :hidden: 6 | 7 | code/index 8 | documentation/index 9 | community/index 10 | 11 | .. include:: /contributing/map.rst.inc 12 | -------------------------------------------------------------------------------- /reference/constraints/_comparison-value-option.rst.inc: -------------------------------------------------------------------------------- 1 | value 2 | ~~~~~ 3 | 4 | **tipo**: ``mixed`` 5 | 6 | Questa opzione è obbligatoria. Definisce il valore di confronto. Può essere 7 | una stringa, un numero o un oggetto. 8 | -------------------------------------------------------------------------------- /components/dependency_injection/synthetic_services.rst: -------------------------------------------------------------------------------- 1 | .. index:: 2 | single: DependencyInjection; Servizi sintetici 3 | 4 | Iniettare istanze nel contenitore 5 | --------------------------------- 6 | 7 | (TODO da tradurre...) 8 | -------------------------------------------------------------------------------- /components/var_dumper/advanced.rst: -------------------------------------------------------------------------------- 1 | .. index:: 2 | single: VarDumper 3 | single: Componenti; VarDumper 4 | 5 | Utilizzo avanzato del componente VarDumper 6 | ========================================== 7 | 8 | (TODO da tradurre...) -------------------------------------------------------------------------------- /cookbook/templating/index.rst: -------------------------------------------------------------------------------- 1 | Template 2 | ======== 3 | 4 | .. toctree:: 5 | :maxdepth: 2 6 | 7 | global_variables 8 | namespaced_paths 9 | PHP 10 | twig_extension 11 | render_without_controller 12 | -------------------------------------------------------------------------------- /cookbook/validation/severity.rst: -------------------------------------------------------------------------------- 1 | .. index:: 2 | single: Validazione; Livelli di errore 3 | single: Validazione; Payload 4 | 5 | Gestire diversi livelli di errore 6 | ================================= 7 | 8 | (TODO da tradurre...) 9 | -------------------------------------------------------------------------------- /cookbook/console/command_in_controller.rst: -------------------------------------------------------------------------------- 1 | .. index:: 2 | single: Console; Richiamare un comando da un controllore 3 | 4 | Richiamare un comando da un controllore 5 | ======================================= 6 | 7 | (TODO da tradurre...) 8 | -------------------------------------------------------------------------------- /cookbook/console/index.rst: -------------------------------------------------------------------------------- 1 | Console 2 | ======= 3 | 4 | .. toctree:: 5 | :maxdepth: 2 6 | 7 | console_command 8 | usage 9 | command_in_controller 10 | sending_emails 11 | logging 12 | commands_as_services 13 | -------------------------------------------------------------------------------- /reference/constraints/Null.rst: -------------------------------------------------------------------------------- 1 | Null 2 | ==== 3 | 4 | .. caution:: 5 | 6 | Il vincolo ``Null`` è deprecato da Symfony 2.7 7 | e sarà rimosso in Symfony 3.0. Usare il vincolo 8 | :doc:`/reference/constraints/IsNull` al suo posto. 9 | -------------------------------------------------------------------------------- /reference/constraints/True.rst: -------------------------------------------------------------------------------- 1 | True 2 | ==== 3 | 4 | .. caution:: 5 | 6 | Il vincolo ``True`` è deprecato da Symfony 2.7 7 | e sarà rimosso in Symfony 3.0. Usare il vincolo 8 | :doc:`/reference/constraints/IsTrue` al suo posto. 9 | -------------------------------------------------------------------------------- /reference/forms/types/options/mapped.rst.inc: -------------------------------------------------------------------------------- 1 | mapped 2 | ~~~~~~ 3 | 4 | **tipo**: ``booleano`` 5 | 6 | Se si vuole che il campo sia ignorato durante la lettura o la scrittura dell'oggetto, 7 | si può impostare l'opzione ``mapped`` a ``false`` 8 | -------------------------------------------------------------------------------- /reference/constraints/False.rst: -------------------------------------------------------------------------------- 1 | False 2 | ===== 3 | 4 | .. caution:: 5 | 6 | Il vincolo ``False`` è deprecato da Symfony 2.7 7 | e sarà rimosso in Symfony 3.0. Usare il vincolo 8 | :doc:`/reference/constraints/IsFalse` al suo posto. 9 | -------------------------------------------------------------------------------- /reference/forms/types/options/with_minutes.rst.inc: -------------------------------------------------------------------------------- 1 | with_minutes 2 | ~~~~~~~~~~~~ 3 | 4 | **tipo**: ``Booleano`` **predefinito**: ``true`` 5 | 6 | Se includere o meno i minuti nell'input. Aggiungerà un ulteriore input 7 | per catturare i minuti. 8 | -------------------------------------------------------------------------------- /contributing/documentation/index.rst: -------------------------------------------------------------------------------- 1 | Contribuire alla documentazione 2 | =============================== 3 | 4 | .. toctree:: 5 | :maxdepth: 2 6 | 7 | overview 8 | format 9 | standards 10 | translations 11 | license 12 | -------------------------------------------------------------------------------- /reference/forms/types/options/with_seconds.rst.inc: -------------------------------------------------------------------------------- 1 | with_seconds 2 | ~~~~~~~~~~~~ 3 | 4 | **tipo**: ``booleano`` **predefinito**: ``false`` 5 | 6 | Se includere o meno i secondi nell'input. Se ``true``, ci sarà un campo aggiuntivo 7 | per inserire i secondi. -------------------------------------------------------------------------------- /components/require_autoload.rst.inc: -------------------------------------------------------------------------------- 1 | Quindi, richiedere il file ``vendor/autoload.php`` per abilitare il meccanismo di auto-caricamento 2 | fornito da Composer. Altrimenti, l'applicazione non sarà in grado di trovare le classi di 3 | questo componente di Symfony. 4 | -------------------------------------------------------------------------------- /cookbook/testing/index.rst: -------------------------------------------------------------------------------- 1 | Test 2 | ==== 3 | 4 | .. toctree:: 5 | :maxdepth: 2 6 | 7 | http_authentication 8 | simulating_authentication 9 | insulating_clients 10 | profiling 11 | database 12 | doctrine 13 | bootstrap 14 | -------------------------------------------------------------------------------- /reference/forms/types/options/button_translation_domain.rst.inc: -------------------------------------------------------------------------------- 1 | translation_domain 2 | ~~~~~~~~~~~~~~~~~~ 3 | 4 | **tipo**: ``stringa`` **predefinito**: ``messages`` 5 | 6 | Il dominio di traduzione che sarà usato per testi o opzioni 7 | resi per questo bottone. 8 | -------------------------------------------------------------------------------- /reference/forms/types/options/translation_domain.rst.inc: -------------------------------------------------------------------------------- 1 | translation_domain 2 | ~~~~~~~~~~~~~~~~~~ 3 | 4 | **tipo**: ``stringa`` **predefinito**: ``messages`` 5 | 6 | Il dominio di traduzione che sarà usato per qualsiasi label o option 7 | rese per questo campo. 8 | -------------------------------------------------------------------------------- /components/event_dispatcher/index.rst: -------------------------------------------------------------------------------- 1 | EventDispatcher 2 | =============== 3 | 4 | .. toctree:: 5 | :maxdepth: 2 6 | 7 | introduction 8 | container_aware_dispatcher 9 | generic_event 10 | immutable_dispatcher 11 | traceable_dispatcher 12 | -------------------------------------------------------------------------------- /cookbook/bundles/index.rst: -------------------------------------------------------------------------------- 1 | Bundle 2 | ====== 3 | 4 | .. toctree:: 5 | :maxdepth: 2 6 | 7 | installation 8 | best_practices 9 | inheritance 10 | override 11 | remove 12 | extension 13 | configuration 14 | prepend_extension 15 | -------------------------------------------------------------------------------- /cookbook/session/index.rst: -------------------------------------------------------------------------------- 1 | Sessioni 2 | ======== 3 | 4 | .. toctree:: 5 | :maxdepth: 2 6 | 7 | proxy_examples 8 | locale_sticky_session 9 | sessions_directory 10 | php_bridge 11 | limit_metadata_writes 12 | avoid_session_start 13 | -------------------------------------------------------------------------------- /reference/forms/types/options/hours.rst.inc: -------------------------------------------------------------------------------- 1 | hours 2 | ~~~~~ 3 | 4 | **tipo**: ``intero`` **predefinito**: da 1 a 23 5 | 6 | Lista di ore disponibili per il tipo di campo ``hours``. Questa opzione è rilevante 7 | solo se l'opzione ``widget`` è impostata a ``choice``. 8 | -------------------------------------------------------------------------------- /reference/forms/types/options/read_only.rst.inc: -------------------------------------------------------------------------------- 1 | read_only 2 | ~~~~~~~~~ 3 | 4 | **tipo**: ``booleano`` **predefinito**: ``false`` 5 | 6 | Se questa opzione è ``true``, il campo sarà reso con l'attributo ``disabled``, 7 | in modo che il campo non sia modificabile. 8 | -------------------------------------------------------------------------------- /reference/forms/types/options/months.rst.inc: -------------------------------------------------------------------------------- 1 | months 2 | ~~~~~~ 3 | 4 | **tipo**: ``array`` **predefinito**: da 1 a 12 5 | 6 | Lista di ore disponibili per il tipo di campo ``month``. Questa opzione è rilevante 7 | solo se l'opzione ``widget`` è impostata a ``choice``. 8 | -------------------------------------------------------------------------------- /components/http_foundation/index.rst: -------------------------------------------------------------------------------- 1 | HttpFoundation 2 | ============== 3 | 4 | .. toctree:: 5 | :maxdepth: 2 6 | 7 | introduction 8 | sessions 9 | session_configuration 10 | session_testing 11 | session_php_bridge 12 | trusting_proxies 13 | -------------------------------------------------------------------------------- /reference/forms/types/options/minutes.rst.inc: -------------------------------------------------------------------------------- 1 | minutes 2 | ~~~~~~~ 3 | 4 | **tipo**: ``intero`` **predefinito**: da 1 a 59 5 | 6 | Lista di minuti disponibili per il tipo di campo ``minutes``. Questa opzione è rilevante 7 | solo se l'opzione ``widget`` è impostata a ``choice``. 8 | -------------------------------------------------------------------------------- /reference/forms/types/options/disabled.rst.inc: -------------------------------------------------------------------------------- 1 | disabled 2 | ~~~~~~~~ 3 | 4 | **type**: ``booleano`` **default**: ``false`` 5 | 6 | Se non si vuole che l'utente modifichi il valore di un campo, si può impostare 7 | questa opzione a ``true``. Ogni valore inserito sarà ignorato. 8 | 9 | -------------------------------------------------------------------------------- /reference/forms/types/options/expanded.rst.inc: -------------------------------------------------------------------------------- 1 | expanded 2 | ~~~~~~~~ 3 | 4 | **tipo**: ``booleano`` **predefinito**: ``false`` 5 | 6 | Se ``true``, saranno resi dei bottoni radio o dei checkbox (a seconda del 7 | valore di ``multiple``). Se ``false``, sarà reso un elemento select. 8 | -------------------------------------------------------------------------------- /reference/forms/types/options/seconds.rst.inc: -------------------------------------------------------------------------------- 1 | seconds 2 | ~~~~~~~ 3 | 4 | **tipo**: ``intero`` **predefinito**: da 1 a 59 5 | 6 | Lista di secondi disponibili per il tipo di campo ``seconds``. Questa opzione è rilevante 7 | solo se l'opzione ``widget`` è impostata a ``choice``. 8 | -------------------------------------------------------------------------------- /components/console/index.rst: -------------------------------------------------------------------------------- 1 | Console 2 | ======= 3 | 4 | .. toctree:: 5 | :maxdepth: 2 6 | 7 | introduction 8 | usage 9 | changing_default_command 10 | single_command_tool 11 | console_arguments 12 | events 13 | logger 14 | helpers/index 15 | -------------------------------------------------------------------------------- /reference/forms/types/options/_error_bubbling_body.rst.inc: -------------------------------------------------------------------------------- 1 | Se ``true``, qualsiasi errore per questo campo sarà passato al campo genitore o al 2 | form. Per esempio, se impostato a ``true`` su un campo normale, qualsiasi errore per 3 | il campo sarà collegato al form principale, non al campo stesso. -------------------------------------------------------------------------------- /components/class_loader/index.rst: -------------------------------------------------------------------------------- 1 | ClassLoader 2 | =========== 3 | 4 | .. toctree:: 5 | :maxdepth: 2 6 | 7 | introduction 8 | class_loader 9 | psr4_class_loader 10 | map_class_loader 11 | cache_class_loader 12 | debug_class_loader 13 | class_map_generator 14 | -------------------------------------------------------------------------------- /contributing/code/index.rst: -------------------------------------------------------------------------------- 1 | Contribuire al codice 2 | ===================== 3 | 4 | .. toctree:: 5 | :maxdepth: 2 6 | 7 | bugs 8 | patches 9 | core_team 10 | security 11 | tests 12 | bc 13 | standards 14 | conventions 15 | git 16 | license 17 | -------------------------------------------------------------------------------- /cookbook/form/use_virtuals_forms.rst: -------------------------------------------------------------------------------- 1 | Come usare l'opzione Virtual nei form 2 | ===================================== 3 | 4 | A partire da Symfony 2.3, l'opzione ``virtual`` è stata rinominata ``inherit_data``. Si 5 | può approfondire la nuova opzione in ":doc:`/cookbook/form/inherit_data_option`". 6 | -------------------------------------------------------------------------------- /reference/forms/types/options/checkbox_compound.rst.inc: -------------------------------------------------------------------------------- 1 | compound 2 | ~~~~~~~~ 3 | 4 | **tipo**: ``booleano`` **predefinito**: ``false`` 5 | 6 | Questa opzione specifica se un form è composto. Tranne che 7 | per un checkbox, il valore predefinito viene sovrascritto con 8 | il valore ``false``. 9 | -------------------------------------------------------------------------------- /reference/forms/types/options/years.rst.inc: -------------------------------------------------------------------------------- 1 | years 2 | ~~~~~ 3 | 4 | **tipo**: ``array`` **predefinito**: da 5 anni prima a 5 dopo l'anno corrente 5 | 6 | Lista di ore disponibili per il tipo di campo ``year``. Questa opzione è rilevante 7 | solo se l'opzione ``widget`` è impostata a ``choice``. 8 | -------------------------------------------------------------------------------- /reference/forms/types/options/days.rst.inc: -------------------------------------------------------------------------------- 1 | days 2 | ~~~~ 3 | 4 | **tipo**: ``array`` **predefinito**: da 1 a 31 5 | 6 | Lista di giorni disponibili per il tipo di campo ``day``. Questa opzione è rilevante 7 | solo quando l'opzione ``widget`` è impostata a ``choice``:: 8 | 9 | 'days' => range(1, 31) 10 | -------------------------------------------------------------------------------- /cookbook/routing/index.rst: -------------------------------------------------------------------------------- 1 | Rotte 2 | ===== 3 | 4 | .. toctree:: 5 | :maxdepth: 2 6 | 7 | scheme 8 | slash_in_parameter 9 | redirect_in_config 10 | method_parameters 11 | service_container_parameters 12 | custom_route_loader 13 | redirect_trailing_slash 14 | extra_information 15 | -------------------------------------------------------------------------------- /reference/forms/types/options/compound.rst.inc: -------------------------------------------------------------------------------- 1 | compound 2 | ~~~~~~~~ 3 | 4 | **tipo**: ``booleano`` 5 | 6 | Questa opzione specifica se un form è composto. Questo non dipende dal fatto che il 7 | form abbia o meno dei figli. Un form può essere composto ma non avere alcun 8 | figlio (p.e. un form costituito da una collection vuota). 9 | -------------------------------------------------------------------------------- /cookbook/security/host_restriction.rst: -------------------------------------------------------------------------------- 1 | Limitare i firewall a un host specifico 2 | ======================================= 3 | 4 | A partire da Symfony 2.5, sono state aggiunte più possibilità di limitare i firewall. 5 | Si possono approfondire tutte le possibilità (inclusa ``host``) 6 | in ":doc:`/cookbook/security/firewall_restriction`". 7 | -------------------------------------------------------------------------------- /contributing/code/_api_tagging.rst.inc: -------------------------------------------------------------------------------- 1 | .. note:: 2 | 3 | Se si ritiene che una classe normale debba avere un tag ``@api``, 4 | inserire la propria richiesta in una `issue su GitHub`_. Sarà fatta una 5 | valutazione sull'opportunità di inserire il tag o meno. 6 | 7 | .. _issue su GitHub: https://github.com/symfony/symfony/issues/new 8 | -------------------------------------------------------------------------------- /reference/forms/types/options/model_timezone.rst.inc: -------------------------------------------------------------------------------- 1 | model_timezone 2 | ~~~~~~~~~~~~~~ 3 | 4 | **tipo**: ``stringa`` **predefinito**: fuso orario di sistema 5 | 6 | Fuso orario con cui vengono salvati i dati ricevuti. Deve essere uno dei 7 | `fusi orari supportati da PHP`_ 8 | 9 | .. _`fusi orari supportati da PHP`: http://php.net/manual/it/timezones.php -------------------------------------------------------------------------------- /reference/forms/types/options/_date_limitation.rst.inc: -------------------------------------------------------------------------------- 1 | .. caution:: 2 | 3 | Se si usa ``timestamp``, ``DateType`` è limitato a date tra il 4 | 13 dicembre 1901 20:45:54 GMT e il 19 gennaio 2038 03:14:07 GMT su sistemi a 32bit. 5 | Ciò è dovuto a un `limite in PHP stesso `_. 6 | -------------------------------------------------------------------------------- /components/class_loader/debug_class_loader.rst: -------------------------------------------------------------------------------- 1 | .. index:: 2 | single: ClassLoader; DebugClassLoader 3 | 4 | Debug di un ClassLoader 5 | ======================= 6 | 7 | A partire da Symfony 2.4, ``DebugClassLoader`` del componente ClassLoader è 8 | deprecato. Usare 9 | :doc:`DebugClassLoader fornito dal componente Debug `. 10 | -------------------------------------------------------------------------------- /reference/forms/types/options/label.rst.inc: -------------------------------------------------------------------------------- 1 | label 2 | ~~~~~ 3 | 4 | **tipo**: ``stringa`` **predefinito**: "indovinato" dal nome del campo 5 | 6 | Imposta la label usata per la resa del campo. La label può anche essere inserita 7 | direttamente all'interno del template: 8 | 9 | .. code-block:: jinja 10 | 11 | {{ form_label(form.name, 'Il tuo nome') }} 12 | -------------------------------------------------------------------------------- /reference/forms/types/options/value.rst.inc: -------------------------------------------------------------------------------- 1 | value 2 | ~~~~~ 3 | 4 | **tipo**: ``mixed`` **predefinito**: ``1`` 5 | 6 | Il valore usato effettivamente come valore per il bottone radio o checkbox. 7 | Non ha effetto sul valore impostato nell'oggetto. 8 | 9 | .. caution:: 10 | 11 | Per rendere un bottone radio o checkbox preselezionato, usare l'opzione 12 | `data`_. 13 | -------------------------------------------------------------------------------- /reference/forms/types/options/trim.rst.inc: -------------------------------------------------------------------------------- 1 | trim 2 | ~~~~ 3 | 4 | **tipo**: ``booleano`` **predefinito**: ``true`` 5 | 6 | Se ``true``, gli spazi vuoti della stringa inviata saranno eliminati, tramite 7 | la funzione ``trim()``. Questo garantisce che se un valore viene inserito con 8 | spazi vuoti superflui, questi vengano rimossi prima che il valore sia 9 | inserito nell'oggetto sottostante. -------------------------------------------------------------------------------- /cookbook/configuration/index.rst: -------------------------------------------------------------------------------- 1 | Configurazione 2 | ============== 3 | 4 | .. toctree:: 5 | :maxdepth: 2 6 | 7 | environments 8 | override_dir_structure 9 | using_parameters_in_dic 10 | front_controllers_and_kernel 11 | external_parameters 12 | pdo_session_storage 13 | apache_router 14 | web_server_configuration 15 | configuration_organization 16 | -------------------------------------------------------------------------------- /reference/forms/types/options/auto_initialize.rst.inc: -------------------------------------------------------------------------------- 1 | auto_initialize 2 | ~~~~~~~~~~~~~~~ 3 | 4 | **tipo**: ``booleano`` **predefinito**: ``true`` 5 | 6 | Un'opzione interna: dice se il form va inizializzato automaticamente. 7 | Per tutti i campi, questa opzione dovrebbe ssere ``true`` per form radice. Non 8 | occorre cambiare questa opzione e probabilmente non sarà necessario preoccuparsene. 9 | -------------------------------------------------------------------------------- /reference/forms/types/options/view_timezone.rst.inc: -------------------------------------------------------------------------------- 1 | view_timezone 2 | ~~~~~~~~~~~~~ 3 | 4 | **tipo**: ``stringa`` **predefinito**: fuso orario di sistema 5 | 6 | Fuso orario con cui i dati vanno mostrati all'utente (e quindi anche 7 | i dati che l'utente invia). Deve essere uno dei `fusi orari supportati da PHP`_ 8 | 9 | .. _`fusi orari supportati da PHP`: http://php.net/manual/it/timezones.php -------------------------------------------------------------------------------- /cookbook/doctrine/index.rst: -------------------------------------------------------------------------------- 1 | Doctrine 2 | ======== 3 | 4 | .. toctree:: 5 | :maxdepth: 2 6 | 7 | file_uploads 8 | common_extensions 9 | event_listeners_subscribers 10 | dbal 11 | reverse_engineering 12 | multiple_entity_managers 13 | custom_dql_functions 14 | resolve_target_entity 15 | mapping_model_classes 16 | registration_form 17 | console 18 | -------------------------------------------------------------------------------- /reference/forms/types/options/button_disabled.rst.inc: -------------------------------------------------------------------------------- 1 | disabled 2 | ~~~~~~~~ 3 | 4 | **tipo**: ``boolean`` **predefinito**: ``false`` 5 | 6 | Se non si vuole che sia possibile cliccare un bottone, si può impostare questa 7 | opzione a ``true``. Non sarà possibile inviare il form con questo bottone, 8 | nemmeno aggirando il browser e inviando la richiesta a mano, per 9 | esempio con cURL. 10 | -------------------------------------------------------------------------------- /reference/forms/types/variables/check_or_radio_table.rst.inc: -------------------------------------------------------------------------------- 1 | ========= ============ ========================================= 2 | Variabile Tipo Uso 3 | ========= ============ ========================================= 4 | checked ``booleano`` Se l'input corrente è selezionato o meno. 5 | ========= ============ ========================================= 6 | -------------------------------------------------------------------------------- /components/dependency_injection/index.rst: -------------------------------------------------------------------------------- 1 | DependencyInjection 2 | =================== 3 | 4 | .. toctree:: 5 | :maxdepth: 2 6 | 7 | introduction 8 | types 9 | parameters 10 | definitions 11 | synthetic_services 12 | compilation 13 | tags 14 | factories 15 | configurators 16 | parentservices 17 | advanced 18 | lazy_services 19 | workflow 20 | -------------------------------------------------------------------------------- /best_practices/index.rst: -------------------------------------------------------------------------------- 1 | Best practice ufficiali di Symfony 2 | ================================== 3 | 4 | .. toctree:: 5 | :hidden: 6 | 7 | introduction 8 | creating-the-project 9 | configuration 10 | business-logic 11 | controllers 12 | templates 13 | forms 14 | i18n 15 | security 16 | web-assets 17 | tests 18 | 19 | .. include:: /best_practices/map.rst.inc 20 | -------------------------------------------------------------------------------- /components/templating/helpers/index.rst: -------------------------------------------------------------------------------- 1 | .. index:: 2 | single: Templating; Aiutanti di Templating 3 | 4 | Aiutanti di Templating 5 | ====================== 6 | 7 | .. toctree:: 8 | :hidden: 9 | 10 | slotshelper 11 | assetshelper 12 | 13 | Il componente Templating dispone di alcuni utili aiutanti. Questi aiutanti contengono 14 | funzioni per facilitare compiti comuni. 15 | 16 | .. include:: map.rst.inc 17 | -------------------------------------------------------------------------------- /reference/forms/types/options/_error_bubbling_hint.rst.inc: -------------------------------------------------------------------------------- 1 | .. tip:: 2 | 3 | Per impostazione predefinita, l'opzione ``error_bubbling`` è abilitata per il 4 | :doc:`tipo di campo collection `, 5 | che passa gli errori al form genitore. Se si vogliono allegare 6 | gli errori alle posizioni in cui sono effettivamente avvenuti, occorre 7 | impostare ``error_bubbling`` a ``false``. 8 | -------------------------------------------------------------------------------- /reference/forms/types/options/block_name.rst.inc: -------------------------------------------------------------------------------- 1 | block_name 2 | ~~~~~~~~~~~ 3 | 4 | **tipo**: ``stringa`` **predefinito**: il nome del form (vedere :ref:`sapere quale blocco personalizzare `) 5 | 6 | Consente di ridefinire il nome del blocco usato per rendere il form type. 7 | Utile per esempio se si hanno più istanze dello stesso form e occorre 8 | personalizzare la resa dei form individualmente. 9 | -------------------------------------------------------------------------------- /reference/forms/types/options/checkbox_empty_data.rst.inc: -------------------------------------------------------------------------------- 1 | empty_data 2 | ~~~~~~~~~~ 3 | 4 | **tipo**: ``stringa`` **predefinito**: ``mixed`` 5 | 6 | Questa opzione determina quale valore restituirà il campo quando si seleziona ``placeholder`` 7 | come scelta. 8 | In un checkbox, il valore di ``empty_data`` è sovrascritto dal valore restituito dal 9 | trasformatore di dati (vedere :doc:`/cookbook/form/data_transformers`). 10 | -------------------------------------------------------------------------------- /reference/forms/types/options/multiple.rst.inc: -------------------------------------------------------------------------------- 1 | multiple 2 | ~~~~~~~~ 3 | 4 | **tipo**: ``booleano`` **predefinito**: ``false`` 5 | 6 | Se ``true``, l'utente potra selezionare più opzioni (invece di sceglierne una 7 | sola). A seconda del valore dell'opzione ``expanded``, 8 | sarà reso o come un tag select o come dei checkbox, se ``true``, e come un tag 9 | select o bottoni radio, se ``false``. Il valore restituito sarà un array. 10 | -------------------------------------------------------------------------------- /cookbook/form/index.rst: -------------------------------------------------------------------------------- 1 | Form 2 | ==== 3 | 4 | .. toctree:: 5 | :maxdepth: 2 6 | 7 | form_customization 8 | data_transformers 9 | dynamic_form_modification 10 | form_collections 11 | create_custom_field_type 12 | create_form_type_extension 13 | inherit_data_option 14 | unit_testing 15 | use_empty_data 16 | direct_submit 17 | 18 | .. toctree:: 19 | :hidden: 20 | 21 | use_virtuals_forms 22 | -------------------------------------------------------------------------------- /cookbook/security/_ircmaxwell_password-compat.rst.inc: -------------------------------------------------------------------------------- 1 | .. caution:: 2 | 3 | Se si usa PHP 5.4 o precedenti, occorrerà installare la libreria ``ircmaxell/password-compat`` 4 | tramite Composer, per poter usare il codificatore ``bcrypt``: 5 | 6 | .. code-block:: json 7 | 8 | { 9 | "require": { 10 | ... 11 | "ircmaxell/password-compat": "~1.0.3" 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /reference/forms/types/options/extra_fields_message.rst.inc: -------------------------------------------------------------------------------- 1 | extra_fields_message 2 | ~~~~~~~~~~~~~~~~~~~~ 3 | 4 | **tipo**: ``stringa`` **predefinito**: ``This form should not contain extra fields.`` 5 | 6 | Il messaggio di errore usato se i dati inviati al form 7 | contengono campi che non fanno parte della definizione del form stesso. Si 8 | può usare il segnaposto ``{{ extra_fields }}`` per mostrare un elenco 9 | di nomi di campi extra. 10 | -------------------------------------------------------------------------------- /reference/forms/types/options/grouping.rst.inc: -------------------------------------------------------------------------------- 1 | grouping 2 | ~~~~~~~~ 3 | 4 | **tipo**: ``intero`` **predefinito**: ``false`` 5 | 6 | Questo valore è usato intermante come valore ``NumberFormatter::GROUPING_USED`` quando si usa la classe ``NumberFormatter``. Non è documentato, ma 7 | pare che se lo si imposta a ``true``, i numeri saranno raggruppati con una virgola o un punto (a seconda del locale): ``12345.123`` sarebbe mostrato come ``12,345.123``. 8 | -------------------------------------------------------------------------------- /reference/forms/types/options/inherit_data.rst.inc: -------------------------------------------------------------------------------- 1 | inherit_data 2 | ~~~~~~~~~~~~ 3 | 4 | .. versionadded:: 2.3 5 | Questa opzione era nota come ``virtual`` prima di Symfony 2.3. 6 | 7 | **tipo**: ``booleano`` **predefinito**: ``false`` 8 | 9 | Questa opzione determina se il form erediterà dati dal form genitore. 10 | Può essere utile se si ha un insieme di campi duplicati in 11 | form multipli. Vedere :doc:`/cookbook/form/inherit_data_option`. 12 | -------------------------------------------------------------------------------- /reference/forms/types/options/data_class.rst.inc: -------------------------------------------------------------------------------- 1 | data_class 2 | ~~~~~~~~~~ 3 | 4 | **tipo**: ``stringa`` 5 | 6 | Questa opzione è usata per impostare il data mapper appropriato per l'uso con il form, 7 | in modo che si possa usarlo per qualsiasi tipo di campo che richieda un oggetto. 8 | 9 | .. code-block:: php 10 | 11 | $builder->add('media', 'sonata_media_type', array( 12 | 'data_class' => 'Acme\DemoBundle\Entity\Media', 13 | )); 14 | -------------------------------------------------------------------------------- /best_practices/map.rst.inc: -------------------------------------------------------------------------------- 1 | * :doc:`/best_practices/introduction` 2 | * :doc:`/best_practices/creating-the-project` 3 | * :doc:`/best_practices/configuration` 4 | * :doc:`/best_practices/business-logic` 5 | * :doc:`/best_practices/controllers` 6 | * :doc:`/best_practices/templates` 7 | * :doc:`/best_practices/forms` 8 | * :doc:`/best_practices/i18n` 9 | * :doc:`/best_practices/security` 10 | * :doc:`/best_practices/web-assets` 11 | * :doc:`/best_practices/tests` 12 | -------------------------------------------------------------------------------- /reference/forms/types/options/precision.rst.inc: -------------------------------------------------------------------------------- 1 | precision 2 | ~~~~~~~~~ 3 | 4 | **tipo**: ``intero`` **predefinito**: dipende dal locale (di solito intorno a ``3``) 5 | 6 | Specifica quanti decimali saranno consentiti prima che il campo arrotondi 7 | il valore inserito (tramite ``rounding_mode``). Per esempio, se ``precision`` 8 | è impostato a ``2``, un valore inserito di ``20.123`` sarà arrotondato, 9 | per esempio, a ``20.12`` (a seconda di ``rounding_mode``). 10 | -------------------------------------------------------------------------------- /reference/forms/types/options/attr.rst.inc: -------------------------------------------------------------------------------- 1 | attr 2 | ~~~~ 3 | 4 | **tipo**: array **predefinito**: array vuoto 5 | 6 | Se si vogliono aggiungere attributi extra a un campo HTML, si 7 | può usare l'opzione ``attr``. È un array associativo con attributi HTML come 8 | chiavi. Può essere utile quando occorre impostare una classe personalizzata per un widget:: 9 | 10 | $builder->add('body', 'textarea', array( 11 | 'attr' => array('class' => 'tinymce'), 12 | )); 13 | -------------------------------------------------------------------------------- /book/index.rst: -------------------------------------------------------------------------------- 1 | Libro 2 | ===== 3 | 4 | .. toctree:: 5 | :hidden: 6 | 7 | http_fundamentals 8 | from_flat_php_to_symfony2 9 | installation 10 | page_creation 11 | controller 12 | routing 13 | templating 14 | configuration 15 | bundles 16 | doctrine 17 | propel 18 | testing 19 | validation 20 | forms 21 | security 22 | http_cache 23 | translation 24 | service_container 25 | performance 26 | 27 | .. include:: /book/map.rst.inc 28 | -------------------------------------------------------------------------------- /reference/forms/types/options/button_attr.rst.inc: -------------------------------------------------------------------------------- 1 | attr 2 | ~~~~ 3 | 4 | **tipo**: array **predefinito**: Array vuoto 5 | 6 | Se si vogliono aggiungere attributi extra alla rappresentazione HTML del bottone, 7 | si può usare l'opzione ``attr``. È un array associativo con gli attributi HTML 8 | come chiavi. Può essere utile quando servono classi personalizzate per il bottone:: 9 | 10 | $builder->add('save', 'button', array( 11 | 'attr' => array('class' => 'save'), 12 | )); 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /reference/forms/types/options/constraints.rst.inc: -------------------------------------------------------------------------------- 1 | constraints 2 | ~~~~~~~~~~~ 3 | 4 | **tipo**: array o :class:`Symfony\\Component\\Validator\\Constraint` **predefinito**: ``null`` 5 | 6 | Consente di allegare uno o più vincoli di validazione a un campo specifico. 7 | Per maggiori informazioni, vedere :ref:`aggiungere la validazione`. 8 | Questa opzione è aggiunta nell'estensione del form 9 | :class:`Symfony\\Component\\Form\\Extension\\Validator\\Type\\FormTypeValidatorExtension`. 10 | -------------------------------------------------------------------------------- /reference/forms/types/options/html5.rst.inc: -------------------------------------------------------------------------------- 1 | html5 2 | ~~~~~ 3 | 4 | .. versionadded:: 2.6 5 | L'opzione ``html5`` è stata introdotta in Symfony 2.6. 6 | 7 | **tipo**: ``booleano`` **predefinito**: ``true`` 8 | 9 | Se impostata a ``true`` (valore predefinito), userà il tipo HTML5 (date, time 10 | o datetime) per rendere il campo. Se impostata a ``false``, userà il tipo text. 11 | 12 | Utile quando si vuole usare un calendario JavaScript personalizzato, che 13 | spesso richiede un tipo text invece di un tipo HTML5. 14 | -------------------------------------------------------------------------------- /reference/forms/types/options/action.rst.inc: -------------------------------------------------------------------------------- 1 | .. versionadded:: 2.3 2 | L'opzione ``action`` è stata introdotta in Symfony 2.3. 3 | 4 | action 5 | ~~~~~~ 6 | 7 | **tipo**: ``stringa`` **predefinito**: stringa vuota 8 | 9 | Questa opzione specifica dove inviare i dati del form (solitamente un 10 | URI). Il suo valore viene reso come attributo ``action`` dell'elemento ``form``. 11 | Un valore vuoto viene considerato come riferimento allo stesso documento, cioè il form 12 | sarà inviato allo stesso URI che ha reso il form. 13 | -------------------------------------------------------------------------------- /reference/forms/types/options/post_max_size_message.rst.inc: -------------------------------------------------------------------------------- 1 | post_max_size_message 2 | ~~~~~~~~~~~~~~~~~~~~~ 3 | 4 | **tipo**: ``stringa`` **predefinito**: ``The uploaded file was too large. Please try to upload a smaller file.`` 5 | 6 | Il messaggio di errore usato se i dati inviati in POST 7 | eccedono la direttiva ``post_max_size`` di ``php.ini``. Si può usare il 8 | segnaposto ``{{ max }}`` per mostrare la dimensione consentita. 9 | 10 | .. note: 11 | 12 | La validazione di ``post_max_size`` è solo per il form radice. 13 | -------------------------------------------------------------------------------- /cookbook/upgrade/index.rst: -------------------------------------------------------------------------------- 1 | .. index:: 2 | single: Aggiornamento 3 | 4 | Aggiornare 5 | ========== 6 | 7 | È uscita una nuova versione di Symfony e si vuole aggiornare, ottimo! Fortunatamente, 8 | poiché Symfony protegge molto bene la retrocompatibilità, *dovrebbe* essere 9 | alquanto facile. 10 | 11 | Ci sono tre tipi di aggiornamenti, che necessitano di preparazioni differenti: 12 | 13 | .. toctree:: 14 | :maxdepth: 2 15 | 16 | /cookbook/upgrade/patch_version 17 | /cookbook/upgrade/minor_version 18 | /cookbook/upgrade/major_version 19 | -------------------------------------------------------------------------------- /reference/forms/types/options/date_input.rst.inc: -------------------------------------------------------------------------------- 1 | input 2 | ~~~~~ 3 | 4 | **tipo**: ``stringa`` **predefinito**: ``datetime`` 5 | 6 | Il formato in *ingresso* dei dati, cioè il formato in cui la data è memorizzata 7 | nell'oggetto sottostante. Valori validi sono: 8 | 9 | * ``stringa`` (p.e. ``2011-06-05``) 10 | * ``datetime`` (un oggetto ``DateTime``) 11 | * ``array`` (p.e. ``array('year' => 2011, 'month' => 06, 'day' => 05)``) 12 | * ``timestamp`` (p.e. ``1307232000``) 13 | 14 | Anche il valore proveniente dal form sarà normalizzato in tale 15 | formato. 16 | -------------------------------------------------------------------------------- /reference/forms/types/options/required.rst.inc: -------------------------------------------------------------------------------- 1 | required 2 | ~~~~~~~~ 3 | 4 | **tipo**: ``booleano`` **predefinito**: ``true`` 5 | 6 | Se ``true``, sarà reso un `attributo required HTML5`_. La label corrispondente 7 | sarà anche resa con una classe ``required``. 8 | 9 | L'attributo è indipendente dalla validazione del form. Nel caso migliore, se si lascia 10 | che Symfony indovini il tipo di campo, il valore di questa opzione sarà indovinato dalle 11 | informazioni di validazione. 12 | 13 | .. _`attributo required HTML5`: http://diveintohtml5.info/forms.html 14 | -------------------------------------------------------------------------------- /reference/forms/types/options/button_label.rst.inc: -------------------------------------------------------------------------------- 1 | label 2 | ~~~~~ 3 | 4 | **tipo**: ``string`` **predefinito**: Il testo è "indovinato" dal nome del campo 5 | 6 | Imposta il testo mostrato sul bottone. Il testo può anche essere 7 | impostato direttamente all'interno del template: 8 | 9 | .. configuration-block:: 10 | 11 | .. code-block:: html+jinja 12 | 13 | {{ form_widget(form.save, { 'label': 'Cliccami' }) }} 14 | 15 | .. code-block:: html+php 16 | 17 | widget($form['save'], array('label' => 'Cliccami')) ?> 18 | -------------------------------------------------------------------------------- /reference/forms/types/options/max_length.rst.inc: -------------------------------------------------------------------------------- 1 | .. caution:: 2 | 3 | L'opzione ``max_length`` è stata deprecata e sarà rimossa in 3.0. 4 | Usare invece l'opzione ``attr``, impostandola a un array con una chiave ``maxlength``. 5 | 6 | max_length 7 | ~~~~~~~~~~ 8 | 9 | **tipo**: ``intero`` 10 | 11 | Se questa opzione non è nulla, aggiunge un attributo ``max_length``, usato da alcuni 12 | browser per limitare la lunghezza del testo in un campo. 13 | 14 | La validazione è solo su browser, quindi i dati devono essere comunque validati 15 | lato server. 16 | 17 | -------------------------------------------------------------------------------- /reference/forms/types/options/data.rst.inc: -------------------------------------------------------------------------------- 1 | data 2 | ~~~~ 3 | 4 | **tipo**: mixed **predefinito**: Predefinito al campo dell'oggetto sottostante (se presente) 5 | 6 | Quando si crea un form, ogni campo inizialmente mostra il valore della proprietà 7 | corrispondente dell'oggetto del dominio del form (se un oggetto è legato al 8 | form). Se si vuole sovrascrivere il valore iniziale per il form o solo per un singolo 9 | campo, lo si può fare con l'opzione ``data``:: 10 | 11 | $builder->add('token', 'hidden', array( 12 | 'data' => 'abcdef', 13 | )); 14 | 15 | -------------------------------------------------------------------------------- /components/console/helpers/index.rst: -------------------------------------------------------------------------------- 1 | .. index:: 2 | single: Console; Aiutanti della console 3 | 4 | Gli aiutanti della console 5 | ========================== 6 | 7 | .. toctree:: 8 | :hidden: 9 | 10 | dialoghelper 11 | formatterhelper 12 | processhelper 13 | progressbar 14 | progresshelper 15 | questionhelper 16 | table 17 | tablehelper 18 | debug_formatter 19 | 20 | I componenti della console dispongono alcuni utili aiutanti. Questi aiutanti 21 | contengono funzioni che facilitano alcuni compiti comuni. 22 | 23 | .. include:: map.rst.inc 24 | -------------------------------------------------------------------------------- /components/console/helpers/map.rst.inc: -------------------------------------------------------------------------------- 1 | * :doc:`/components/console/helpers/dialoghelper` (deprecato da 2.5) 2 | * :doc:`/components/console/helpers/formatterhelper` 3 | * :doc:`/components/console/helpers/processhelper` 4 | * :doc:`/components/console/helpers/progressbar` 5 | * :doc:`/components/console/helpers/progresshelper` (deprecato da 2.5) 6 | * :doc:`/components/console/helpers/questionhelper` 7 | * :doc:`/components/console/helpers/table` 8 | * :doc:`/components/console/helpers/tablehelper` (deprecato da 2.5) 9 | * :doc:`/components/console/helpers/debug_formatter` (nuovo in 2.6) 10 | -------------------------------------------------------------------------------- /book/map.rst.inc: -------------------------------------------------------------------------------- 1 | * :doc:`/book/http_fundamentals` 2 | * :doc:`/book/from_flat_php_to_symfony2` 3 | * :doc:`/book/installation` 4 | * :doc:`/book/page_creation` 5 | * :doc:`/book/controller` 6 | * :doc:`/book/routing` 7 | * :doc:`/book/templating` 8 | * :doc:`/book/configuration` 9 | * :doc:`/book/bundles` 10 | * :doc:`/book/doctrine` 11 | * :doc:`/book/propel` 12 | * :doc:`/book/testing` 13 | * :doc:`/book/validation` 14 | * :doc:`/book/forms` 15 | * :doc:`/book/security` 16 | * :doc:`/book/http_cache` 17 | * :doc:`/book/translation` 18 | * :doc:`/book/service_container` 19 | * :doc:`/book/performance` 20 | -------------------------------------------------------------------------------- /reference/forms/types/options/date_widget.rst.inc: -------------------------------------------------------------------------------- 1 | widget 2 | ~~~~~~ 3 | 4 | **tipo**: ``stringa`` **predefinito**: ``choice`` 5 | 6 | Il modo di base in cui questo campo andrebbe reso. Può essere uno tra: 7 | 8 | * ``choice``: rende tre campi select. L'ordine dei select è definito nell'opzione 9 | `format`_. 10 | 11 | * ``text``: rende tre campi testuali (mese, giorno, anno). 12 | 13 | * ``single_text``: rende un singolo campo testuale. I dati inseriti dall'utente sono 14 | validati in base all'opzione `format`_. 15 | 16 | .. include:: /reference/forms/types/options/_date_limitation.rst.inc 17 | -------------------------------------------------------------------------------- /reference/index.rst: -------------------------------------------------------------------------------- 1 | Documenti di riferimento 2 | ======================== 3 | 4 | .. toctree:: 5 | :hidden: 6 | 7 | configuration/framework 8 | configuration/doctrine 9 | configuration/security 10 | configuration/assetic 11 | configuration/swiftmailer 12 | configuration/twig 13 | configuration/monolog 14 | configuration/web_profiler 15 | 16 | configuration/kernel 17 | 18 | forms/types 19 | constraints 20 | forms/twig_reference 21 | 22 | twig_reference 23 | 24 | dic_tags 25 | events 26 | requirements 27 | 28 | .. include:: /reference/map.rst.inc 29 | -------------------------------------------------------------------------------- /contributing/community/other.rst: -------------------------------------------------------------------------------- 1 | Altre risorse 2 | ============= 3 | 4 | Per poter seguire quello che succede nella comunità, si possono trovare utili 5 | le seguenti risorse: 6 | 7 | * Elenco di `richieste di pull`_ aperte 8 | * Elenco di `commit`_ recenti 9 | * Elenco di `bug e miglioramenti`_ aperti 10 | * Elenco di `bundle`_ open source 11 | 12 | .. _richieste di pull: https://github.com/symfony/symfony/pulls 13 | .. _commit: https://github.com/symfony/symfony/commits/master 14 | .. _bug e miglioramenti: https://github.com/symfony/symfony/issues 15 | .. _bundle: http://knpbundles.com/ 16 | -------------------------------------------------------------------------------- /reference/forms/types/options/pattern.rst.inc: -------------------------------------------------------------------------------- 1 | pattern 2 | ~~~~~~~ 3 | 4 | **tipo**: ``stringa`` **predefinito**: ``null`` 5 | 6 | Aggiunge un attributo HTML5 ``pattern`` per restringere un campo input tramite 7 | un'espressione regolare. 8 | 9 | .. caution: 10 | 11 | L'attributo ``pattern`` fornisce una validazione lato client, solo 12 | per convenienza e che non va usata come sostituto di una validazione 13 | lato server. 14 | 15 | .. note: 16 | 17 | Quando si usano vincoli di validazione, questa opzione viene impostata in modo automatico 18 | per alcuni vincoli, per corrispondere alla validazione lato server. 19 | -------------------------------------------------------------------------------- /reference/forms/types/options/property_path.rst.inc: -------------------------------------------------------------------------------- 1 | property_path 2 | ~~~~~~~~~~~~~ 3 | 4 | **tipo**: ``qualsiasi`` **predefinito**: ``il valore del campo`` 5 | 6 | I campi mostrano il valore di una proprietà dell'oggetto del dominio del form. 7 | Quando il form è inviato, il valore immesso è scritto nell'oggetto. 8 | 9 | Se si vuole sovrascrivere la proprietà che un campo legge e scrive, 10 | si può impostare l'opzione ``property_path``. Il suo valore predefinito è 11 | il nome del campo. 12 | 13 | Se si vuole che il campo sia ignorato in lettura o in scrittura dell'oggetto, 14 | si può impostare l'opzione ``property_path`` a ``false`` 15 | -------------------------------------------------------------------------------- /cookbook/upgrade/_update_all_packages.rst.inc: -------------------------------------------------------------------------------- 1 | Si potrebbero voler aggiornare anche le altre librerie. Per chi ha fatto un 2 | buon lavoro con i `vincoli di versione`_ in ``composer.json``, si può fare 3 | in sicurezza, eseguendo: 4 | 5 | .. code-block:: bash 6 | 7 | $ composer update 8 | 9 | .. caution:: 10 | 11 | Attenzione, però: se si hanno `vincoli di versione`_ incorretti in 12 | ``composer.json``, (come ``dev-master``), alcune librerie esterne 13 | potrebbero aggiornarsi a versioni che contengono modifiche non 14 | retrocompatibili. 15 | 16 | .. _`vincoli di versione`: https://getcomposer.org/doc/01-basic-usage.md#package-versions 17 | -------------------------------------------------------------------------------- /reference/constraints/_payload-option.rst.inc: -------------------------------------------------------------------------------- 1 | payload 2 | ~~~~~~~ 3 | 4 | **tipo**: ``mixed`` **predefinito**: ``null`` 5 | 6 | .. versionadded:: 2.6 7 | L'opzione ``payload`` è stata introdotta in Symfony 2.6. 8 | 9 | Si può usare questa opzione per allegare dati arbitrari, specifici del dominio, a un vincolo. 10 | Il payload configurato non è usato dal componente Validator, il suo trattamento è 11 | completamente a carico dello sviluppatore. 12 | 13 | Per esempio, si potrebbero voler usare 14 | :doc:`vari livelli di errore ` per presentare i vincoli 15 | falliti in modo diverso nel frontend, a seconda della graivtà 16 | dell'errore. 17 | -------------------------------------------------------------------------------- /reference/forms/types/options/invalid_message_parameters.rst.inc: -------------------------------------------------------------------------------- 1 | invalid_message_parameters 2 | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 3 | 4 | **tipo**: ``array`` **predefinito**: ``array()`` 5 | 6 | Impostando l'opzione ``invalid_message``, si potrebbe aver bisogno di includere 7 | alcune variabili nella stringa. Lo si può fare aggiungendo dei segnaposto all'opzione 8 | e includendo le variabili in questa opzione:: 9 | 10 | $builder->add('un_campo', 'un_tipo', array( 11 | // ... 12 | 'invalid_message' => 'Valore inserito non valido: deve includere almeno %num% caratteri', 13 | 'invalid_message_parameters' => array('%num%' => 6), 14 | )); 15 | -------------------------------------------------------------------------------- /cookbook/security/index.rst: -------------------------------------------------------------------------------- 1 | Sicurezza 2 | ========= 3 | 4 | .. toctree:: 5 | :maxdepth: 2 6 | 7 | form_login_setup 8 | entity_provider 9 | remember_me 10 | impersonating_user 11 | voters 12 | voters_data_permission 13 | acl 14 | acl_advanced 15 | force_https 16 | firewall_restriction 17 | host_restriction 18 | form_login 19 | securing_services 20 | custom_provider 21 | custom_password_authenticator 22 | api_key_authentication 23 | custom_authentication_provider 24 | pre_authenticated 25 | target_path 26 | csrf_in_login_form 27 | named_encoders 28 | access_control 29 | multiple_user_providers 30 | -------------------------------------------------------------------------------- /reference/forms/types/options/cascade_validation.rst.inc: -------------------------------------------------------------------------------- 1 | cascade_validation 2 | ~~~~~~~~~~~~~~~~~~ 3 | 4 | **tipo**: booleano **predefinito**: false 5 | 6 | Impostare questa opzione a ``true`` per forzare la validazione su form inclusi. 7 | Per esempio, se si ha un ``ProductType`` con incluso ``CategoryType``, 8 | impostare ``cascade_validation`` a ``true`` su ``ProductType`` farà validare 9 | anche i dati di ``CategoryType``. 10 | 11 | Invece di usare questa opzione, si può anche usare il vincolo ``Valid`` nel modello, 12 | per forzare la validazione di un oggetto figlio memorizzato su una proprietà. 13 | 14 | .. include:: /reference/forms/types/options/_error_bubbling_hint.rst.inc 15 | 16 | -------------------------------------------------------------------------------- /components/debug/class_loader.rst: -------------------------------------------------------------------------------- 1 | .. index:: 2 | single: ClassLoader; DebugClassLoader 3 | single: Debug; DebugClassLoader 4 | 5 | Debug di ClassLoader 6 | ==================== 7 | 8 | :class:`Symfony\\Component\\Debug\\DebugClassLoader` tenta di 9 | lanciare eccezioni più utili, quando gli autoloader registrati non trovano 10 | una classe. Tutti gli autoloader che implementano un metodo ``findFile()`` vengono sostituiti 11 | da un ``DebugClassLoader``. 12 | 13 | L'uso di ``DebugClassLoader`` è facile, basta richiamare il metodo statico 14 | :method:`Symfony\\Component\\Debug\\DebugClassLoader::enable`:: 15 | 16 | use Symfony\Component\Debug\DebugClassLoader; 17 | 18 | DebugClassLoader::enable(); 19 | -------------------------------------------------------------------------------- /cookbook/security/_supportsToken.rst.inc: -------------------------------------------------------------------------------- 1 | Dopo che Symfony richiama ``createToken()``, chiamerà poi ``supportsToken()`` 2 | sulla classe (e su ogni altro ascoltatore di autenticazione) per cercare di capire chi deve 3 | gestire il token. Questo è solo un modo per consentire l'uso di diversi meccanismi di autenticazione 4 | per uno stesso firewall (in questo modo, si può per esempio provare prima 5 | ad autenticare l'utente tramite un certificato o una chiave API ed eventualmente poi 6 | usare un form di login). 7 | 8 | Nella maggior parte dei casi, basta assicurarsi che questo metodo restituisca ``true`` per 9 | un token che sia stato creato da ``createToken()``. La logica probabilmente sarà proprio 10 | quella di questo esempio. 11 | -------------------------------------------------------------------------------- /reference/forms/types/options/invalid_message.rst.inc: -------------------------------------------------------------------------------- 1 | invalid_message 2 | ~~~~~~~~~~~~~~~ 3 | 4 | **tipo**: ``stringa`` **predefinito**: ``This value is not valid`` 5 | 6 | Questo è il messaggio di errore di validazione usato quando i dati inseriti 7 | sono determinati dalla validazione interna di un tipo di campo. Questo può accadere, 8 | per esempio, se l'utente inserire una stringa dentro un campo 9 | :doc:`time` che non può essere convertito in un tempo reale. 10 | Per i normali messaggi di validazione (come quando si imposta la lunghezza minima per un 11 | campo), impostare i messaggi di validazione con le proprie regole di validazione 12 | (:ref:`riferimento`). 13 | -------------------------------------------------------------------------------- /reference/forms/types/options/label_attr.rst.inc: -------------------------------------------------------------------------------- 1 | label_attr 2 | ~~~~~~~~~~ 3 | 4 | **tipo**: ``array`` **predefinito**: ``array()`` 5 | 6 | Imposta gli attributi HTML per l'elemento ``