Package Cake\View

Package summary

Class summary

  • Abstract base class for all other Helpers in CakePHP. Provides common methods and features.

  • Helpers collection is used as a registry for loaded helpers and handles loading and constructing helper class objects.

  • A view class that is used for JSON responses.

  • Media View provides a custom view implementation for sending files to visitors. Its great for making the response of a controller action be a file that is saved somewhere on the filesystem.

  • ScaffoldView provides specific view file loading features for scaffolded views.

  • Theme view class

  • View, the V in the MVC triad. View interacts with Helpers and view variables passed in from the controller to render the results of the controller action. Often this is HTML, but can also take the form of JSON, XML, PDF's or streaming files.

  • ViewBlock implements the concept of Blocks or Slots in the View layer. Slots or blocks are combined with extending views and layouts to afford slots of content that are present in a layout or parent view, but are defined by the child view or elements used in the view.

  • A view class that is used for creating XML responses.

© 2005–2016 The Cake Software Foundation, Inc.
Licensed under the MIT License.
CakePHP is a registered trademark of Cake Software Foundation, Inc.
We are not endorsed by or affiliated with CakePHP.
https://api.cakephp.org/2.9/package-Cake.View.html