XCL Web Application Platform 2.5.0
The XoopsCube Legacy Project
Loading...
Searching...
No Matches
XoopsTopic Class Reference

Public Member Functions

 __construct ($table, $topicid=0)
 
 XoopsTopic ($table, $topicid=0)
 
 setTopicTitle ($value)
 
 setTopicImgurl ($value)
 
 setTopicPid ($value)
 
 getTopic ($topicid)
 
 makeTopic ($array)
 
 usePermission ($mid)
 
 store ()
 
 delete ()
 
 topic_id ()
 
 topic_pid ()
 
 topic_title ($format='S')
 
 topic_imgurl ($format='S')
 
 prefix ()
 
 getFirstChildTopics ()
 
 getAllChildTopics ()
 
 getChildTopicsTreeArray ()
 
 makeTopicSelBox ($none=0, $seltopic=-1, $selname='', $onchange='')
 
 getNiceTopicPathFromId ($funcURL)
 
 getAllChildTopicsId ()
 
getTopicsList ()
 
 topicExists ($pid, $title)
 

Data Fields

 $table
 
 $topic_id
 
 $topic_pid
 
 $topic_title
 
 $topic_imgurl
 
 $prefix
 
 $use_permission =false
 
 $mid
 

Detailed Description

Definition at line 19 of file xoopstopic.php.

Constructor & Destructor Documentation

◆ __construct()

__construct ( $table,
$topicid = 0 )

Definition at line 30 of file xoopstopic.php.

Member Function Documentation

◆ delete()

delete ( )

Definition at line 176 of file xoopstopic.php.

◆ getAllChildTopics()

getAllChildTopics ( )

Definition at line 252 of file xoopstopic.php.

◆ getAllChildTopicsId()

getAllChildTopicsId ( )

Definition at line 298 of file xoopstopic.php.

◆ getChildTopicsTreeArray()

getChildTopicsTreeArray ( )

Definition at line 265 of file xoopstopic.php.

◆ getFirstChildTopics()

getFirstChildTopics ( )

Definition at line 239 of file xoopstopic.php.

◆ getNiceTopicPathFromId()

getNiceTopicPathFromId ( $funcURL)

Definition at line 291 of file xoopstopic.php.

◆ getTopic()

getTopic ( $topicid)

Definition at line 62 of file xoopstopic.php.

◆ getTopicsList()

& getTopicsList ( )

Definition at line 305 of file xoopstopic.php.

◆ makeTopic()

makeTopic ( $array)

Definition at line 69 of file xoopstopic.php.

◆ makeTopicSelBox()

makeTopicSelBox ( $none = 0,
$seltopic = -1,
$selname = '',
$onchange = '' )

Definition at line 278 of file xoopstopic.php.

◆ prefix()

prefix ( )

Definition at line 232 of file xoopstopic.php.

◆ setTopicImgurl()

setTopicImgurl ( $value)

Definition at line 52 of file xoopstopic.php.

◆ setTopicPid()

setTopicPid ( $value)

Definition at line 57 of file xoopstopic.php.

◆ setTopicTitle()

setTopicTitle ( $value)

Definition at line 47 of file xoopstopic.php.

◆ store()

store ( )

Definition at line 82 of file xoopstopic.php.

◆ topic_id()

topic_id ( )

Definition at line 182 of file xoopstopic.php.

◆ topic_imgurl()

topic_imgurl ( $format = 'S')

Definition at line 212 of file xoopstopic.php.

◆ topic_pid()

topic_pid ( )

Definition at line 187 of file xoopstopic.php.

◆ topic_title()

topic_title ( $format = 'S')

Definition at line 192 of file xoopstopic.php.

◆ topicExists()

topicExists ( $pid,
$title )

Definition at line 316 of file xoopstopic.php.

◆ usePermission()

usePermission ( $mid)

Definition at line 76 of file xoopstopic.php.

◆ XoopsTopic()

XoopsTopic ( $table,
$topicid = 0 )

Definition at line 42 of file xoopstopic.php.

Field Documentation

◆ $mid

$mid

Definition at line 28 of file xoopstopic.php.

◆ $prefix

$prefix

Definition at line 26 of file xoopstopic.php.

◆ $table

$table

Definition at line 21 of file xoopstopic.php.

◆ $topic_id

$topic_id

Definition at line 22 of file xoopstopic.php.

◆ $topic_imgurl

$topic_imgurl

Definition at line 25 of file xoopstopic.php.

◆ $topic_pid

$topic_pid

Definition at line 23 of file xoopstopic.php.

◆ $topic_title

$topic_title

Definition at line 24 of file xoopstopic.php.

◆ $use_permission

$use_permission =false

Definition at line 27 of file xoopstopic.php.


The documentation for this class was generated from the following file: