MDL-21400 maring data_for_js as deprecated because it encourages bad coding style

This commit is contained in:
Petr Skoda 2010-01-26 10:12:10 +00:00
parent c17f05fb2f
commit 5a197e9130

View File

@ -621,6 +621,8 @@ class page_requirements_manager {
}
/**
* !!!!!!DEPRECATED!!!!!! please use js_init_call() for everything now.
*
* Make some data from PHP available to JavaScript code.
*
* For example, if you call