From f738ddc97c7f91b723227473ea77be18e1c5ac7d Mon Sep 17 00:00:00 2001 From: knut <> Date: Mon, 18 Aug 2008 08:30:30 +0000 Subject: enhanced doc according to #912 --- framework/Web/UI/TClientScriptManager.php | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/framework/Web/UI/TClientScriptManager.php b/framework/Web/UI/TClientScriptManager.php index c59246c3..0baaafa2 100644 --- a/framework/Web/UI/TClientScriptManager.php +++ b/framework/Web/UI/TClientScriptManager.php @@ -337,6 +337,22 @@ class TClientScriptManager extends TApplicationComponent /** * Registers a CSS file to be rendered in the page head + * + * The CSS files in themes are registered in {@link OnPreRenderComplete onPreRenderComplete} if you want to override + * CSS styles in themes you need to register it after this event is completed. + * + * Example: + * + * Page->ClientScript->registerStyleSheetFile($url, $url); + * } + * } + * + * * @param string a unique key identifying the file * @param string URL to the CSS file * @param string media type of the CSS (such as 'print', 'screen', etc.). Defaults to empty, meaning the CSS applies to all media types. -- cgit v1.2.3