From a47971aefd2bee45f4e57dd1fc3ea24bb370881f Mon Sep 17 00:00:00 2001 From: root Date: Sun, 29 Jun 2014 18:32:40 +0200 Subject: Some doco work. Changed main.bb and added a return link to all .bb files and began planning new entries for user orientated documentation. --- doc/old/html/classConversation.html | 656 ++++++++++++++++++++++++++++++++++++ 1 file changed, 656 insertions(+) create mode 100644 doc/old/html/classConversation.html (limited to 'doc/old/html/classConversation.html') diff --git a/doc/old/html/classConversation.html b/doc/old/html/classConversation.html new file mode 100644 index 000000000..cb5760686 --- /dev/null +++ b/doc/old/html/classConversation.html @@ -0,0 +1,656 @@ + + + + + + +The Red Matrix: Conversation Class Reference + + + + + + + + + + + + + +
+
+ + + + + + + +
+
The Red Matrix +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ + +
+
+Inheritance diagram for Conversation:
+
+
+ + +BaseObject + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

 __construct ($mode, $preview, $prepared_item= '')
 
 get_mode ()
 
 is_writable ()
 
 is_commentable ()
 
 is_preview ()
 
 get_profile_owner ()
 
 set_profile_owner ($uid)
 
 get_observer ()
 
 get_cipher ()
 
 add_thread ($item)
 
 get_template_data ($alike, $dlike)
 
- Public Member Functions inherited from BaseObject
 get_app ()
 
+ + + + + +

+Private Member Functions

 set_mode ($mode)
 
 get_thread ($id)
 
+ + + + + + + + + + + + + + + + + + + +

+Private Attributes

 $threads = array()
 
 $mode = null
 
 $observer = null
 
 $writable = false
 
 $commentable = false
 
 $profile_owner = 0
 
 $preview = false
 
 $prepared_item = ''
 
 $cipher = 'aes256'
 
+ + + + +

+Additional Inherited Members

- Static Public Member Functions inherited from BaseObject
static set_app ($app)
 
+

Detailed Description

+

A list of threads

+

Constructor & Destructor Documentation

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
Conversation::__construct ( $mode,
 $preview,
 $prepared_item = '' 
)
+
+ +
+
+

Member Function Documentation

+ +
+
+ + + + + + + + +
Conversation::add_thread ( $item)
+
+

Add a thread to the conversation

+

Returns: _ The inserted item on success _ false on failure

+ +
+
+ +
+
+ + + + + + + +
Conversation::get_cipher ()
+
+ +
+
+ +
+
+ + + + + + + +
Conversation::get_mode ()
+
+

Get mode

+ +

Referenced by set_mode(), and set_profile_owner().

+ +
+
+ +
+
+ + + + + + + +
Conversation::get_observer ()
+
+ +
+
+ +
+
+ + + + + + + +
Conversation::get_profile_owner ()
+
+

Get profile owner

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
Conversation::get_template_data ( $alike,
 $dlike 
)
+
+

Get data in a form usable by a conversation template

+

We should find a way to avoid using those arguments (at least most of them)

+

Returns: _ The data requested on success _ false on failure

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
Conversation::get_thread ( $id)
+
+private
+
+

Get a thread based on its item id

+

Returns: _ The found item on success _ false on failure

+ +

Referenced by add_thread().

+ +
+
+ +
+
+ + + + + + + +
Conversation::is_commentable ()
+
+ +
+
+ +
+
+ + + + + + + +
Conversation::is_preview ()
+
+

Check if page is a preview

+ +
+
+ +
+
+ + + + + + + +
Conversation::is_writable ()
+
+

Check if page is writable

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
Conversation::set_mode ( $mode)
+
+private
+
+

Set the mode we'll be displayed on

+ +

Referenced by __construct(), and set_profile_owner().

+ +
+
+ +
+
+ + + + + + + + +
Conversation::set_profile_owner ( $uid)
+
+ +
+
+

Member Data Documentation

+ +
+
+ + + + + +
+ + + + +
Conversation::$cipher = 'aes256'
+
+private
+
+ +

Referenced by get_cipher().

+ +
+
+ +
+
+ + + + + +
+ + + + +
Conversation::$commentable = false
+
+private
+
+ +

Referenced by is_commentable().

+ +
+
+ +
+
+ + + + + +
+ + + + +
Conversation::$mode = null
+
+private
+
+
+ +
+
+ + + + + +
+ + + + +
Conversation::$observer = null
+
+private
+
+ +

Referenced by add_thread(), get_observer(), and set_mode().

+ +
+
+ +
+
+ + + + + +
+ + + + +
Conversation::$prepared_item = ''
+
+private
+
+ +

Referenced by __construct(), and get_template_data().

+ +
+
+ +
+
+ + + + + +
+ + + + +
Conversation::$preview = false
+
+private
+
+ +

Referenced by __construct(), and is_preview().

+ +
+
+ +
+
+ + + + + +
+ + + + +
Conversation::$profile_owner = 0
+
+private
+
+ +

Referenced by get_profile_owner().

+ +
+
+ +
+
+ + + + + +
+ + + + +
Conversation::$threads = array()
+
+private
+
+ +
+
+ +
+
+ + + + + +
+ + + + +
Conversation::$writable = false
+
+private
+
+ +

Referenced by is_writable().

+ +
+
+
The documentation for this class was generated from the following file: +
+
+ -- cgit v1.2.3