Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit10b607b

Browse files
committed
separate table columns with two spaces
1 parent178a2d6 commit10b607b

File tree

11 files changed

+136
-139
lines changed

11 files changed

+136
-139
lines changed

‎book/routing.rst‎

Lines changed: 33 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -522,13 +522,13 @@ longer required. The URL ``/blog`` will match this route and the value of
522522
the ``page`` parameter will be set to ``1``. The URL ``/blog/2`` will also
523523
match, giving the ``page`` parameter a value of ``2``. Perfect.
524524

525-
=========== ======== ==================
526-
URL Route Parameters
527-
=========== ======== ==================
528-
``/blog`` ``blog`` ``{page}`` = ``1``
529-
``/blog/1`` ``blog`` ``{page}`` = ``1``
530-
``/blog/2`` ``blog`` ``{page}`` = ``2``
531-
=========== ======== ==================
525+
=================== ==================
526+
URLRoute Parameters
527+
=================== ==================
528+
``/blog````blog`` ``{page}`` = ``1``
529+
``/blog/1````blog`` ``{page}`` = ``1``
530+
``/blog/2````blog`` ``{page}`` = ``2``
531+
=================== ==================
532532

533533
..caution::
534534

@@ -631,12 +631,12 @@ will *never* be matched. Instead, a URL like ``/blog/my-blog-post`` will match
631631
the first route (``blog``) and return a nonsense value of ``my-blog-post``
632632
to the ``{page}`` parameter.
633633

634-
====================== ======== ===============================
635-
URL Route Parameters
636-
====================== ======== ===============================
637-
``/blog/2`` ``blog`` ``{page}`` = ``2``
638-
``/blog/my-blog-post`` ``blog`` ``{page}`` = ``"my-blog-post"``
639-
====================== ======== ===============================
634+
============================== ===============================
635+
URLRoute Parameters
636+
============================== ===============================
637+
``/blog/2````blog`` ``{page}`` = ``2``
638+
``/blog/my-blog-post````blog`` ``{page}`` = ``"my-blog-post"``
639+
============================== ===============================
640640

641641
The answer to the problem is to add route *requirements*. The routes in this
642642
example would work perfectly if the ``/blog/{page}`` path *only* matched
@@ -709,13 +709,13 @@ is *not* a number).
709709
As a result, a URL like ``/blog/my-blog-post`` will now properly match the
710710
``blog_show`` route.
711711

712-
======================== ============= ===============================
713-
URL Route Parameters
714-
======================== ============= ===============================
715-
``/blog/2`` ``blog`` ``{page}`` = ``2``
716-
``/blog/my-blog-post`` ``blog_show`` ``{slug}`` = ``my-blog-post``
717-
``/blog/2-my-blog-post`` ``blog_show`` ``{slug}`` = ``2-my-blog-post``
718-
======================== ============= ===============================
712+
===================================== ===============================
713+
URLRoute Parameters
714+
===================================== ===============================
715+
``/blog/2````blog`` ``{page}`` = ``2``
716+
``/blog/my-blog-post````blog_show`` ``{slug}`` = ``my-blog-post``
717+
``/blog/2-my-blog-post````blog_show`` ``{slug}`` = ``2-my-blog-post``
718+
===================================== ===============================
719719

720720
..sidebar::Earlier Routes always Win
721721

@@ -791,14 +791,14 @@ URL:
791791
For incoming requests, the ``{_locale}`` portion of the URL is matched against
792792
the regular expression ``(en|fr)``.
793793

794-
======= ========================
795-
Path Parameters
796-
======= ========================
797-
``/`` ``{_locale}`` = ``"en"``
798-
``/en`` ``{_locale}`` = ``"en"``
799-
``/fr`` ``{_locale}`` = ``"fr"``
800-
``/es`` *won't match this route*
801-
======= ========================
794+
===============================
795+
PathParameters
796+
===============================
797+
``/````{_locale}`` = ``"en"``
798+
``/en````{_locale}`` = ``"en"``
799+
``/fr````{_locale}`` = ``"fr"``
800+
``/es``*won't match this route*
801+
===============================
802802

803803
..index::
804804
single: Routing; Method requirement
@@ -1062,11 +1062,11 @@ each separated by a colon:
10621062

10631063
For example, a ``_controller`` value of ``AppBundle:Blog:show`` means:
10641064

