dolibarr  16.0.1
Functions
ajaxdirtree.php File Reference

This script returns content of a directory for filetree. More...

Go to the source code of this file.

Functions

foreach($sqltree as $keycursor=>
$val) if(!empty($conf->
use_javascript_ajax)&&empty($conf->
global->MAIN_ECM_DISABLE_JS))
if(empty($conf->
use_javascript_ajax)||!empty($conf->
global->MAIN_ECM_DISABLE_JS))
if((!isset($mode)||$mode!=
'noajax')&&is_object($db)) 
treeOutputForAbsoluteDir ($sqltree, $selecteddir, $fullpathselecteddir, $modulepart, $websitekey, $pageid, $preopened, $fullpathpreopened, $depth=0)
 treeOutputForAbsoluteDir More...
 

Detailed Description

This script returns content of a directory for filetree.

Definition in file ajaxdirtree.php.

Function Documentation

foreach ($sqltree as $keycursor=> $val) if (!empty($conf->use_javascript_ajax)&&empty($conf->global->MAIN_ECM_DISABLE_JS)) if (empty($conf->use_javascript_ajax)||!empty($conf->global->MAIN_ECM_DISABLE_JS)) if ((!isset($mode)||$mode!= 'noajax')&&is_object($db)) treeOutputForAbsoluteDir (   $sqltree,
  $selecteddir,
  $fullpathselecteddir,
  $modulepart,
  $websitekey,
  $pageid,
  $preopened,
  $fullpathpreopened,
  $depth = 0 
)

treeOutputForAbsoluteDir

Parameters
array$sqltreeSqltree
string$selecteddirSelected dir
string$fullpathselecteddirFull path of selected dir
string$modulepartModulepart
string$websitekeyWebsite key
int$pageidPage id
string$preopenedCurrent open dir
string$fullpathpreopenedFull path of current open dir
int$depthDepth
Returns
void

Definition at line 351 of file ajaxdirtree.php.

References $form, dol_escape_htmltag(), dol_is_dir(), dol_print_date(), and tree_showpad().