PHP Class PHPFusion\Forums\Admin\ForumAdminInterface

Inheritance: extends PHPFusion\Forums\ForumServer
显示文件 Open project: php-fusion/PHP-Fusion

Public Properties

Property Type Description
$admin_instance
$admin_rank_instance
$admin_settings_instance
$admin_tag_instance
$mood_instance

Protected Properties

Property Type Description
$locale

Public Methods

Method Description
prune_posts ( $forum_id, boolean $time = FALSE ) : string Delete all forum posts
view ( )
viewMood ( )
viewRank ( )
viewSettings ( )
viewTags ( )

Protected Methods

Method Description
check_validForumName ( $forum_name, integer $forum_id ) : mixed Return a valid forum name without duplicate
get_forum ( $forum_id ) : array | boolean Get a forum full data
get_forum_index ( ) : array Get forum index for hierarchy traversal
get_rank_images ( ) : array Get forum rank images
prune_attachment ( $forum_id, boolean $time = FALSE ) : string Delete all forum attachments
prune_forums ( boolean $index = FALSE, boolean $time = FALSE ) Remove the entire forum branch, image and order updated
prune_threads ( $forum_id, boolean $time = FALSE ) Delete all forum threads
recalculate_post ( $forum_id ) : string Recalculate a forum post count

Private Methods

Method Description
setLocale ( )

Method Details

check_validForumName() protected static method

Return a valid forum name without duplicate
protected static check_validForumName ( $forum_name, integer $forum_id ) : mixed
$forum_name
$forum_id integer
return mixed

get_forum() protected static method

Get a forum full data
protected static get_forum ( $forum_id ) : array | boolean
$forum_id
return array | boolean

get_forum_index() protected static method

Get forum index for hierarchy traversal
protected static get_forum_index ( ) : array
return array

get_rank_images() protected static method

Get forum rank images
protected static get_rank_images ( ) : array
return array

prune_attachment() protected static method

Delete all forum attachments
protected static prune_attachment ( $forum_id, boolean $time = FALSE ) : string
$forum_id
$time boolean
return string

prune_forums() protected method

Remove the entire forum branch, image and order updated
protected prune_forums ( boolean $index = FALSE, boolean $time = FALSE )
$index boolean
$time boolean

prune_posts() public static method

Delete all forum posts
public static prune_posts ( $forum_id, boolean $time = FALSE ) : string
$forum_id
$time boolean
return string

prune_threads() protected static method

Delete all forum threads
protected static prune_threads ( $forum_id, boolean $time = FALSE )
$forum_id
$time boolean

recalculate_post() protected static method

Recalculate a forum post count
protected static recalculate_post ( $forum_id ) : string
$forum_id
return string

view() public static method

public static view ( )

viewMood() public static method

public static viewMood ( )

viewRank() public static method

public static viewRank ( )

viewSettings() public static method

public static viewSettings ( )

viewTags() public static method

public static viewTags ( )

Property Details

$admin_instance public_oe static_oe property

public static $admin_instance

$admin_rank_instance public_oe static_oe property

public static $admin_rank_instance

$admin_settings_instance public_oe static_oe property

public static $admin_settings_instance

$admin_tag_instance public_oe static_oe property

public static $admin_tag_instance

$locale protected_oe static_oe property

protected static $locale

$mood_instance public_oe static_oe property

public static $mood_instance