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

Public Member Functions

 __construct ($table_name, $id_name, $pid_name)
 
 getFirstChild ($sel_id, $order='')
 
 getFirstChildId ($sel_id)
 
 getAllChildId ($sel_id, $order='', $idarray=array())
 
 getAllParentId ($sel_id, $order='', $idarray=array())
 
 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=array())
 
 getChildTreeArray ($sel_id=0, $order='', $parray=array(), $r_prefix='')
 

Data Fields

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

Constructor & Destructor Documentation

◆ __construct()

__construct (   $table_name,
  $id_name,
  $pid_name 
)
Parameters
$table_name
$id_name
$pid_name
Here is the call graph for this function:

Member Function Documentation

◆ getAllChild()

getAllChild (   $sel_id = 0,
  $order = '',
  $parray = array() 
)

Enter description here...

Parameters
int | mixed$sel_id
string | mixed$order
array | mixed$parray
Returns
mixed
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getAllChildId()

getAllChildId (   $sel_id,
  $order = '',
  $idarray = array() 
)
Parameters
$sel_id
string$order
array$idarray
Returns
array
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getAllParentId()

getAllParentId (   $sel_id,
  $order = '',
  $idarray = array() 
)
Parameters
$sel_id
string$order
array$idarray
Returns
array
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getChildTreeArray()

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

Enter description here...

Parameters
int | mixed$sel_id
string | mixed$order
array | mixed$parray
string | mixed$r_prefix
Returns
mixed
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getFirstChild()

getFirstChild (   $sel_id,
  $order = '' 
)
Parameters
$sel_id
string$order
Returns
array

◆ getFirstChildId()

getFirstChildId (   $sel_id)
Parameters
$sel_id
Returns
array

◆ getIdPathFromId()

getIdPathFromId (   $sel_id,
  $path = '' 
)
Parameters
$sel_id
string$path
Returns
string
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getNicePathFromId()

getNicePathFromId (   $sel_id,
  $title,
  $funcURL,
  $path = '' 
)
Parameters
$sel_id
$title
$funcURL
string$path
Returns
string
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getPathFromId()

getPathFromId (   $sel_id,
  $title,
  $path = '' 
)
Parameters
$sel_id
$title
string$path
Returns
string
Here is the call graph for this function:
Here is the caller graph for this function:

◆ makeMySelBox()

makeMySelBox (   $title,
  $order = '',
  $preset_id = 0,
  $none = 0,
  $sel_name = '',
  $onchange = '' 
)
Parameters
$title
string$order
int$preset_id
int$none
string$sel_name
string$onchange
Here is the call graph for this function:

Field Documentation

◆ $db

$db

◆ $id

$id

◆ $order

$order

◆ $pid

$pid

◆ $table

$table

◆ $title

$title

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