From 3ec6e95deec14d4a5f4eae77de6e3ea52c0d3e6b Mon Sep 17 00:00:00 2001 From: Kevin Chabowski Date: Sun, 15 Jan 2012 21:11:03 +0100 Subject: Documentation of settings. --- ratatoeskr/sys/models.php | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'ratatoeskr/sys') diff --git a/ratatoeskr/sys/models.php b/ratatoeskr/sys/models.php index 913177e..255fafc 100644 --- a/ratatoeskr/sys/models.php +++ b/ratatoeskr/sys/models.php @@ -32,7 +32,16 @@ $imagetype_file_extensions = array( /* * Variable: $ratatoeskr_settings - * The global object. For internal use. + * The global object. Can be accessed like an array. + * Has these fields: + * + * "default_language" - The Language code of the default language. + * "comment_visible_default" - True, if comments should be visible by default. + * "allow_comments_default" - True, if comments should be allowed by default. + * "default_section" - The id of the default
. + * "comment_textprocessor" - The textprocessor to be used for comments. + * "languages" - Array of activated languages. + * "last_db_cleanup" - Timestamp of the last database cleanup. */ $ratatoeskr_settings = NULL; -- cgit v1.2.3-70-g09d2