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

Commitd36bbd9

Browse files
committed
minorsymfony#3765 [WIP] make headlines consistent with our standards (xabbuh)
This PR was merged into the 2.3 branch.Discussion----------[WIP] make headlines consistent with our standards| Q | A| ------------- | ---| Doc fix? | yes| New docs? | no| Applies to | all| Fixed tickets |- [x] Book- [ ] Components- [ ] Contributing- [ ] Cookbook- [x] Quick Tour- [x] ReferenceCommits-------1d2a620 [QuickTour] consistent headlinesd49d12e [Reference] consistent headlines0702d1f [Book] make headlines consistent with our standards
2 parentsdaa81a0 +1d2a620 commitd36bbd9

File tree

48 files changed

+107
-101
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+107
-101
lines changed

‎book/doctrine.rst‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ The easiest way to understand how Doctrine works is to see it in action.
3030
In this section, you'll configure your database, create a ``Product`` object,
3131
persist it to the database and fetch it back out.
3232

33-
..sidebar::Code along with theexample
33+
..sidebar::Code along with theExample
3434

3535
If you want to follow along with the example in this chapter, create
3636
an ``AcmeStoreBundle`` via:
@@ -125,7 +125,7 @@ for you:
125125
126126
$ php app/console doctrine:database:create
127127
128-
..sidebar::SettingUp The Database to be UTF8
128+
..sidebar::Settingup the Database to be UTF8
129129

130130
One mistake even seasoned developers make when starting a Symfony2 project
131131
is forgetting to setup default charset and collation on their database,
@@ -1392,7 +1392,7 @@ powerful, allowing you to create complex queries and subscribe to events
13921392
that allow you to take different actions as objects go through their persistence
13931393
lifecycle.
13941394

1395-
LearnMore
1395+
Learnmore
13961396
~~~~~~~~~~
13971397

13981398
For more information about Doctrine, see the *Doctrine* section of the

‎book/forms.rst‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -618,7 +618,7 @@ Each field type has a number of different options that can be passed to it.
618618
Many of these are specific to the field type and details can be found in
619619
the documentation for each type.
620620

621-
..sidebar::The ``required``option
621+
..sidebar::The ``required``Option
622622

623623
The most common option is the ``required`` option, which can be applied to
624624
any field. By default, the ``required`` option is set to ``true``, meaning
@@ -636,7 +636,7 @@ the documentation for each type.
636636
In other words, the ``required`` option is "nice", but true server-side
637637
validation should *always* be used.
638638

639-
..sidebar::The ``label``option
639+
..sidebar::The ``label``Option
640640

641641
The label for the form field can be set using the ``label`` option,
642642
which can be applied to any field::

‎book/from_flat_php_to_symfony2.rst‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ to where it is now.
1616
By the end, you'll see how Symfony2 can rescue you from mundane tasks and
1717
let you take back control of your code.
1818

19-
Asimple Blog inflat PHP
19+
ASimple Blog inFlat PHP
2020
-------------------------
2121

2222
In this chapter, you'll build the token blog application using only flat PHP.
@@ -698,7 +698,7 @@ And perhaps best of all, by using Symfony2, you now have access to a whole
698698
set of **high-quality open source tools developed by the Symfony2 community**!
699699
A good selection of Symfony2 community tools can be found on `KnpBundles.com`_.
700700

701-
Bettertemplates
701+
BetterTemplates
702702
----------------
703703

704704
If you choose to use it, Symfony2 comes standard with a templating engine

‎book/http_cache.rst‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ If ``debug`` is ``true``, Symfony2 automatically adds a ``X-Symfony-Cache``
234234
header to the response containing useful information about cache hits and
235235
misses.
236236

237-
..sidebar::Changing from one Reverse Proxy toAnother
237+
..sidebar::Changing from one Reverse Proxy toanother
238238

239239
The Symfony2 reverse proxy is a great tool to use when developing your
240240
website or when you deploy your website to a shared host where you cannot
@@ -327,7 +327,7 @@ its creation more manageable::
327327
// set a custom Cache-Control directive
328328
$response->headers->addCacheControlDirective('must-revalidate', true);
329329

330-
Public vsPrivate Responses
330+
Public vsprivate Responses
331331
~~~~~~~~~~~~~~~~~~~~~~~~~~~
332332

333333
Both gateway and proxy caches are considered "shared" caches as the cached

‎book/http_fundamentals.rst‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ how to master it.
4242
..index::
4343
single: HTTP; Request-response paradigm
4444

45-
Step1: The Clientsends a Request
45+
Step1: The ClientSends a Request
4646
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4747

4848
Every conversation on the web starts with a *request*. The request is a text
@@ -105,7 +105,7 @@ the client accepts (``Accept``) and the application the client is using to
105105
make the request (``User-Agent``). Many other headers exist and can be found
106106
on Wikipedia's `List of HTTP header fields`_ article.
107107

108-
Step 2: The Serverreturns a Response
108+
Step 2: The ServerReturns a Response
109109
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
110110

111111
Once a server has received the request, it knows exactly which resource the
@@ -248,7 +248,7 @@ you'll never need to worry about. For example, the ``isSecure()`` method
248248
checks the *three* different values in PHP that can indicate whether or not
249249
the user is connecting via a secured connection (i.e. HTTPS).
250250

251-
..sidebar::ParameterBags and Requestattributes
251+
..sidebar::ParameterBags and RequestAttributes
252252

253253
As seen above, the ``$_GET`` and ``$_POST`` variables are accessible via
254254
the public ``query`` and ``request`` properties respectively. Each of

