/** * Constructor * @access public * @param string scriptname * @param int user_id */ public function __construct($a_target, $a_user_id) { parent::__construct($a_target); $this->tree = new ilTree($a_user_id); $this->tree->setTableNames('mail_tree', 'mail_obj_data'); $this->root_id = $this->tree->readRootId(); $this->user_id = $a_user_id; }
/** * Constructor * @access public * @param string scriptname * @param int user_id */ function __construct($a_target, $a_user_id) { parent::__construct($a_target); $this->tree = new ilWorkspaceTree($a_user_id); $this->root_id = $this->tree->readRootId(); $this->user_id = $a_user_id; $this->allowed_types = array('wfld', 'wsrt'); $this->enablesmallmode = false; }
public function __construct($a_target, $a_server_id, $a_mid, $a_tree_id) { global $tree; parent::__construct($a_target); $this->type = self::SEL_TYPE_CHECK; $this->setOrderColumn('title'); $this->setTitleLength(1024); // reset filter $this->filter = array(); $this->addFormItemForType(''); $this->server_id = $a_server_id; $this->mid = $a_mid; $this->tree_id = $a_tree_id; }
public function __construct($a_target) { global $tree; parent::__construct($a_target); $this->type = self::SEL_TYPE_RADIO; $this->tree = $tree; $this->setRoot($tree->readRootId()); $this->setOrderColumn('title'); // reset filter $this->filter = array(); $this->addFilter('root'); $this->addFilter('cat'); $this->addFormItemForType('root'); $this->addFormItemForType('cat'); $this->setFiltered(true); $this->setFilterMode(IL_FM_POSITIVE); }
/** * Constructor */ public function __construct($a_target) { global $tree; parent::__construct($a_target); $this->tree = $tree; $this->root_id = $this->tree->readRootId(); $this->order_column = "title"; $this->setSessionExpandVariable("ref_repexpand"); $this->addFilter("root"); $this->addFilter("cat"); #$this->addFilter("grp"); #$this->addFilter("fold"); $this->addFilter("crs"); $this->setFilterMode(IL_FM_POSITIVE); $this->setFiltered(true); $this->setTitleLength(ilObject::TITLE_LENGTH); $this->checkPermissions(true); }
/** * Constructor * @access public * @param string scriptname * @param int user_id */ function __construct($a_target, $a_tax_tree, $a_gui_class = "ilobjtaxonomygui", $a_gui_cmd = "listItems") { global $lng; parent::__construct($a_target); include_once "./Services/Taxonomy/classes/class.ilObjTaxonomy.php"; $sort_mode = ilObjTaxonomy::lookupSortingMode($a_tax_tree->getTreeId()); $this->setPostSort(false); if ($sort_mode == ilObjTaxonomy::SORT_MANUAL) { $this->setPostSort(true); } //$this->setFilterMode(IL_FM_POSITIVE); //$this->addFilter("tax"); $this->gui_class = $a_gui_class; $this->gui_cmd = $a_gui_cmd; $this->tree = $a_tax_tree; $this->root_id = $this->tree->readRootId(); $this->setSessionExpandVariable("txexpand"); $this->checkPermissions(false); // $this->setOrderColumn("order_nr"); // $this->textwidth = 200; $this->force_open_path = array(); $this->setRootNodeTitle($lng->txt("tax_taxonomy")); }
/** * Constructor */ function __construct($a_target) { parent::__construct($a_target); }