1065-
========= ================== ==============
1066-
Bundle Controller Class Method Name
1067-
========= ================== ==============
1068-
AppBundle ``BlogController`` ``showAction``
1069-
========= ================== ==============
1065+
=========================== ==============
1066+
BundleController Class Method Name
1067+
=========================== ==============
1068+
AppBundle``BlogController`` ``showAction``
1069+
=========================== ==============
10701070

10711071
The controller might look like this::
10721072

‎book/templating.rst‎

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -444,13 +444,13 @@ Template Suffix
444444
Every template name also has two extensions that specify the *format* and
445445
*engine* for that template.
446446

447-
======================== ====== ======
448-
Filename Format Engine
449-
======================== ====== ======
450-
``Blog/index.html.twig`` HTML Twig
451-
``Blog/index.html.php`` HTML PHP
452-
``Blog/index.css.twig`` CSS Twig
453-
======================== ====== ======
447+
============================== ======
448+
FilenameFormat Engine
449+
============================== ======
450+
``Blog/index.html.twig``HTML Twig
451+
``Blog/index.html.php``HTML PHP
452+
``Blog/index.css.twig``CSS Twig
453+
============================== ======
454454

455455
By default, any Symfony template can be written in either Twig or PHP, and
456456
the last part of the extension (e.g. ``.twig`` or ``.php``) specifies which

‎components/class_loader/class_map_generator.rst‎

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -28,17 +28,14 @@ manually. For example, imagine a library with the following directory structure:
2828
2929
These files contain the following classes:
3030

31-
=========================== ================
32-
File Class Name
33-
=========================== ================
34-
``library/bar/baz/Boo.php`` ``Acme\Bar\Baz``
35-
--------------------------- ----------------
36-
``library/bar/Foo.php`` ``Acme\Bar``
37-
--------------------------- ----------------
38-
``library/foo/bar/Foo.php`` ``Acme\Foo\Bar``
39-
--------------------------- ----------------
40-
``library/foo/Bar.php`` ``Acme\Foo``
41-
=========================== ================
31+
=========================== ================
32+
File Class Name
33+
=========================== ================
34+
``library/bar/baz/Boo.php`` ``Acme\Bar\Baz``
35+
``library/bar/Foo.php`` ``Acme\Bar``
36+
``library/foo/bar/Foo.php`` ``Acme\Foo\Bar``
37+
``library/foo/Bar.php`` ``Acme\Foo``
38+
=========================== ================
4239

4340
To make your life easier, the ClassLoader component comes with a
4441
:class:`Symfony\\Component\\ClassLoader\\ClassMapGenerator` class that makes

‎components/form/form_events.rst‎

Lines changed: 44 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -61,13 +61,13 @@ The ``FormEvents::PRE_SET_DATA`` event is dispatched at the beginning of the
6161

6262
:ref:`Form Events Information Table<component-form-event-table>`
6363

64-
=============== ========
65-
Data Type Value
66-
=============== ========
67-
Model data ``null``
68-
Normalized data ``null``
69-
View data ``null``
70-
=============== ========
64+
=======================
65+
Data TypeValue
66+
=======================
67+
Model data``null``
68+
Normalized data``null``
69+
View data``null``
70+
=======================
7171

7272
..caution::
7373

@@ -96,13 +96,13 @@ the form.
9696

9797
:ref:`Form Events Information Table<component-form-event-table>`
9898

99-
=============== ====================================================
100-
Data Type Value
101-
=============== ====================================================
102-
Model data Model data injected into ``setData()``
103-
Normalized data Model data transformed using a model transformer
104-
View data Normalized data transformed using a view transformer
105-
=============== ====================================================
99+
===================================================================
100+
Data TypeValue
101+
===================================================================
102+
Model dataModel data injected into ``setData()``
103+
Normalized dataModel data transformed using a model transformer
104+
View dataNormalized data transformed using a view transformer
105+
===================================================================
106106

107107
..sidebar::``FormEvents::POST_SET_DATA`` in the Form component
108108

@@ -136,13 +136,13 @@ It can be used to:
136136

137137
:ref:`Form Events Information Table<component-form-event-table>`
138138

139-
=============== ========================================
140-
Data Type Value
141-
=============== ========================================
142-
Model data Same as in ``FormEvents::POST_SET_DATA``
143-
Normalized data Same as in ``FormEvents::POST_SET_DATA``
144-
View data Same as in ``FormEvents::POST_SET_DATA``
145-
=============== ========================================
139+
=======================================================
140+
Data TypeValue
141+
=======================================================
142+
Model dataSame as in ``FormEvents::POST_SET_DATA``
143+
Normalized dataSame as in ``FormEvents::POST_SET_DATA``
144+
View dataSame as in ``FormEvents::POST_SET_DATA``
145+
=======================================================
146146