‎book/internals.rst‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ method returns an array of arguments to pass to the Controller callable. The
127127
default implementation automatically resolves the method arguments, based on
128128
the Request attributes.
129129

130-
..sidebar::Matching Controllermethod arguments from Requestattributes
130+
..sidebar::Matching ControllerMethod Arguments from RequestAttributes
131131

132132
For each method argument, Symfony2 tries to get the value of a Request
133133
attribute with the same name. If it is not defined, the argument default
@@ -489,7 +489,7 @@ token link (a string made of 13 random characters) to access the Web Profiler.
489489
If the token is not clickable, it means that the profiler routes are not
490490
registered (see below for configuration information).
491491

492-
Analyzing Profilingdata with the Web Profiler
492+
Analyzing ProfilingData with the Web Profiler
493493
..............................................
494494

495495
The Web Profiler is a visualization tool for profiling data that you can use

‎book/propel.rst‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ A Simple Example: A Product
1515
In this section, you'll configure your database, create a ``Product`` object,
1616
persist it to the database and fetch it back out.
1717

18-
..sidebar::Code along with theexample
18+
..sidebar::Code along with theExample
1919

2020
If you want to follow along with the example in this chapter, create an
2121
``AcmeStoreBundle`` via:
@@ -425,7 +425,7 @@ before. First, fetch a ``$product`` object and then access its related
425425

426426
Note, in the above example, only one query was made.
427427

428-
Moreinformation on Associations
428+
MoreInformation on Associations
429429
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
430430

431431
You will find more information on relations by reading the dedicated chapter on

‎book/routing.rst‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1071,7 +1071,7 @@ from the new routing resource.
10711071
:doc:`FrameworkExtraBundle documentation</bundles/SensioFrameworkExtraBundle/annotations/routing>`
10721072
to see how.
10731073

1074-
Adding a Hostrequirement to Imported Routes
1074+
Adding a HostRequirement to Imported Routes
10751075
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
10761076

10771077
..versionadded::2.2
@@ -1253,8 +1253,8 @@ method::
12531253
$this->generateUrl('blog_show', array('slug' => 'my-blog-post'), true);
12541254
// http://www.example.com/blog/my-blog-post
12551255

1256-
From a template, in Twig, simply use the ``url()`` function (which generates an absolute URL)
1257-
rather than the ``path()`` function (which generates a relative URL). In PHP, pass ``true``
1256+
From a template, in Twig, simply use the ``url()`` function (which generates an absolute URL)
1257+
rather than the ``path()`` function (which generates a relative URL). In PHP, pass ``true``
12581258
to ``generateUrl()``:
12591259

12601260
..configuration-block::

‎book/security.rst‎

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -570,7 +570,7 @@ see :doc:`/cookbook/security/form_login`.
570570

571571
.. _book-security-common-pitfalls:
572572

573-
..sidebar::AvoidCommon Pitfalls
573+
..sidebar::Avoidcommon Pitfalls
574574

575575
When setting up your login form, watch out for a few common pitfalls.
576576

@@ -713,7 +713,7 @@ In this section, you'll focus on how to secure different resources (e.g. URLs,
713713
method calls, etc) with different roles. Later, you'll learn more about how
714714
roles are created and assigned to users.
715715

716-
SecuringSpecific URL Patterns
716+
Securingspecific URL Patterns
717717
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
718718

719719
The most basic way to secure part of your application is to secure an entire
@@ -763,7 +763,7 @@ You can define as many URL patterns as you need - each is a regular expression.
763763

764764
.. _security-book-access-control-explanation:
765765

766-
Understanding how ``access_control``works
766+
Understanding how ``access_control``Works
767767
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
768768

769769
For each incoming request, Symfony2 checks each ``access_control`` entry
@@ -1025,7 +1025,7 @@ In the previous sections, you learned how you can protect different resources
10251025
by requiring a set of *roles* for a resource. This section explores
10261026
the other side of authorization: users.
10271027

1028-
Where do Userscome from? (*User Providers*)
1028+
Where do UsersCome from? (*User Providers*)
10291029
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
10301030

10311031
During authentication, the user submits a set of credentials (usually a username
@@ -1390,7 +1390,7 @@ method:
13901390

13911391
<p>Username: <?php echo $app->getUser()->getUsername() ?></p>
13921392

1393-
UsingMultiple User Providers
1393+
Usingmultiple User Providers
13941394
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
13951395

13961396
Each authentication mechanism (e.g. HTTP Authentication, form login, etc)
@@ -1671,7 +1671,7 @@ the built-in helper function:
16711671
idea to have a main firewall that covers all URLs (as has been shown
16721672
in this chapter).
16731673

1674-
Access Control Lists (ACLs): SecuringIndividual Database Objects
1674+
Access Control Lists (ACLs): Securingindividual Database Objects
16751675
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
16761676

16771677
Imagine you are designing a blog system where your users can comment on your
@@ -1868,7 +1868,7 @@ algorithm; you can use the same strategy in your own code thanks to the
18681868
// is password1 equals to password2?
18691869
$bool = StringUtils::equals($password1, $password2);
18701870

1871-
Generating a secureRandom Number
1871+
Generating a securerandom Number
18721872
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
18731873

18741874
Whenever you need to generate a secure random number, you are highly

‎book/service_container.rst‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -762,7 +762,7 @@ Injecting the dependency by the setter method just needs a change of syntax:
762762
and "setter injection". The Symfony2 service container also supports
763763
"property injection".
764764

765-
Making ReferencesOptional
765+
Making Referencesoptional
766766
--------------------------
767767

768768
Sometimes, one of your services may have an optional dependency, meaning

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp