Skip to content

Commit

Permalink
expanding doc blocks.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Jul 30, 2009
1 parent 3a5b782 commit 6d1c38c
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion cake/libs/view/helpers/html.php
Expand Up @@ -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
Expand Down Expand Up @@ -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
**/
Expand Down

0 comments on commit 6d1c38c

Please sign in to comment.