The parameters need only be specified the first time this
method is run.
Parameters file Path and name of the configuration file
[type] Type of configuration file
Returns Global configuration object
Appendix
[ 429 ]
static &getDBO( ) : JDatabase
Gets the global database object. If the database object does not exist it will be created.
Returns Global database object
static &getDocument( ) : JDocument
Gets the global document object. If the document object does not exist it will be created.
Returns Global document object
static &getEditor( editor : string=null ) : JEditor
Gets a new instance of the specified editor. If editor is not specified, the default editor
will be used.
Parameters [editor] Type of editor
Returns A new editor object
static &getLanguage( ) : JLanguage
Gets the global language object. If the language object does not exist it will be created.
Returns Global language object
static &getMailer( ) : JMail
Gets the global mail object loaded with the site mail settings. If the mail object does not
exist it will be created.
Pages:
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594