Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Sign in
Toggle navigation
S
Silex
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
common
Silex
Commits
5a4b0158
Commit
5a4b0158
authored
Nov 03, 2013
by
Fabien Potencier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed doc markup
parent
bf083908
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
12 additions
and
10 deletions
+12
-10
doc/changelog.rst
doc/changelog.rst
+1
-1
doc/organizing_controllers.rst
doc/organizing_controllers.rst
+2
-2
doc/providers.rst
doc/providers.rst
+4
-2
doc/providers/form.rst
doc/providers/form.rst
+3
-4
doc/providers/index.rst
doc/providers/index.rst
+1
-0
doc/providers/twig.rst
doc/providers/twig.rst
+1
-1
No files found.
doc/changelog.rst
View file @
5a4b0158
...
...
@@ -54,7 +54,7 @@ Changelog
* **2013-04-12**: Added support for validators as services.
* **2013-04-01**: Added support for host matching with symfony 2.2:
* **2013-04-01**: Added support for host matching with symfony 2.2:
:
$app->match('/', function() {
// app-specific action
...
...
doc/organizing_controllers.rst
View file @
5a4b0158
...
...
@@ -69,5 +69,5 @@ would secure all controllers for the backend collection::
// app.php
$app->mount('/blog', include 'blog.php');
Instead of requiring a file, you can also create a :
doc
:`Controller
provider <
/providers#controllers
-providers>`.
Instead of requiring a file, you can also create a :
ref
:`Controller
provider <
controller
-providers>`.
doc/providers.rst
View file @
5a4b0158
...
...
@@ -140,8 +140,10 @@ You can now use this provider as follows::
In this example we are getting the ``name`` parameter from the query string,
so the request path would have to be ``/hello?name=Fabien``.
Controllers providers
---------------------
.. _controller-providers:
Controller Providers
--------------------
Loading providers
~~~~~~~~~~~~~~~~~
...
...
doc/providers/form.rst
View file @
5a4b0158
...
...
@@ -37,12 +37,11 @@ Registering
.. note::
If you don't want to create your own form layout, it's fine: a default one
will be used. But you will have to register the
:doc:`translation provider <providers/translation>` as the default form
layout requires it.
will be used. But you will have to register the :doc:`translation provider
<translation>` as the default form layout requires it.
If you want to use validation with forms, do not forget to register the
:doc:`Validator provider <
providers/
validator>`.
:doc:`Validator provider <validator>`.
.. note::
...
...
doc/providers/index.rst
View file @
5a4b0158
...
...
@@ -16,5 +16,6 @@ Silex
http_cache
http_fragment
security
remember_me
serializer
service_controller
doc/providers/twig.rst
View file @
5a4b0158
...
...
@@ -163,5 +163,5 @@ You can configure the Twig environment before using it by extending the
return $twig;
}));
For more information, check out the `Twig documentation
For more information, check out the `
official
Twig documentation
<http://twig.sensiolabs.org>`_.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment