fetch()
Thanks to:
No one :(
Description
Gets the content of a block. What is a block? A block is some in memory stored data, from the View-object of the CakePHP setup.
Usage: fetch($name, $default = '') <?= $this->fetch('title') ?> CC// Adds the content between the append() and end() to the ViewBlock 'script' CC <?= $this->append('script') ?> <script> function updateButtons() {...} </script> <?= $this->end() ?> CC// Gets the content of the ViewBlock 'script' CC <?= $this->fetch('script') ?>