MINOR Updated phpDoc for Requirements::customCSS() and Requirements_Backend::customCSS()

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@67682 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Sean Harvey 2008-12-08 01:16:27 +00:00 committed by Sam Minnee
parent adc2a21232
commit b2c88c2f5b

View File

@ -59,7 +59,7 @@ class Requirements {
* See {@link Requirements_Backend::customCSS()} * See {@link Requirements_Backend::customCSS()}
* *
* @param string $script CSS selectors as a string (without <style> tag enclosing selectors). * @param string $script CSS selectors as a string (without <style> tag enclosing selectors).
* @param int $uniquenessID * @param int $uniquenessID Group CSS by a unique ID as to avoid duplicate custom CSS in header
*/ */
static function customCSS($script, $uniquenessID = null) { static function customCSS($script, $uniquenessID = null) {
self::backend()->customCSS($script, $uniquenessID); self::backend()->customCSS($script, $uniquenessID);
@ -395,7 +395,7 @@ class Requirements_Backend {
* Include custom CSS styling to the header of the page. * Include custom CSS styling to the header of the page.
* *
* @param string $script CSS selectors as a string (without <style> tag enclosing selectors). * @param string $script CSS selectors as a string (without <style> tag enclosing selectors).
* @param int $uniquenessID * @param int $uniquenessID Group CSS by a unique ID as to avoid duplicate custom CSS in header
*/ */
function customCSS($script, $uniquenessID = null) { function customCSS($script, $uniquenessID = null) {
if($uniquenessID) if($uniquenessID)
@ -405,7 +405,6 @@ class Requirements_Backend {
} }
} }
/** /**
* Add the following custom code to the <head> section of the page. * Add the following custom code to the <head> section of the page.
* *
@ -450,7 +449,7 @@ class Requirements_Backend {
} }
function get_css() { function get_css() {
return array_diff_key($this->css,$this->blocked); return array_diff_key($this->css, $this->blocked);
} }
/** /**