60 $this->tree =
new DirectoryTreeControl(
"folder");
61 $this->tree->width = 320;
62 $this->tree->height = 150;
64 $this->tree->permissionCallback = array($this->docMgr, folderPermission);
66 $root = $this->library->getLibraryDirectory();
68 $this->tree->buildFolderTree(
$config[
"uploaddir"],
$root);
70 $this->onPreProcess =
null;
71 $this->onPostProcess =
null;
73 $this->FieldRenderer(
$form);
75 if (
$form->data->hasField($field))
100 $this->_startField(
$field);
101 $this->tree->writeHTML();
112 if ($this->onPreProcess !=
null)
115 call_user_func($callback, $this,
$field);
121 if ($this->onPostProcess !=
null)
124 call_user_func($callback, $this,
$field);
The DocumentManager class provides the core API and management functions for uploading documents and ...
static usingFile()
Uses the specified framework file(s) from the framework directory.
Constructs a folder selection tree for the specified document library.
renderSearchField($field, $mode="")
FolderSelectFieldRenderer(&$form, $field, $label, $library)