API - XOOPS 2.5.11 Beta 2
By monxoops.fr
XoopsTopic Class Reference

Public Member Functions

 __construct ($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

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

Detailed Description

Class XoopsTopic

Constructor & Destructor Documentation

◆ __construct()

__construct (   $table,
  $topicid = 0 
)
Parameters
$table
int | array$topicid
Here is the call graph for this function:

Member Function Documentation

◆ delete()

delete ( )
Here is the call graph for this function:

◆ getAllChildTopics()

getAllChildTopics ( )
Returns
array
Here is the call graph for this function:

◆ getAllChildTopicsId()

getAllChildTopicsId ( )
Returns
array
Here is the call graph for this function:

◆ getChildTopicsTreeArray()

getChildTopicsTreeArray ( )
Returns
array
Here is the call graph for this function:

◆ getFirstChildTopics()

getFirstChildTopics ( )
Returns
array
Here is the call graph for this function:

◆ getNiceTopicPathFromId()

getNiceTopicPathFromId (   $funcURL)
Parameters
$funcURL
Returns
string
Here is the call graph for this function:

◆ getTopic()

getTopic (   $topicid)
Parameters
$topicid
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getTopicsList()

getTopicsList ( )
Returns
array
Here is the call graph for this function:

◆ makeTopic()

makeTopic (   $array)
Parameters
$array
Here is the caller graph for this function:

◆ makeTopicSelBox()

makeTopicSelBox (   $none = 0,
  $seltopic = -1,
  $selname = '',
  $onchange = '' 
)
Parameters
int$none
$seltopic
string$selname
string$onchange
Here is the call graph for this function:

◆ prefix()

prefix ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setTopicImgurl()

setTopicImgurl (   $value)
Parameters
$value
Here is the call graph for this function:

◆ setTopicPid()

setTopicPid (   $value)
Parameters
$value
Here is the call graph for this function:

◆ setTopicTitle()

setTopicTitle (   $value)
Parameters
$value
Here is the call graph for this function:

◆ store()

store ( )
Returns
bool
Here is the call graph for this function:

◆ topic_id()

topic_id ( )
Returns
int
Here is the caller graph for this function:

◆ topic_imgurl()

topic_imgurl (   $format = 'S')
Parameters
string$format
Returns
mixed
Here is the call graph for this function:
Here is the caller graph for this function:

◆ topic_pid()

topic_pid ( )
Here is the caller graph for this function:

◆ topic_title()

topic_title (   $format = 'S')
Parameters
string$format
Returns
mixed
Here is the call graph for this function:
Here is the caller graph for this function:

◆ topicExists()

topicExists (   $pid,
  $title 
)
Parameters
$pid
$title
Returns
bool

◆ usePermission()

usePermission (   $mid)
Parameters
$mid

Field Documentation

◆ $db

$db

◆ $mid

$mid

◆ $prefix

◆ $table

$table

◆ $topic_id

◆ $topic_imgurl

◆ $topic_pid

◆ $topic_title

◆ $use_permission

$use_permission = false

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