XOOPS 2.5.6  Final
 All Classes Namespaces Files Functions Variables Pages
XoopsTopic Class Reference

Public Member Functions

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

Public Attributes

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

Detailed Description

Definition at line 28 of file xoopstopic.php.

Member Function Documentation

XoopsTopic::delete ( )

Definition at line 182 of file xoopstopic.php.

References $sql, and topic_id().

Here is the call graph for this function:

XoopsTopic::getAllChildTopics ( )

Definition at line 250 of file xoopstopic.php.

References $ret, topic_id(), and XoopsTopic().

Here is the call graph for this function:

XoopsTopic::getAllChildTopicsId ( )

Definition at line 296 of file xoopstopic.php.

References $ret, and topic_id().

Here is the call graph for this function:

XoopsTopic::getChildTopicsTreeArray ( )

Definition at line 263 of file xoopstopic.php.

References $ret, topic_id(), and XoopsTopic().

Here is the call graph for this function:

XoopsTopic::getFirstChildTopics ( )

Definition at line 237 of file xoopstopic.php.

References $ret, topic_id(), and XoopsTopic().

Here is the call graph for this function:

XoopsTopic::getNiceTopicPathFromId (   $funcURL)

Definition at line 289 of file xoopstopic.php.

References $ret, and topic_id().

Here is the call graph for this function:

XoopsTopic::getTopic (   $topicid)

Definition at line 67 of file xoopstopic.php.

References $sql, and makeTopic().

Referenced by XoopsTopic().

Here is the call graph for this function:

Here is the caller graph for this function:

XoopsTopic::getTopicsList ( )

Definition at line 303 of file xoopstopic.php.

References $myts, $result, $ret, and MyTextSanitizer\getInstance().

Here is the call graph for this function:

XoopsTopic::makeTopic (   $array)

Definition at line 75 of file xoopstopic.php.

Referenced by getTopic(), and XoopsTopic().

Here is the caller graph for this function:

XoopsTopic::makeTopicSelBox (   $none = 0,
  $seltopic = -1,
  $selname = "",
  $onchange = "" 
)

Definition at line 276 of file xoopstopic.php.

References topic_id().

Here is the call graph for this function:

XoopsTopic::prefix ( )

Definition at line 230 of file xoopstopic.php.

References $prefix.

XoopsTopic::setTopicImgurl (   $value)

Definition at line 57 of file xoopstopic.php.

References topic_imgurl().

Here is the call graph for this function:

XoopsTopic::setTopicPid (   $value)

Definition at line 62 of file xoopstopic.php.

References topic_pid().

Here is the call graph for this function:

XoopsTopic::setTopicTitle (   $value)

Definition at line 52 of file xoopstopic.php.

References topic_title().

Here is the call graph for this function:

XoopsTopic::store ( )

Definition at line 88 of file xoopstopic.php.

References $myts, $result, $sql, $title, MyTextSanitizer\getInstance(), ErrorHandler\show(), topic_id(), topic_imgurl(), topic_pid(), and topic_title().

Here is the call graph for this function:

XoopsTopic::topic_id ( )

Definition at line 188 of file xoopstopic.php.

References $topic_id.

Referenced by delete(), getAllChildTopics(), getAllChildTopicsId(), getChildTopicsTreeArray(), getFirstChildTopics(), getNiceTopicPathFromId(), makeTopicSelBox(), store(), and XoopsTopic().

Here is the caller graph for this function:

XoopsTopic::topic_imgurl (   $format = "S")

Definition at line 214 of file xoopstopic.php.

References $myts, and MyTextSanitizer\getInstance().

Referenced by setTopicImgurl(), and store().

Here is the call graph for this function:

Here is the caller graph for this function:

XoopsTopic::topic_pid ( )

Definition at line 193 of file xoopstopic.php.

References $topic_pid.

Referenced by setTopicPid(), and store().

Here is the caller graph for this function:

XoopsTopic::topic_title (   $format = "S")

Definition at line 198 of file xoopstopic.php.

References $myts, $title, and MyTextSanitizer\getInstance().

Referenced by setTopicTitle(), and store().

Here is the call graph for this function:

Here is the caller graph for this function:

XoopsTopic::topicExists (   $pid,
  $title 
)

Definition at line 314 of file xoopstopic.php.

References $rs, $sql, and $title.

XoopsTopic::usePermission (   $mid)

Definition at line 82 of file xoopstopic.php.

References $mid.

XoopsTopic::XoopsTopic (   $table,
  $topicid = 0 
)

Definition at line 39 of file xoopstopic.php.

References $table, XoopsDatabaseFactory\getDatabaseConnection(), getTopic(), makeTopic(), and topic_id().

Referenced by getAllChildTopics(), getChildTopicsTreeArray(), and getFirstChildTopics().

Here is the call graph for this function:

Here is the caller graph for this function:

Member Data Documentation

XoopsTopic::$mid

Definition at line 37 of file xoopstopic.php.

Referenced by usePermission().

XoopsTopic::$prefix

Definition at line 35 of file xoopstopic.php.

Referenced by prefix().

XoopsTopic::$table

Definition at line 30 of file xoopstopic.php.

Referenced by XoopsTopic().

XoopsTopic::$topic_id

Definition at line 31 of file xoopstopic.php.

Referenced by topic_id().

XoopsTopic::$topic_imgurl

Definition at line 34 of file xoopstopic.php.

XoopsTopic::$topic_pid

Definition at line 32 of file xoopstopic.php.

Referenced by topic_pid().

XoopsTopic::$topic_title

Definition at line 33 of file xoopstopic.php.

XoopsTopic::$use_permission =false

Definition at line 36 of file xoopstopic.php.


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