PHP Class PHPFusion\Forums\Threads\ForumThreads

Inheritance: extends PHPFusion\Forums\ForumServer
ファイルを表示 Open project: php-fusion/PHP-Fusion Class Usage Examples

Protected Properties

Property Type Description
$thread_data
$thread_info

Public Methods

Method Description
getThreadPermission ( null $key = NULL ) : null Get the relevant permissions of the current thread permission configuration
get_forum_thread ( $forum_id, boolean | FALSE $filter = FALSE ) : array Get thread structure on specific forum id.
get_thread ( integer $thread_id ) : array Get thread structure on specific thread id.
get_threadInfo ( ) : array Returns thread variables
set_threadInfo ( ) Thread Class constructor - This builds all essential data on load.
set_thread_visitor ( ) New Status

Private Methods

Method Description
get_thread_post ( ) Get thread posts info
get_thread_stats ( $thread_id ) : array Get post count, lastpost_id and first_post_id
handle_quick_reply ( ) Handle post of Quick Reply Form
setThreadPermission ( ) Set in full extent of forum permissions and thread permissions

Method Details

getThreadPermission() public method

Get the relevant permissions of the current thread permission configuration
public getThreadPermission ( null $key = NULL ) : null
$key null
return null

get_forum_thread() public static method

Get thread structure on specific forum id.
public static get_forum_thread ( $forum_id, boolean | FALSE $filter = FALSE ) : array
$forum_id
$filter boolean | FALSE
return array

get_thread() public static method

Get thread structure on specific thread id.
public static get_thread ( integer $thread_id ) : array
$thread_id integer
return array

get_threadInfo() public method

Returns thread variables
public get_threadInfo ( ) : array
return array

set_threadInfo() public method

Thread Class constructor - This builds all essential data on load.
public set_threadInfo ( )

set_thread_visitor() public method

New Status
public set_thread_visitor ( )

Property Details

$thread_data protected_oe property

protected $thread_data

$thread_info protected_oe property

protected $thread_info