From 55838677b8a1b02756989cb5f7de88c3a7019c82 Mon Sep 17 00:00:00 2001 From: Arhell Date: Thu, 30 May 2024 00:16:39 +0300 Subject: [PATCH] Replace SecurityComponent with FormProtectionComponent (fr, ja) --- fr/views/helpers/form.rst | 4 ++-- ja/views/helpers/form.rst | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/fr/views/helpers/form.rst b/fr/views/helpers/form.rst index e9875f21e9..2cd319302a 100644 --- a/fr/views/helpers/form.rst +++ b/fr/views/helpers/form.rst @@ -2051,13 +2051,13 @@ Fermer le Formulaire * ``$secureAttributes`` - Optionnel. Vous permet de fournir des attributs qui seront utilisés comme attributs HTML aux inputs ``hidden`` générés par le - ``SecurityComponent``. + ``FormProtectionComponent``. La méthode ``end()`` ferme et complète le marquage du formulaire. Souvent, ``end()`` se contente d'afficher la balise fermante du formulaire, mais l'utilisation de ``end()`` est une bonne pratique puisqu'elle permet également au FormHelper d'ajouter les champs cachées dont le -:php:class:`Cake\\Controller\\Component\\SecurityComponent` a besoin: +:php:class:`Cake\\Controller\\Component\\FormProtectionComponent` a besoin: .. code-block:: php diff --git a/ja/views/helpers/form.rst b/ja/views/helpers/form.rst index 68eb4ffeb8..ede8761f4a 100644 --- a/ja/views/helpers/form.rst +++ b/ja/views/helpers/form.rst @@ -2071,12 +2071,12 @@ submit 入力は、基本的なテキストやイメージが必要な場合に .. php:method:: end($secureAttributes = []) -* ``$secureAttributes`` - オプション。SecurityComponent 用に生成された非表示の +* ``$secureAttributes`` - オプション。FormProtectionComponent 用に生成された非表示の input 要素に HTML 属性として渡されるセキュアな属性を提供できます。 ``end()`` は、フォームを閉じて完成します。 多くの場合、 ``end()`` は終了タグだけを出力しますが、 ``end()`` を使うと、 -FormHelper が :php:class:`Cake\\Controller\\Component\\SecurityComponent` に必要な +FormHelper が :php:class:`Cake\\Controller\\Component\\FormProtectionComponent` に必要な hidden フォーム要素を挿入できるようになります。 .. code-block:: php