Conversation::__construct |
( |
|
$mode, |
|
|
|
$preview, |
|
|
|
$prepared_item = '' |
|
) |
| |
Conversation::add_thread |
( |
|
$item | ) |
|
Add a thread to the conversation
Returns: _ The inserted item on success _ false on failure
Conversation::get_mode |
( |
| ) |
|
Conversation::get_observer |
( |
| ) |
|
Conversation::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 |
Conversation::set_profile_owner |
( |
|
$uid | ) |
|
Conversation::$commentable = false |
|
private |
Conversation::$mode = null |
|
private |
Conversation::$observer = null |
|
private |
Conversation::$prepared_item = '' |
|
private |
Conversation::$preview = false |
|
private |
Conversation::$profile_owner = 0 |
|
private |
Conversation::$threads = array() |
|
private |
Conversation::$writable = false |
|
private |
The documentation for this class was generated from the following file: