// Editor class function SpawEditor(name) { this.name = name; this.toolbar_items = new Array(); this.pages = new Array(); this.tabs = new Array(); this.controlled_editors = new Array(); //this.event_handlers = new Array(); this.config = new Array(); } SpawEditor.prototype.name; // secure config id SpawEditor.prototype.scid; // stylesheet SpawEditor.prototype.stylesheet; // config SpawEditor.prototype.config; SpawEditor.prototype.getConfigValue = function(name) { return this.config[name]; } SpawEditor.prototype.setConfigValue = function(name, value) { this.config[name] = value; } SpawEditor.prototype.getRequestUriConfigValue = function() { return this.getConfigValue("__request_uri"); } // returns true if all pages are initialized SpawEditor.prototype.isInitialized = function() { var result = true; for (var i=0; i