147147
..sidebar::``FormEvents::PRE_SUBMIT`` in the Form component
148148

@@ -164,13 +164,13 @@ It can be used to change data from the normalized representation of the data.
164164

165165
:ref:`Form Events Information Table<component-form-event-table>`
166166

167-
=============== ===================================================================================
168-
Data Type Value
169-
=============== ===================================================================================
170-
Model data Same as in ``FormEvents::POST_SET_DATA``
171-
Normalized data Data from the request reverse-transformed from the request using a view transformer
172-
View data Same as in ``FormEvents::POST_SET_DATA``
173-
=============== ===================================================================================
167+
==================================================================================================
168+
Data TypeValue
169+
==================================================================================================
170+
Model dataSame as in ``FormEvents::POST_SET_DATA``
171+
Normalized dataData from the request reverse-transformed from the request using a view transformer
172+
View dataSame as in ``FormEvents::POST_SET_DATA``
173+
==================================================================================================
174174

175175
..caution::
176176

@@ -194,13 +194,13 @@ It can be used to fetch data after denormalization.
194194

195195
:ref:`Form Events Information Table<component-form-event-table>`
196196

197-
=============== =============================================================
198-
Data Type Value
199-
=============== =============================================================
200-
Model data Normalized data reverse-transformed using a model transformer
201-
Normalized data Same as in ``FormEvents::POST_SUBMIT``
202-
View data Normalized data transformed using a view transformer
203-
=============== =============================================================
197+
============================================================================
198+
Data TypeValue
199+
============================================================================
200+
Model dataNormalized data reverse-transformed using a model transformer
201+
Normalized dataSame as in ``FormEvents::POST_SUBMIT``
202+
View dataNormalized data transformed using a view transformer
203+
============================================================================
204204

205205
..caution::
206206

@@ -232,15 +232,15 @@ processed.
232232

233233
.. _component-form-event-table:
234234

235-
====================== ============================= ===============
236-
Name ``FormEvents`` Constant Event's Data
237-
====================== ============================= ===============
238-
``form.pre_set_data`` ``FormEvents::PRE_SET_DATA`` Model data
239-
``form.post_set_data`` ``FormEvents::POST_SET_DATA`` Model data
240-
``form.pre_bind`` ``FormEvents::PRE_SUBMIT`` Request data
241-
``form.bind`` ``FormEvents::SUBMIT`` Normalized data
242-
``form.post_bind`` ``FormEvents::POST_SUBMIT`` View data
243-
====================== ============================= ===============
235+
=================================================== ===============
236+
Name``FormEvents`` Constant Event's Data
237+
=================================================== ===============
238+
``form.pre_set_data````FormEvents::PRE_SET_DATA`` Model data
239+
``form.post_set_data````FormEvents::POST_SET_DATA`` Model data
240+
``form.pre_bind````FormEvents::PRE_SUBMIT`` Request data
241+
``form.bind````FormEvents::SUBMIT`` Normalized data
242+
``form.post_bind````FormEvents::POST_SUBMIT`` View data
243+
=================================================== ===============
244244

245245
..versionadded::2.3
246246
Before Symfony 2.3, ``FormEvents::PRE_SUBMIT``, ``FormEvents::SUBMIT``

‎components/http_kernel/introduction.rst‎

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -575,16 +575,16 @@ each event has their own event object:
575575

576576
.. _component-http-kernel-event-table:
577577

