Skip to content

Commit ce605e1

Browse files
authored
Merge pull request #7868 from cakephp/upd
Update paginator.rst (fr, ja, ru, tl)
2 parents 835fb47 + 9da1cf7 commit ce605e1

4 files changed

Lines changed: 7 additions & 7 deletions

File tree

fr/views/helpers/paginator.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -539,7 +539,7 @@ Il est aussi possible de trier une colonne basée sur des associations:
539539
<?php foreach ($recipes as $recipe): ?>
540540
<tr>
541541
<td><?= h($recipe->title) ?> </td>
542-
<td><?= h($recipe->name) ?> </td>
542+
<td><?= h($recipe->author->name) ?> </td>
543543
</tr>
544544
<?php endforeach; ?>
545545
</table>

ja/views/helpers/paginator.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -493,7 +493,7 @@ PaginatorHelperのすべてのオプションを設定します。サポート
493493
<?php foreach ($recipes as $recipe): ?>
494494
<tr>
495495
<td><?= h($recipe->title) ?> </td>
496-
<td><?= h($recipe->name) ?> </td>
496+
<td><?= h($recipe->author->name) ?> </td>
497497
</tr>
498498
<?php endforeach; ?>
499499
</table>
@@ -503,16 +503,16 @@ PaginatorHelperのすべてのオプションを設定します。サポート
503503
関連するモデルでカラムをソートするには、 ``PaginationComponent::paginate``
504504
プロパティーで設定する必要があります。上記の例を使用すると、
505505
ページ制御を処理するコントローラーは、次のように ``sortWhitelist`` キーを設定する必要があります。
506-
506+
507507
.. code-block:: php
508-
508+
509509
$this->paginate = [
510510
'sortWhitelist' => [
511511
'Posts.title',
512512
'Authors.name',
513513
],
514514
];
515-
515+
516516
``sortWhitelist`` オプションの使い方の詳細については、
517517
:ref:`control-which-fields-used-for-ordering` をご覧ください。
518518

ru/views/helpers/paginator.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -495,7 +495,7 @@ The generated form and control will automatically submit on change.
495495
<?php foreach ($recipes as $recipe): ?>
496496
<tr>
497497
<td><?= h($recipe->title) ?> </td>
498-
<td><?= h($recipe->name) ?> </td>
498+
<td><?= h($recipe->author->name) ?> </td>
499499
</tr>
500500
<?php endforeach; ?>
501501
</table>

tl/views/helpers/paginator.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -508,7 +508,7 @@ It is also possible to sort a column based on associations:
508508
<?php foreach ($recipes as $recipe): ?>
509509
<tr>
510510
<td><?= h($recipe->title) ?> </td>
511-
<td><?= h($recipe->name) ?> </td>
511+
<td><?= h($recipe->author->name) ?> </td>
512512
</tr>
513513
<?php endforeach; ?>
514514
</table>

0 commit comments

Comments
 (0)