Mecha CMS

Panel’s API.

JavaScript

Author: Taufik Nurrohman · 7 Views

Tweet

JavaScript API.

Constants 

All user defined constants except PANEL are available within the window scope.

Related: Constant

Variables 

$config 

Return the JavaScript configuration data defined by panel.o.js namespace.

$language 

Return the site language data.

$token 

Return the current token.

$url 

Return the current URL data.

$u_r_l 

Alias for $url.

languages 

Return list of languages ID as the key with value true for the active language.

0 Comments

No comments yet.