cakephp working notes 17 - controller attribute Posts

sponsored links
Reference Site
1) action: the name of the currently requested controller action.
The current request method name
2) autoLayout: Set to true to automatically render the layout around views.
True-value of the layout will automatically render the view, false is not rendering the layout
3) autoRender: Set to true to automatically render the view after action logic.
Value is true - the logic in the controller automatically re-render to achieve self-view, if ajax requests is set to false.

4) base: Base URL path

5) cacheAction: Used to define methods a controller that will be cached. To cache a single action, the value is set to an array containing keys that match action names and values that denote cache expiration times (in seconds).

var $ cacheAction = array (
'View/23 /' => 21600,
'Recalled /' => 86400
$ CacheAction can also be set to a strtotime () compatible string. This marks all the actions in the controller for view caching.
In order to buffer the view, set the size of the
6) Component: Instance of Component used to handle callbacks.
The component object is used to callback
7) $ components: the controller uses the component list
$ Helpers include the use of plug-VIEW, which is a small helper
$ Uses include the control module can access the MODEL.
$ Data
  • StumbleUpon
  • Digg
  • TwitThis
  • Mixx
  • Technorati
  • Facebook
  • NewsVine
  • Reddit
  • Google
  • LinkedIn
  • YahooMyWeb

Related Posts of cakephp working notes 17 - controller attribute Posts

  • ajax overtime

    ajax overtime

  • Msxml2.XMLHTTP version problem

    Projects with an import feature prototype.js of Ajax functionality to update the prompt, the code is very simple, do not have the framework of the background on a jsp to output Text, future use of timers and to update the page Ajax.request encountere ...

  • Depth understanding of the eval function in javascript In this paper, the discovery of an appropriate title is not so easy, huh, huh, so in this note under the first two purposes of this article: (1) introduction of the eval function in javascript usage (2) how to func

  • JS after ajax request return of the problem can not be implemented

    1: Send ajax request, in the onComplete, if back when the html contains a javascript, then these javascrip and will not be realized, it does not mean not to implement. This problem has troubled me for a long time, behind the hair and then put this kn ...

  • Javascript Object Model

    Javascript Object Model

  • Hibernate II Study Notes

    11. Many-to-many Of many that can be converted to two one-to-many <set name="students" table="teacher_student"> <key column="techer_id"/> <many-to-many column="student_id"/> </set> many-to-many data only from one end of the mainten

  • JS charts extjs implementation tools can be combined

    OpenFlashChart brief introduction by valensoft 2009-1-10 8:29:00 OpenFlashChart is an open source Flash and Javascript to the technical foundation for the free chart, using it to create some very useful analysis of the effect of the statements of the char

  • jboss ejb3 Message Driven Bean

    Super Medium ejb hate. . . . . . . . . . . . . . . . . . . ================================================ To configure a Message Driven Bean in a different application server parameters are not the same. Currently only passed the test jboss. Message Dri

  • JAVA Class naming convention

    1. Entity Layer: Inheritance: All categories inherited from BasicEntity, one of BasicEntity implementation interface; Naming rules: Class Name = Object + type suffix, one of type suffix for Bean, such as: SalesOrderBean 2. Form l ...

blog comments powered by Disqus
Recent Entries
Tag Cloud
Random Entries