Skip to content

Commit

Permalink
Merge pull request cakephp#2300 from YuzuruS/patch-3
Browse files Browse the repository at this point in the history
updated Controller::render() info
  • Loading branch information
antograssiot committed Jan 19, 2015
2 parents d42f91f + 4915822 commit dc66bea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ja/controllers.rst
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ CakePHPのコントローラは、リクエストのライフサイクル周り
$this->set('title_for_layout', 'This is the page title');


.. php:method:: render(string $action, string $layout)
.. php:method:: render(string $view, string $layout)
:php:meth:`~Controller::render()` メソッドは各アクションの最後に自動的に呼ばれます。
このメソッドは(:php:meth:`~Controller::set()` を使って渡したデータを使って)すべてのビューロジックを実行し、ビューを :php:attr:`~View::$layout` 内に配置し、エンドユーザーに表示します。
Expand Down

0 comments on commit dc66bea

Please sign in to comment.