<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="http://94.26.249.17:49080/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="http://94.26.249.17:49080/feed.php">
        <title>Doc13 php:symfony:2x</title>
        <description></description>
        <link>http://94.26.249.17:49080/</link>
        <image rdf:resource="http://94.26.249.17:49080/lib/tpl/dokuwiki/images/favicon.ico" />
       <dc:date>2026-04-13T10:06:39+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="http://94.26.249.17:49080/doku.php?id=php:symfony:2x:cache&amp;rev=1707126044&amp;do=diff"/>
                <rdf:li rdf:resource="http://94.26.249.17:49080/doku.php?id=php:symfony:2x:doctrine-generate-schema&amp;rev=1707126044&amp;do=diff"/>
                <rdf:li rdf:resource="http://94.26.249.17:49080/doku.php?id=php:symfony:2x:doctrine&amp;rev=1707126044&amp;do=diff"/>
                <rdf:li rdf:resource="http://94.26.249.17:49080/doku.php?id=php:symfony:2x:forms&amp;rev=1707126044&amp;do=diff"/>
                <rdf:li rdf:resource="http://94.26.249.17:49080/doku.php?id=php:symfony:2x:memcache&amp;rev=1707126044&amp;do=diff"/>
                <rdf:li rdf:resource="http://94.26.249.17:49080/doku.php?id=php:symfony:2x:paginator&amp;rev=1707126044&amp;do=diff"/>
                <rdf:li rdf:resource="http://94.26.249.17:49080/doku.php?id=php:symfony:2x:start&amp;rev=1707126044&amp;do=diff"/>
                <rdf:li rdf:resource="http://94.26.249.17:49080/doku.php?id=php:symfony:2x:twig&amp;rev=1707126044&amp;do=diff"/>
                <rdf:li rdf:resource="http://94.26.249.17:49080/doku.php?id=php:symfony:2x:user&amp;rev=1707126044&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="http://94.26.249.17:49080/lib/tpl/dokuwiki/images/favicon.ico">
        <title>Doc13</title>
        <link>http://94.26.249.17:49080/</link>
        <url>http://94.26.249.17:49080/lib/tpl/dokuwiki/images/favicon.ico</url>
    </image>
    <item rdf:about="http://94.26.249.17:49080/doku.php?id=php:symfony:2x:cache&amp;rev=1707126044&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-05T12:40:44+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>php:symfony:2x:cache</title>
        <link>http://94.26.249.17:49080/doku.php?id=php:symfony:2x:cache&amp;rev=1707126044&amp;do=diff</link>
        <description>*  &lt;http://symfony-gu.ru/documentation/ru/html/book/http_cache.html&gt;</description>
    </item>
    <item rdf:about="http://94.26.249.17:49080/doku.php?id=php:symfony:2x:doctrine-generate-schema&amp;rev=1707126044&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-05T12:40:44+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Генерация схемы из базы</title>
        <link>http://94.26.249.17:49080/doku.php?id=php:symfony:2x:doctrine-generate-schema&amp;rev=1707126044&amp;do=diff</link>
        <description>Генерация схемы из базы
$ php app/console doctrine:mapping:import --force AcmeBlogBundle xml

&lt;http://symfony.com/doc/current/cookbook/doctrine/reverse_engineering.html&gt;</description>
    </item>
    <item rdf:about="http://94.26.249.17:49080/doku.php?id=php:symfony:2x:doctrine&amp;rev=1707126044&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-05T12:40:44+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Доктрина</title>
        <link>http://94.26.249.17:49080/doku.php?id=php:symfony:2x:doctrine&amp;rev=1707126044&amp;do=diff</link>
        <description>Доктрина</description>
    </item>
    <item rdf:about="http://94.26.249.17:49080/doku.php?id=php:symfony:2x:forms&amp;rev=1707126044&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-05T12:40:44+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Формы</title>
        <link>http://94.26.249.17:49080/doku.php?id=php:symfony:2x:forms&amp;rev=1707126044&amp;do=diff</link>
        <description>Формы

