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

Public Member Functions

 getAllChild ($sel_id=0, $order="", $parray=array())
 
 getAllChildId ($sel_id, $order="", $idarray=array())
 
 getAllParentId ($sel_id, $order="", $idarray=array())
 
 getChildTreeArray ($sel_id=0, $order="", $parray=array(), $r_prefix="")
 
 getFirstChild ($sel_id, $order="")
 
 getFirstChildId ($sel_id)
 
 getIdPathFromId ($sel_id, $path="")
 
 getNicePathFromId ($sel_id, $title, $funcURL, $path="")
 
 getPathFromId ($sel_id, $title, $path="")
 
 makeMySelBox ($title, $order="", $preset_id=0, $none=0, $sel_name="", $onchange="")
 
 XoopsTree ($table_name, $id_name, $pid_name)
 

Public Attributes

 $db
 
 $id
 
 $order
 
 $pid
 
 $table
 
 $title
 

Detailed Description

Definition at line 32 of file xoopstree.php.

Member Function Documentation

XoopsTree::getAllChild (   $sel_id = 0,
  $order = "",
  $parray = array() 
)

Enter description here...

Parameters
unknown_type$sel_id
unknown_type$order
unknown_type$parray
Returns
unknown

Definition at line 236 of file xoopstree.php.

References $result, and $sql.

XoopsTree::getAllChildId (   $sel_id,
  $order = "",
  $idarray = array() 
)

Definition at line 89 of file xoopstree.php.

References $result, and $sql.

XoopsTree::getAllParentId (   $sel_id,
  $order = "",
  $idarray = array() 
)

Definition at line 109 of file xoopstree.php.

References $result, and $sql.

XoopsTree::getChildTreeArray (   $sel_id = 0,
  $order = "",
  $parray = array(),
  $r_prefix = "" 
)

Enter description here...

Parameters
unknown_type$sel_id
unknown_type$order
unknown_type$parray
unknown_type$r_prefix
Returns
unknown

Definition at line 263 of file xoopstree.php.

References $result, and $sql.

XoopsTree::getFirstChild (   $sel_id,
  $order = "" 
)

Definition at line 53 of file xoopstree.php.

References $result, and $sql.

XoopsTree::getFirstChildId (   $sel_id)

Definition at line 73 of file xoopstree.php.

References $result.

XoopsTree::getIdPathFromId (   $sel_id,
  $path = "" 
)

Definition at line 212 of file xoopstree.php.

References $path, and $result.

XoopsTree::getNicePathFromId (   $sel_id,
  $title,
  $funcURL,
  $path = "" 
)

Definition at line 190 of file xoopstree.php.

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

Here is the call graph for this function:

XoopsTree::getPathFromId (   $sel_id,
  $title,
  $path = "" 
)

Definition at line 128 of file xoopstree.php.

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

Here is the call graph for this function:

XoopsTree::makeMySelBox (   $title,
  $order = "",
  $preset_id = 0,
  $none = 0,
  $sel_name = "",
  $onchange = "" 
)

Definition at line 149 of file xoopstree.php.

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

Here is the call graph for this function:

XoopsTree::XoopsTree (   $table_name,
  $id_name,
  $pid_name 
)

Definition at line 43 of file xoopstree.php.

References $GLOBALS, and XoopsDatabaseFactory\getDatabaseConnection().

Here is the call graph for this function:

Member Data Documentation

XoopsTree::$db

Definition at line 39 of file xoopstree.php.

XoopsTree::$id

Definition at line 35 of file xoopstree.php.

XoopsTree::$order

Definition at line 37 of file xoopstree.php.

XoopsTree::$pid

Definition at line 36 of file xoopstree.php.

XoopsTree::$table

Definition at line 34 of file xoopstree.php.

XoopsTree::$title

Definition at line 38 of file xoopstree.php.


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