mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
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:
parent
adc2a21232
commit
b2c88c2f5b
@ -59,7 +59,7 @@ class Requirements {
|
||||
* See {@link Requirements_Backend::customCSS()}
|
||||
*
|
||||
* @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) {
|
||||
self::backend()->customCSS($script, $uniquenessID);
|
||||
@ -395,7 +395,7 @@ class Requirements_Backend {
|
||||
* Include custom CSS styling to the header of the page.
|
||||
*
|
||||
* @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) {
|
||||
if($uniquenessID)
|
||||
@ -405,7 +405,6 @@ class Requirements_Backend {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Add the following custom code to the <head> section of the page.
|
||||
*
|
||||
@ -450,7 +449,7 @@ class Requirements_Backend {
|
||||
}
|
||||
|
||||
function get_css() {
|
||||
return array_diff_key($this->css,$this->blocked);
|
||||
return array_diff_key($this->css, $this->blocked);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user