Описание полей

Текстовые поля

text

textarea

email

integer

money

number

password

percent

search

url

Поля для выбора

choice

&lt;http://symfony.com/doc/current/reference/forms/types/choice.html&gt;

entity

country

language

locale

timezone

Поля для даты и времени</description>
    </item>
    <item rdf:about="http://94.26.249.17:49080/doku.php?id=php:symfony:2x:memcache&amp;rev=1707126044&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-05T12:40:44+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Memcache</title>
        <link>http://94.26.249.17:49080/doku.php?id=php:symfony:2x:memcache&amp;rev=1707126044&amp;do=diff</link>
        <description>Memcache

config.yml


doctrine:
    orm:
        auto_mapping: true
        metadata_cache_driver: apc
        query_cache_driver:
            type: service
            id: my_doctrine_common_cache_service
        result_cache_driver:
            type: memcache
            host: localhost
            port: 11211
            instance_class: Memcache</description>
    </item>
    <item rdf:about="http://94.26.249.17:49080/doku.php?id=php:symfony:2x:paginator&amp;rev=1707126044&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-05T12:40:44+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Пэйджер</title>
        <link>http://94.26.249.17:49080/doku.php?id=php:symfony:2x:paginator&amp;rev=1707126044&amp;do=diff</link>
        <description>Пэйджер

	*  &lt;http://knpbundles.com/search?q=pagination&gt;

KnpBundles

Инсталяция

Нужно добавить в компосер


{
    &quot;require&quot;: {
        &quot;knplabs/knp-paginator-bundle&quot;: &quot;dev-master&quot;
    }
}


Альтернативные способы


[knp-components]
    git=http://github.com/KnpLabs/knp-components.git

[KnpPaginatorBundle]
    git=http://github.com/KnpLabs/KnpPaginatorBundle.git
    target=bundles/Knp/Bundle/PaginatorBundle</description>
    </item>
    <item rdf:about="http://94.26.249.17:49080/doku.php?id=php:symfony:2x:start&amp;rev=1707126044&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-05T12:40:44+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Symfony 2x</title>
        <link>http://94.26.249.17:49080/doku.php?id=php:symfony:2x:start&amp;rev=1707126044&amp;do=diff</link>
        <description>Symfony 2x

	*  Доктрина
	*  Формы
	*  twig
	*  Пользователи и логин</description>
    </item>
    <item rdf:about="http://94.26.249.17:49080/doku.php?id=php:symfony:2x:twig&amp;rev=1707126044&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-05T12:40:44+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Twig</title>
        <link>http://94.26.249.17:49080/doku.php?id=php:symfony:2x:twig&amp;rev=1707126044&amp;do=diff</link>
        <description>Twig

Картинки
&lt;img src=&quot;{{ asset('bundles/acmedemo/img/weather_icons/blizzard.gif') }}&quot; /&gt;

Ссылки
&lt;a href=&quot;{{ path('static', {'page': 'home'}) }}&quot;&gt;Home&lt;/a&gt;</description>
    </item>
    <item rdf:about="http://94.26.249.17:49080/doku.php?id=php:symfony:2x:user&amp;rev=1707126044&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-05T12:40:44+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Пользователи и логин</title>
        <link>http://94.26.249.17:49080/doku.php?id=php:symfony:2x:user&amp;rev=1707126044&amp;do=diff</link>
        <description>Пользователи и логин

Настройки

Контроллер


if (false === $this-&gt;get('security.context')-&gt;isGranted('ROLE_ADMIN')) {
        throw new AccessDeniedException();
}



public function indexAction()
{
    if (!$this-&gt;get('security.context')-&gt;isGranted(new Expression(
        '&quot;ROLE_ADMIN&quot; in roles or (user and user.isSuperAdmin())'
    ))) {
        throw new AccessDeniedException();
    }

    // ...
}</description>
    </item>
</rdf:RDF>
