Forum driver class.
package | core |
---|
disable_staff_filter() : boolean
boolean
Whether the staff filter is disabledforum_url(integer $id, boolean $tempcode_okay = false
) : mixed
integer
The ID of the forum
boolean
Whether it is okay to return the result using Tempcode (more efficient)
mixed
The URLget_guest_group() : \GROUP
\GROUP
The usergroup ID of the forum guest memberget_member_email_address(\MEMBER $id) : \SHORT_TEXT
\MEMBER
The member
\SHORT_TEXT
The e-mail address (blank: not known)get_members_groups(\MEMBER $id, boolean $skip_secret= false
, boolean $handle_probation= true
) : array
\MEMBER
The member
boolean
Whether to skip looking at secret usergroups.
boolean
Whether to take probation into account
array
The list of usergroupsget_moderator_groups() : array
array
The list of usergroupsget_num_new_forum_posts() : integer
integer
Number of forum postsget_post_remaining_details(\AUTO_LINK $topic_id, array $post_ids) : array
\AUTO_LINK
Topic the posts come from
array
List of post IDs
array
Extra detailsget_super_admin_groups() : array
array
The list of usergroupsget_theme(\?ID_TEXT $zone_for = null
) : \ID_TEXT
\?ID_TEXT
The zone we are getting the theme for (null: current zone)
\ID_TEXT
The theme identifierget_usergroup_list(boolean $hide_hidden= false
, boolean $only_permissive= false
, boolean $force_show_all= false
, \?array $force_find= null
, \?MEMBER $for_member= null
, boolean $skip_hidden= false
) : array
boolean
Whether to obscure the name of hidden usergroups
boolean
Whether to only grab permissive usergroups
boolean
Do not limit things even if there are huge numbers of usergroups
\?array
Usergroups that must be included in the results (null: no extras must be)
\?MEMBER
Always return usergroups of this member (null: current member)
boolean
Whether to completely skip hidden usergroups
array
The mapget_username(\MEMBER $id, boolean $use_displayname = false
) : \?SHORT_TEXT
\MEMBER
The member
boolean
Whether to use the displayname rather than the username (if we have them)
\?SHORT_TEXT
The username (null: deleted member)install_delete_custom_field(string $name)
string
The name of the new custom field
is_staff(\MEMBER $id, boolean $skip_staff_filter = false
) : boolean
\MEMBER
The member
boolean
Whether to avoid checking the staff filter (i.e. ignore M.S.N.'s)
boolean
The answeris_super_admin(\MEMBER $id) : boolean
\MEMBER
The member
boolean
The answerjoin_url() : mixed
mixed
The URLmember_pm_url(\MEMBER $id, boolean $tempcode_okay = false
) : mixed
\MEMBER
The forum member
boolean
Whether it is okay to return the result using Tempcode (more efficient)
mixed
The URLmember_profile_hyperlink(\MEMBER $id, boolean $definitely_profile= false
, string $_username= ''
, boolean $use_displayname= true
) : \Tempcode
\MEMBER
The forum member
boolean
Whether to be insistent that we go to the profile, rather than possibly starting an IM which can link to the profile
string
The username (blank: look it up)
boolean
Whether to use the displayname rather than the username (if we have them)
\Tempcode
The hyperlinkmember_profile_url(\MEMBER $id, boolean $definitely_profile= false
, boolean $tempcode_okay= false
) : mixed
\MEMBER
The forum member
boolean
Whether to be insistent that we go to the profile, rather than possibly starting an IM which can link to the profile
boolean
Whether it is okay to return the result using Tempcode (more efficient, and allows keep_* parameters to propagate which you almost certainly want!)
mixed
The URLtopic_is_threaded(integer $topic_id) : boolean
integer
The topic ID
boolean
Whether it isusers_online_url(boolean $tempcode_okay = false
) : mixed
boolean
Whether it is okay to return the result using Tempcode (more efficient)
mixed
The URL$EMOTICON_CACHE
null
$MEMBER_ROWS_CACHED
array()
$connection