578-
================= ============================ ===================================================================================
579-
Name ``KernelEvents`` Constant Argument Passed to the Listener
580-
================= ============================ ===================================================================================
581-
kernel.request ``KernelEvents::REQUEST``:class:`Symfony\\Component\\HttpKernel\\Event\\GetResponseEvent`
582-
kernel.controller ``KernelEvents::CONTROLLER``:class:`Symfony\\Component\\HttpKernel\\Event\\FilterControllerEvent`
583-
kernel.view ``KernelEvents::VIEW``:class:`Symfony\\Component\\HttpKernel\\Event\\GetResponseForControllerResultEvent`
584-
kernel.response ``KernelEvents::RESPONSE``:class:`Symfony\\Component\\HttpKernel\\Event\\FilterResponseEvent`
585-
kernel.terminate ``KernelEvents::TERMINATE``:class:`Symfony\\Component\\HttpKernel\\Event\\PostResponseEvent`
586-
kernel.exception ``KernelEvents::EXCEPTION``:class:`Symfony\\Component\\HttpKernel\\Event\\GetResponseForExceptionEvent`
587-
================= ============================ ===================================================================================
578+
============================================= ===================================================================================
579+
Name``KernelEvents`` Constant Argument Passed to the Listener
580+
============================================= ===================================================================================
581+
kernel.request``KernelEvents::REQUEST``:class:`Symfony\\Component\\HttpKernel\\Event\\GetResponseEvent`
582+
kernel.controller``KernelEvents::CONTROLLER``:class:`Symfony\\Component\\HttpKernel\\Event\\FilterControllerEvent`
583+
kernel.view``KernelEvents::VIEW``:class:`Symfony\\Component\\HttpKernel\\Event\\GetResponseForControllerResultEvent`
584+
kernel.response``KernelEvents::RESPONSE``:class:`Symfony\\Component\\HttpKernel\\Event\\FilterResponseEvent`
585+
kernel.terminate``KernelEvents::TERMINATE``:class:`Symfony\\Component\\HttpKernel\\Event\\PostResponseEvent`
586+
kernel.exception``KernelEvents::EXCEPTION``:class:`Symfony\\Component\\HttpKernel\\Event\\GetResponseForExceptionEvent`
587+
============================================= ===================================================================================
588588

589589
.. _http-kernel-working-example:
590590

‎reference/forms/types/collection.rst‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -376,9 +376,9 @@ error_bubbling
376376
Field Variables
377377
---------------
378378

379-
============ =========== ========================================
380-
Variable Type Usage
381-
============ =========== ========================================
382-
allow_add ``Boolean`` The value of the `allow_add`_ option.
383-
allow_delete ``Boolean`` The value of the `allow_delete`_ option.
384-
============ =========== ========================================
379+
======================= ========================================
380+
VariableType Usage
381+
======================= ========================================
382+
allow_add``Boolean`` The value of the `allow_add`_ option.
383+
allow_delete``Boolean`` The value of the `allow_delete`_ option.
384+
======================= ========================================

‎reference/forms/types/file.rst‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -110,8 +110,8 @@ The default value is ``null``.
110110
Form Variables
111111
--------------
112112

113-
======== ========== ===============================================================================
114-
Variable Type Usage
115-
======== ========== ===============================================================================
116-
type ``string`` The type variable is set to ``file``, in order to render as a file input field.
117-
======== ========== ===============================================================================
113+
================== ===============================================================================
114+
VariableType Usage
115+
================== ===============================================================================
116+
type``string`` The type variable is set to ``file``, in order to render as a file input field.
117+
================== ===============================================================================

‎reference/forms/types/money.rst‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -121,10 +121,10 @@ The default value is ``''`` (the empty string).
121121
Form Variables
122122
--------------
123123

124-
============= ========== ===============================================================
125-
Variable Type Usage
126-
============= ========== ===============================================================
127-
money_pattern ``string`` The format to use to display the money, including the currency.
128-
============= ========== ===============================================================
124+
======================= ===============================================================
125+
VariableType Usage
126+
======================= ===============================================================
127+
money_pattern``string`` The format to use to display the money, including the currency.
128+
======================= ===============================================================
129129

130130
.. _`3 letter ISO 4217 code`:http://en.wikipedia.org/wiki/ISO_4217

‎reference/forms/types/options/select_how_rendered.rst.inc‎

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ Select Tag, Checkboxes or Radio Buttons
44
This field may be renderedas one of several different HTML fields, depending
55
on the``expanded``and``multiple`` options:
66

7-
==========================================================
8-
Element Type Expanded Multiple
9-
==========================================================
10-
select tag``false````false``
11-
select tag (with``multiple`` attribute)``false````true``
12-
radio buttons``true````false``
13-
checkboxes``true````true``
14-
==========================================================
7+
==========================================================
8+
Element TypeExpanded Multiple
9+
==========================================================
10+
select tag``false````false``
11+
select tag (with``multiple`` attribute)``false````true``
12+
radio buttons``true````false``
13+
checkboxes``true````true``
14+
==========================================================

‎reference/forms/types/submit.rst‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,8 @@ from the "Registration" are validated.
7676
Form Variables
7777
--------------
7878

79-
======== =========== ==============================================================
80-
Variable Type Usage
81-
======== =========== ==============================================================
82-
clicked ``Boolean`` Whether the button is clicked or not.
83-
======== =========== ==============================================================
79+
=================== ==============================================================
80+
VariableType Usage
81+
=================== ==============================================================
82+
clicked``Boolean`` Whether the button is clicked or not.
83+
=================== ==============================================================

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp