Jump to main content Jump to doc navigation

modX.getRegisteredClientStartupScripts

Other versions: 2.x (current) — Found a problem? Please edit this page or report an issue.

modX::getRegisteredClientStartupScripts

Returns all registered startup CSS, JavaScript, or HTML blocks.

Syntax

API Doc: http://api.modx.com/revolution/2.2/db_core_model_modx_modx.class.html#%5CmodX::getRegisteredClientStartupScripts()

string getRegisteredClientStartupScripts ()

Example

Get all registered startup scripts into an array.

$startupScripts = $modx->getRegisteredClientStartupScripts();

See Also