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
0b8249c9
Commit
0b8249c9
authored
May 01, 2012
by
Fabien Potencier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed some references in the docs
parent
64901b7c
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
doc/cookbook/session_storage.rst
doc/cookbook/session_storage.rst
+1
-1
doc/providers/translation.rst
doc/providers/translation.rst
+3
-3
doc/providers/twig.rst
doc/providers/twig.rst
+2
-2
No files found.
doc/cookbook/session_storage.rst
View file @
0b8249c9
How to use PdoSessionStorage to store sessions in the database
How to use PdoSessionStorage to store sessions in the database
==============================================================
==============================================================
By default, the :doc:`SessionServiceProvider <providers/session>` writes
By default, the :doc:`SessionServiceProvider <
/
providers/session>` writes
session information in files using Symfony2 NativeFileSessionStorage. Most
session information in files using Symfony2 NativeFileSessionStorage. Most
medium to large websites use a database to store sessions instead of files,
medium to large websites use a database to store sessions instead of files,
because databases are easier to use and scale in a multi-webserver
because databases are easier to use and scale in a multi-webserver
...
...
doc/providers/translation.rst
View file @
0b8249c9
...
@@ -157,9 +157,9 @@ Once loaded, the translation service provider is available from within Twig temp
...
@@ -157,9 +157,9 @@ Once loaded, the translation service provider is available from within Twig temp
{{ app.translator.trans('translation_key') }}
{{ app.translator.trans('translation_key') }}
Even better: register the :doc:`SymfonyBridgesServiceProvider
<providers/symfony_bridges>` and you will get
Even better: register the :doc:`SymfonyBridgesServiceProvider
the TranslationExtension of the bridge allowing you to translate strings in
</providers/symfony_bridges>` and you will get the TranslationExtension of the
the Twig way:
bridge allowing you to translate strings in
the Twig way:
.. code-block:: jinja
.. code-block:: jinja
...
...
doc/providers/twig.rst
View file @
0b8249c9
...
@@ -28,8 +28,8 @@ Services
...
@@ -28,8 +28,8 @@ Services
* **twig**: The ``Twig_Environment`` instance. The main way of
* **twig**: The ``Twig_Environment`` instance. The main way of
interacting with Twig.
interacting with Twig.
* **twig.configure**: :doc:`Protected closure <
services#protected-closures>` that takes the Twig
* **twig.configure**: :doc:`Protected closure <
/services#protected-closures>`
environment as an argument. You can use it to add more
that takes the Twig
environment as an argument. You can use it to add more
custom globals.
custom globals.
* **twig.loader**: The loader for Twig templates which uses
* **twig.loader**: The loader for Twig templates which uses
...
...
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