Skip to content
Permalink
Browse files

expanding doc blocks.

  • Loading branch information...
markstory committed Jul 30, 2009
1 parent 3a5b782 commit 6d1c38c1ccaf153544f08091eaf3f31f71c8b86a
Showing with 6 additions and 1 deletion.
  1. +6 −1 cake/libs/view/helpers/html.php
@@ -480,6 +480,11 @@ function script($url, $inline = true, $once = true) {
/**
* Wrap $script in a script tag.
*
* ### Options
*
* - `safe` (boolean) Whether or not the $script should be wrapped in <![CDATA[ ]]>
* - `inline` (boolean) Whether or not the $script should be added to $scripts_for_layout or output inline
*
* @param string $script The script to wrap
* @param array $options The options to use.
* @return mixed string or null
@@ -521,7 +526,7 @@ function scriptStart($options = array()) {
/**
* End a Buffered section of Javascript capturing.
* Generates a script tag inline or in `$scripts_for_layout` depending on the settings
* used when the scriptblock was started
* used when the scriptBlock was started
*
* @return mixed depending on the settings of scriptStart() either a script tag or null
**/

0 comments on commit 6d1c38c

Please sign in to comment.
You can’t perform that action at this time.