Permalink
Browse files

Updating doc block.

  • Loading branch information...
1 parent 136b4db commit 533f6e0d367aaa1366b4d521fe7de8aeac303ab9 @markstory markstory committed Aug 27, 2009
Showing with 6 additions and 2 deletions.
  1. +6 −2 cake/libs/view/helpers/html.php
@@ -699,11 +699,15 @@ function tableCells($data, $oddTrOptions = null, $evenTrOptions = null, $useCoun
/**
* Returns a formatted block tag, i.e DIV, SPAN, P.
*
+ * ## Attributes
+ *
+ * - `escape` Whether or not the contents should be html_entity escaped.
+ *
* @param string $name Tag name.
* @param string $text String content that will appear inside the div element.
* If null, only a start tag will be printed
- * @param array $attributes Additional HTML attributes of the DIV tag
- * @param boolean $escape If true, $text will be HTML-escaped
+ * @param array $attributes Additional HTML attributes of the DIV tag, see above.
+ * @param boolean $escape If true, $text will be HTML-escaped (Deprecated, use $attributes[escape])
* @return string The formatted tag element
* @access public
*/

0 comments on commit 533f6e0

Please sign in to comment.