Skip to content

Commit

Permalink
Fixing formatting and links.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Aug 30, 2011
1 parent e2d65d9 commit 51c86ce
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 11 deletions.
7 changes: 4 additions & 3 deletions en/appendices/2-0-migration-guide.rst
Original file line number Diff line number Diff line change
Expand Up @@ -413,8 +413,8 @@ CakeSession is now a fully static class, both ``SessionHelper`` and
``SessionComponent`` are wrappers and sugar for it. It can now easily be used
in models or other contexts. All of its methods are called statically.

Session configuration has also changed :doc:`/development/sessions <see the
session section for more information>`
Session configuration has also changed :doc:`<see the session section for more
information </development/sessions>`

Helpers
=======
Expand Down Expand Up @@ -696,7 +696,8 @@ look like::


Element caching, and view callbacks have been changed in 2.0 to help provide you
with more flexibility and consistency. :doc:`views <Read more about those changes>`.
with more flexibility and consistency. :doc:`Read more about those
changes </views>`.

CacheHelper decoupled
---------------------
Expand Down
16 changes: 8 additions & 8 deletions en/core-libraries/collections.rst
Original file line number Diff line number Diff line change
Expand Up @@ -60,22 +60,22 @@ helper's beforeRender method. There are several options that can be used to
control how callbacks are fired:

- ``breakOn`` Set to the value or values you want the callback propagation to stop on.
Can either be a scalar value, or an array of values to break on. Defaults to ``false``.
Can either be a scalar value, or an array of values to break on. Defaults to ``false``.

- ``break`` Set to true to enabled breaking. When a trigger is broken, the last returned value
will be returned. If used in combination with ``collectReturn`` the collected results will be returned.
Defaults to ``false``.
will be returned. If used in combination with ``collectReturn`` the collected results will be returned.
Defaults to ``false``.

- ``collectReturn`` Set to true to collect the return of each object into an array.
This array of return values will be returned from the trigger() call. Defaults to ``false``.
This array of return values will be returned from the trigger() call. Defaults to ``false``.

- ``triggerDisabled`` Will trigger the callback on all objects in the collection even the non-enabled
objects. Defaults to false.
objects. Defaults to false.

- ``modParams`` Allows each object the callback gets called on to modify the parameters to the next object.
Setting modParams to an integer value will allow you to modify the parameter with that index.
Any non-null value will modify the parameter index indicated.
Defaults to false.
Setting modParams to an integer value will allow you to modify the parameter with that index.
Any non-null value will modify the parameter index indicated.
Defaults to false.

Cancelling a callback loop
--------------------------
Expand Down

0 comments on commit 51c86ce

Please sign in to comment.