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

Public Member Functions

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

Data Fields

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

Detailed Description

Definition at line 14 of file xoopstree.php.

Constructor & Destructor Documentation

◆ __construct()

__construct ( $table_name,
$id_name,
$pid_name )

Definition at line 25 of file xoopstree.php.

Member Function Documentation

◆ getAllChild()

getAllChild ( $sel_id = 0,
$order = '',
$parray = [] )

Definition at line 206 of file xoopstree.php.

◆ getAllChildId()

getAllChildId ( $sel_id,
$order = '',
$idarray = [] )

Definition at line 73 of file xoopstree.php.

◆ getAllParentId()

getAllParentId ( $sel_id,
$order = '',
$idarray = [] )

Definition at line 92 of file xoopstree.php.

◆ getChildTreeArray()

getChildTreeArray ( $sel_id = 0,
$order = '',
$parray = [],
$r_prefix = '' )

Definition at line 224 of file xoopstree.php.

◆ getFirstChild()

getFirstChild ( $sel_id,
$order = '' )

Definition at line 39 of file xoopstree.php.

◆ getFirstChildId()

getFirstChildId ( $sel_id)

Definition at line 58 of file xoopstree.php.

◆ getIdPathFromId()

getIdPathFromId ( $sel_id,
$path = '' )

Definition at line 191 of file xoopstree.php.

◆ getNicePathFromId()

getNicePathFromId ( $sel_id,
$title,
$funcURL,
$path = '' )

Definition at line 171 of file xoopstree.php.

◆ getPathFromId()

getPathFromId ( $sel_id,
$title,
$path = '' )

Definition at line 110 of file xoopstree.php.

◆ makeMySelBox()

makeMySelBox ( $title,
$order = '',
$preset_id = 0,
$none = 0,
$sel_name = '',
$onchange = '' )

Definition at line 130 of file xoopstree.php.

◆ XoopsTree()

XoopsTree ( $table_name,
$id_name,
$pid_name )

Definition at line 32 of file xoopstree.php.

Field Documentation

◆ $db

$db

Definition at line 21 of file xoopstree.php.

◆ $id

$id

Definition at line 17 of file xoopstree.php.

◆ $order

$order

Definition at line 19 of file xoopstree.php.

◆ $pid

$pid

Definition at line 18 of file xoopstree.php.

◆ $table

$table

Definition at line 16 of file xoopstree.php.

◆ $title

$title

Definition at line 20 of file xoopstree.php.


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