ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
ilCopyWizardOptions Class Reference
+ Collaboration diagram for ilCopyWizardOptions:

Public Member Functions

 getRequiredSteps ()
 Get required steps. More...
 
 saveOwner ($a_user_id)
 Save owner for copy. More...
 
 saveRoot ($a_root)
 Save root node id. More...
 
 isRootNode ($a_root)
 Is root node. More...
 
 disableSOAP ()
 Disable soap calls. More...
 
 disableTreeCopy ()
 Disable copying of tree. More...
 
 isTreeCopyDisabled ()
 Check if tree copy is enabled. More...
 
 isSOAPEnabled ()
 Check if SOAP calls are disabled. More...
 
 checkOwner ($a_user_id)
 check owner More...
 
 getCopyId ()
 Get copy id. More...
 
 initContainer ($a_source_id, $a_target_id)
 Init container Add copy entry. More...
 
 storeTree ($a_source_id)
 Save tree Stores two copies of the tree structure: id 0 is used for recursive call of cloneObject() id -1 is used for recursive call of cloneDependencies() More...
 
 fetchFirstNode ()
 Fetch first node for cloneObject. More...
 
 fetchFirstDependenciesNode ()
 Fetch first dependencies node. More...
 
 dropFirstNodeById ($a_id)
 Drop first node by id. More...
 
 dropFirstNode ()
 Drop first node (for cloneObject()) More...
 
 dropFirstDependenciesNode ()
 Drop first node (for cloneDependencies()) More...
 
 getOptions ($a_source_id)
 Get entry by source. More...
 
 addEntry ($a_source_id, $a_options)
 Add new entry. More...
 
 appendMapping ($a_source_id, $a_target_id)
 Add mapping of source -> target. More...
 
 getMappings ()
 Get Mappings. More...
 
 deleteAll ()
 Delete all entries. More...
 
 read ()
 public More...
 

Static Public Member Functions

static _getInstance ($a_copy_id)
 Get instance of copy wizard options. More...
 
static _isFinished ($a_copy_id)
 check if copy is finished More...
 
static _allocateCopyId ()
 Allocate a copy for further entries. More...
 

Data Fields

const COPY_WIZARD_OMIT = 1
 
const COPY_WIZARD_COPY = 2
 
const COPY_WIZARD_LINK = 3
 
const OWNER_KEY = -3
 
const DISABLE_SOAP = -4
 
const ROOT_NODE = -5
 
const DISABLE_TREE_COPY = -6
 

Private Member Functions

 __construct ($a_copy_id=0)
 Private Constructor (Singleton class) More...
 
 fetchFirstNodeById ($a_id)
 Get first node of stored tree. More...
 
 readTree ($a_source_id)
 Purge ommitted node recursively. More...
 

Private Attributes

 $db
 
 $copy_id
 
 $source_id
 
 $options = array()
 

Static Private Attributes

static $instances = null
 

Detailed Description

Definition at line 32 of file class.ilCopyWizardOptions.php.

Constructor & Destructor Documentation

◆ __construct()

ilCopyWizardOptions::__construct (   $a_copy_id = 0)
private

Private Constructor (Singleton class)

private

Parameters
intcopy_id

Definition at line 58 of file class.ilCopyWizardOptions.php.

References $ilDB, and read().

59  {
60  global $ilDB;
61 
62  $this->db = $ilDB;
63  $this->copy_id = $a_copy_id;
64 
65  if ($this->copy_id) {
66  $this->read();
67  }
68  }
global $ilDB
+ Here is the call graph for this function:

Member Function Documentation

◆ _allocateCopyId()

static ilCopyWizardOptions::_allocateCopyId ( )
static

Allocate a copy for further entries.

public

Definition at line 129 of file class.ilCopyWizardOptions.php.

References $ilDB, $query, $res, $row, array, and ilDBConstants\FETCHMODE_OBJECT.

Referenced by ilContainer\cloneAllObject(), ilObjectGUI\cloneAllObject(), ilObjectCopyGUI\copyMultipleNonContainer(), ilSoapObjectAdministration\copyObject(), and ilObjWorkspaceFolderGUI\performPasteIntoMultipleObjects().

130  {
131  global $ilDB;
132 
133  $query = "SELECT MAX(copy_id) latest FROM copy_wizard_options ";
134  $res = $ilDB->query($query);
136 
137  $ilDB->insert("copy_wizard_options", array(
138  "copy_id" => array("integer", ((int) $row->latest) + 1),
139  "source_id" => array("integer", 0)
140  ));
141  return ((int) $row->latest) + 1;
142  }
foreach($_POST as $key=> $value) $res
$query
Create styles array
The data for the language used.
global $ilDB
+ Here is the caller graph for this function:

◆ _getInstance()

static ilCopyWizardOptions::_getInstance (   $a_copy_id)
static

Get instance of copy wizard options.

public

Parameters
ilCopyWizardOptions

Definition at line 78 of file class.ilCopyWizardOptions.php.

Referenced by ilObjTest\_getAvailableTests(), ilObject\_prepareCloneSelection(), ilObject\appendCopyInfo(), ilContainer\cloneAllObject(), ilObjectGUI\cloneAllObject(), ilLPCollection\cloneCollection(), ilLPCollectionOfRepositoryObjects\cloneCollection(), ilCourseObjectiveMaterials\cloneDependencies(), ilCourseStart\cloneDependencies(), ilCourseObjectiveQuestion\cloneDependencies(), ilObjCategory\cloneDependencies(), ilContainerStartObjects\cloneDependencies(), ilObjectActivation\cloneDependencies(), ilConditionHandler\cloneDependencies(), ilEventItems\cloneItems(), ilItemGroupItems\cloneItems(), ilObjSurveyQuestionPool\cloneObject(), ilObjBookingPool\cloneObject(), ilObjFileBasedLM\cloneObject(), ilObjWiki\cloneObject(), ilObjCourse\cloneObject(), ilObjGlossary\cloneObject(), ilObjQuestionPool\cloneObject(), ilObjContentObject\cloneObject(), ilObjSurvey\cloneObject(), ilTestFixedQuestionSetConfig\cloneQuestionSetRelatedData(), ilLOTestAssignment\cloneSettings(), ilLOSettings\cloneSettings(), ilContainerSorting\cloneSorting(), ilLORandomTestQuestionPools\copy(), ilObjContentObject\copyAllPagesAndChapters(), ilObjectCopyGUI\copyMultipleNonContainer(), ilSoapObjectAdministration\copyObject(), ilObjCloud\doClone(), ilObjPortfolioTemplate\doCloneObject(), ilObjDataCollection\doCloneObject(), ilObjBibliographic\doCloneObject(), ilObjPoll\doCloneObject(), ilObjItemGroup\fixContainerItemGroupRefsAfterCloning(), ilContainer\getCompleteDescriptions(), ilSoapUtils\ilClone(), ilSoapUtils\ilCloneDependencies(), ilObjectCopyProgressTableGUI\parse(), ilObjWorkspaceFolderGUI\performPasteIntoMultipleObjects(), ilObjSAHSLearningModule\populateByDirectoy(), ilTestRandomQuestionSetConfig\registerClonedSourcePoolDefinitionIdMapping(), ilObjMediaCast\saveOrder(), ilObjForum\update(), and ilObjectCopyGUI\updateProgress().

79  {
80  if (is_array(self::$instances) and isset(self::$instances[$a_copy_id])) {
81  return self::$instances[$a_copy_id];
82  }
83  return self::$instances[$a_copy_id] = new ilCopyWizardOptions($a_copy_id);
84  }
+ Here is the caller graph for this function:

◆ _isFinished()

static ilCopyWizardOptions::_isFinished (   $a_copy_id)
static

check if copy is finished

public

Parameters
intcopy id

Definition at line 112 of file class.ilCopyWizardOptions.php.

References $ilDB, $query, and $res.

Referenced by ilContainerGUI\cloneAllObject(), and ilObjectCopyGUI\copyContainerToTargets().

113  {
114  global $ilDB;
115 
116  $query = "SELECT * FROM copy_wizard_options " .
117  "WHERE copy_id = " . $ilDB->quote($a_copy_id, 'integer') . " ";
118  $res = $ilDB->query($query);
119  return $res->numRows() ? false : true;
120  }
foreach($_POST as $key=> $value) $res
$query
global $ilDB
+ Here is the caller graph for this function:

◆ addEntry()

ilCopyWizardOptions::addEntry (   $a_source_id,
  $a_options 
)

Add new entry.

public

Parameters
intref_id of source
arrayarray of options

Definition at line 453 of file class.ilCopyWizardOptions.php.

References $ilDB, $query, $res, and array.

Referenced by initContainer().

454  {
455  global $ilDB;
456 
457  if (!is_array($a_options)) {
458  return false;
459  }
460 
461  $query = "DELETE FROM copy_wizard_options " .
462  "WHERE copy_id = " . $this->db->quote($this->copy_id, 'integer') . " " .
463  "AND source_id = " . $this->db->quote($a_source_id, 'integer');
464  $res = $ilDB->manipulate($query);
465 
466  $ilDB->insert('copy_wizard_options', array(
467  'copy_id' => array('integer',$this->copy_id),
468  'source_id' => array('integer',$a_source_id),
469  'options' => array('clob',serialize($a_options))
470  ));
471  return true;
472  }
foreach($_POST as $key=> $value) $res
$query
Create styles array
The data for the language used.
global $ilDB
+ Here is the caller graph for this function:

◆ appendMapping()

ilCopyWizardOptions::appendMapping (   $a_source_id,
  $a_target_id 
)

Add mapping of source -> target.

public

Parameters
int | string$a_source_idarray key of mapping entry
mixed$a_target_idarray value of mapping entry

Definition at line 482 of file class.ilCopyWizardOptions.php.

References $ilDB, $query, $res, $row, array, ilDBConstants\FETCHMODE_OBJECT, and getCopyId().

Referenced by initContainer().

483  {
484  global $ilDB;
485 
486  $query = "SELECT * FROM copy_wizard_options " .
487  "WHERE copy_id = " . $this->db->quote($this->copy_id, 'integer') . " " .
488  "AND source_id = -2 ";
489  $res = $this->db->query($query);
490  $mappings = array();
491  while ($row = $res->fetchRow(ilDBConstants::FETCHMODE_OBJECT)) {
492  $mappings = unserialize($row->options);
493  }
494  $mappings[$a_source_id] = $a_target_id;
495 
496  $query = "DELETE FROM copy_wizard_options " .
497  "WHERE copy_id = " . $ilDB->quote($this->getCopyId(), 'integer') . " " .
498  "AND source_id = -2 ";
499  $res = $ilDB->manipulate($query);
500 
501 
502  $ilDB->insert('copy_wizard_options', array(
503  'copy_id' => array('integer',$this->getCopyId()),
504  'source_id' => array('integer',-2),
505  'options' => array('clob',serialize($mappings))
506  ));
507 
508  return true;
509  }
foreach($_POST as $key=> $value) $res
$query
Create styles array
The data for the language used.
global $ilDB
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ checkOwner()

ilCopyWizardOptions::checkOwner (   $a_user_id)

check owner

public

Parameters
intuser_id

Definition at line 269 of file class.ilCopyWizardOptions.php.

References getOptions().

270  {
271  return in_array($a_user_id, $this->getOptions(self::OWNER_KEY));
272  }
getOptions($a_source_id)
Get entry by source.
+ Here is the call graph for this function:

◆ deleteAll()

ilCopyWizardOptions::deleteAll ( )

Delete all entries.

public

Definition at line 531 of file class.ilCopyWizardOptions.php.

References $ilDB, $query, and $res.

532  {
533  global $ilDB;
534 
535  $query = "DELETE FROM copy_wizard_options " .
536  "WHERE copy_id = " . $this->db->quote($this->copy_id, 'integer');
537  $res = $ilDB->manipulate($query);
538  }
foreach($_POST as $key=> $value) $res
$query
global $ilDB

◆ disableSOAP()

ilCopyWizardOptions::disableSOAP ( )

Disable soap calls.

Recursive call of ilClone and ilCloneDependencies

public

Parameters

Definition at line 203 of file class.ilCopyWizardOptions.php.

References $ilDB, array, and getCopyId().

204  {
205  global $ilDB;
206 
207  $this->options[self::DISABLE_SOAP] = 1;
208 
209  $ilDB->insert("copy_wizard_options", array(
210  "copy_id" => array("integer", $this->getCopyId()),
211  "source_id" => array("integer", self::DISABLE_SOAP),
212  "options" => array('clob',serialize(array(1)))
213  ));
214  }
Create styles array
The data for the language used.
global $ilDB
+ Here is the call graph for this function:

◆ disableTreeCopy()

ilCopyWizardOptions::disableTreeCopy ( )

Disable copying of tree.

Used for workspace copies type $ilDB

Definition at line 221 of file class.ilCopyWizardOptions.php.

References $ilDB, array, and getCopyId().

222  {
223  global $ilDB;
224 
225  $this->options[self::DISABLE_TREE_COPY] = 1;
226 
227  $ilDB->insert("copy_wizard_options", array(
228  "copy_id" => array("integer", $this->getCopyId()),
229  "source_id" => array("integer", self::DISABLE_TREE_COPY),
230  "options" => array('clob',serialize(array(1)))
231  ));
232  }
Create styles array
The data for the language used.
global $ilDB
+ Here is the call graph for this function:

◆ dropFirstDependenciesNode()

ilCopyWizardOptions::dropFirstDependenciesNode ( )

Drop first node (for cloneDependencies())

public

Definition at line 425 of file class.ilCopyWizardOptions.php.

References dropFirstNodeById().

426  {
427  return $this->dropFirstNodeById(-1);
428  }
dropFirstNodeById($a_id)
Drop first node by id.
+ Here is the call graph for this function:

◆ dropFirstNode()

ilCopyWizardOptions::dropFirstNode ( )

Drop first node (for cloneObject())

public

Definition at line 414 of file class.ilCopyWizardOptions.php.

References dropFirstNodeById().

415  {
416  return $this->dropFirstNodeById(0);
417  }
dropFirstNodeById($a_id)
Drop first node by id.
+ Here is the call graph for this function:

◆ dropFirstNodeById()

ilCopyWizardOptions::dropFirstNodeById (   $a_id)

Drop first node by id.

private

Definition at line 381 of file class.ilCopyWizardOptions.php.

References $ilDB, array, fetchFirstNodeById(), getCopyId(), and read().

Referenced by dropFirstDependenciesNode(), and dropFirstNode().

382  {
383  global $ilDB;
384 
385  if (!isset($this->options[$a_id]) or !is_array($this->options[$a_id])) {
386  return false;
387  }
388 
389  $this->options[$a_id] = array_slice($this->options[$a_id], 1);
390 
391  $ilDB->update('copy_wizard_options', array(
392  'options' => array('clob',serialize($this->options[$a_id]))
393  ), array(
394  'copy_id' => array('integer',$this->getCopyId()),
395  'source_id' => array('integer',$a_id)));
396 
397  $this->read();
398  // check for role_folder
399  if (($node = $this->fetchFirstNodeById($a_id)) === false) {
400  return true;
401  }
402  if ($node['type'] == 'rolf') {
403  $this->dropFirstNodeById($a_id);
404  }
405  return true;
406  }
fetchFirstNodeById($a_id)
Get first node of stored tree.
Create styles array
The data for the language used.
dropFirstNodeById($a_id)
Drop first node by id.
global $ilDB
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ fetchFirstDependenciesNode()

ilCopyWizardOptions::fetchFirstDependenciesNode ( )

Fetch first dependencies node.

public

Definition at line 370 of file class.ilCopyWizardOptions.php.

References fetchFirstNodeById().

371  {
372  return $this->fetchFirstNodeById(-1);
373  }
fetchFirstNodeById($a_id)
Get first node of stored tree.
+ Here is the call graph for this function:

◆ fetchFirstNode()

ilCopyWizardOptions::fetchFirstNode ( )

Fetch first node for cloneObject.

public

Parameters

Definition at line 359 of file class.ilCopyWizardOptions.php.

References fetchFirstNodeById().

360  {
361  return $this->fetchFirstNodeById(0);
362  }
fetchFirstNodeById($a_id)
Get first node of stored tree.
+ Here is the call graph for this function:

◆ fetchFirstNodeById()

ilCopyWizardOptions::fetchFirstNodeById (   $a_id)
private

Get first node of stored tree.

private

Definition at line 343 of file class.ilCopyWizardOptions.php.

References getOptions().

Referenced by dropFirstNodeById(), fetchFirstDependenciesNode(), and fetchFirstNode().

344  {
345  $tree = $this->getOptions($a_id);
346  if (isset($tree[0]) and is_array($tree[0])) {
347  return $tree[0];
348  }
349  return false;
350  }
getOptions($a_source_id)
Get entry by source.
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getCopyId()

ilCopyWizardOptions::getCopyId ( )

Get copy id.

public

Definition at line 280 of file class.ilCopyWizardOptions.php.

References $copy_id.

Referenced by appendMapping(), disableSOAP(), disableTreeCopy(), dropFirstNodeById(), saveOwner(), saveRoot(), and storeTree().

281  {
282  return $this->copy_id;
283  }
+ Here is the caller graph for this function:

◆ getMappings()

ilCopyWizardOptions::getMappings ( )

Get Mappings.

public

Definition at line 517 of file class.ilCopyWizardOptions.php.

References array.

518  {
519  if (isset($this->options[-2]) and is_array($this->options[-2])) {
520  return $this->options[-2];
521  }
522  return array();
523  }
Create styles array
The data for the language used.

◆ getOptions()

ilCopyWizardOptions::getOptions (   $a_source_id)

Get entry by source.

public

Parameters
intsource ref_id

Definition at line 437 of file class.ilCopyWizardOptions.php.

References array.

Referenced by checkOwner(), fetchFirstNodeById(), and isRootNode().

438  {
439  if (isset($this->options[$a_source_id]) and is_array($this->options[$a_source_id])) {
440  return $this->options[$a_source_id];
441  }
442  return array();
443  }
Create styles array
The data for the language used.
+ Here is the caller graph for this function:

◆ getRequiredSteps()

ilCopyWizardOptions::getRequiredSteps ( )

Get required steps.

Returns
int

Definition at line 91 of file class.ilCopyWizardOptions.php.

References $steps.

92  {
93  $steps = 0;
94  if (is_array($this->options) && array_key_exists(0, $this->options) && is_array($this->options[0])) {
95  $steps += count($this->options[0]);
96  }
97  if (is_array($this->options) && array_key_exists(-1, $this->options) && is_array($this->options[-1])) {
98  $steps += count($this->options[-1]);
99  }
100  return $steps;
101  }
$steps
Definition: latex.php:3

◆ initContainer()

ilCopyWizardOptions::initContainer (   $a_source_id,
  $a_target_id 
)

Init container Add copy entry.

public

Parameters

Definition at line 294 of file class.ilCopyWizardOptions.php.

References addEntry(), appendMapping(), array, and COPY_WIZARD_COPY.

295  {
296  global $tree;
297 
298  $mapping_source = $tree->getParentId($a_source_id);
299  $this->addEntry($a_source_id, array('type' => ilCopyWizardOptions::COPY_WIZARD_COPY));
300  $this->appendMapping($mapping_source, $a_target_id);
301  }
addEntry($a_source_id, $a_options)
Add new entry.
appendMapping($a_source_id, $a_target_id)
Add mapping of source -> target.
Create styles array
The data for the language used.
+ Here is the call graph for this function:

◆ isRootNode()

ilCopyWizardOptions::isRootNode (   $a_root)

Is root node.

public

Parameters
intref_id of copy

Definition at line 191 of file class.ilCopyWizardOptions.php.

References getOptions().

192  {
193  return in_array($a_root, $this->getOptions(self::ROOT_NODE));
194  }
getOptions($a_source_id)
Get entry by source.
+ Here is the call graph for this function:

◆ isSOAPEnabled()

ilCopyWizardOptions::isSOAPEnabled ( )

Check if SOAP calls are disabled.

public

Definition at line 252 of file class.ilCopyWizardOptions.php.

253  {
254  if (isset($this->options[self::DISABLE_SOAP]) and $this->options[self::DISABLE_SOAP]) {
255  return false;
256  }
257  return true;
258  }

◆ isTreeCopyDisabled()

ilCopyWizardOptions::isTreeCopyDisabled ( )

Check if tree copy is enabled.

Returns
boolean

Definition at line 238 of file class.ilCopyWizardOptions.php.

239  {
240  if (isset($this->options[self::DISABLE_TREE_COPY]) and $this->options[self::DISABLE_TREE_COPY]) {
241  return true;
242  }
243  return false;
244  }

◆ read()

ilCopyWizardOptions::read ( )

public

Parameters

Definition at line 547 of file class.ilCopyWizardOptions.php.

References $ilDB, $query, $res, $row, array, and ilDBConstants\FETCHMODE_OBJECT.

Referenced by __construct(), and dropFirstNodeById().

548  {
549  global $ilDB;
550 
551  $query = "SELECT * FROM copy_wizard_options " .
552  "WHERE copy_id = " . $this->db->quote($this->copy_id, 'integer');
553  $res = $this->db->query($query);
554 
555  $this->options = array();
556  while ($row = $res->fetchRow(ilDBConstants::FETCHMODE_OBJECT)) {
557  $this->options[$row->source_id] = unserialize($row->options);
558  }
559 
560  return true;
561  }
foreach($_POST as $key=> $value) $res
$query
Create styles array
The data for the language used.
global $ilDB
+ Here is the caller graph for this function:

◆ readTree()

ilCopyWizardOptions::readTree (   $a_source_id)
private

Purge ommitted node recursively.

private

Parameters
arraycurrent node

Definition at line 570 of file class.ilCopyWizardOptions.php.

References $options.

Referenced by storeTree().

571  {
572  global $tree;
573 
574  $this->tmp_tree[] = $tree->getNodeData($a_source_id);
575 
576 
577  foreach ($tree->getChilds($a_source_id) as $sub_nodes) {
578  $sub_node_ref_id = $sub_nodes['child'];
579  // check ommited, linked ...
580  $options = $this->options[$sub_node_ref_id];
581  if ($options['type'] == self::COPY_WIZARD_COPY or
582  $options['type'] == self::COPY_WIZARD_LINK) {
583  $this->readTree($sub_node_ref_id);
584  }
585  }
586  }
readTree($a_source_id)
Purge ommitted node recursively.
+ Here is the caller graph for this function:

◆ saveOwner()

ilCopyWizardOptions::saveOwner (   $a_user_id)

Save owner for copy.

It will be checked against this user id in all soap calls

public

Parameters

Definition at line 151 of file class.ilCopyWizardOptions.php.

References $ilDB, array, and getCopyId().

152  {
153  global $ilDB;
154 
155  $ilDB->insert("copy_wizard_options", array(
156  "copy_id" => array("integer", $this->getCopyId()),
157  "source_id" => array("integer", self::OWNER_KEY),
158  "options" => array('clob',serialize(array($a_user_id)))
159  ));
160 
161  return true;
162  }
Create styles array
The data for the language used.
global $ilDB
+ Here is the call graph for this function:

◆ saveRoot()

ilCopyWizardOptions::saveRoot (   $a_root)

Save root node id.

public

Parameters
intref_id of copy source

Definition at line 171 of file class.ilCopyWizardOptions.php.

References $ilDB, array, and getCopyId().

172  {
173  global $ilDB;
174 
175  $ilDB->insert("copy_wizard_options", array(
176  "copy_id" => array("integer", $this->getCopyId()),
177  "source_id" => array("integer", self::ROOT_NODE),
178  "options" => array('clob',serialize(array($a_root)))
179  ));
180 
181  return true;
182  }
Create styles array
The data for the language used.
global $ilDB
+ Here is the call graph for this function:

◆ storeTree()

ilCopyWizardOptions::storeTree (   $a_source_id)

Save tree Stores two copies of the tree structure: id 0 is used for recursive call of cloneObject() id -1 is used for recursive call of cloneDependencies()

public

Parameters
intsource id

Definition at line 313 of file class.ilCopyWizardOptions.php.

References $ilDB, array, getCopyId(), and readTree().

314  {
315  global $ilDB;
316 
317  $this->tmp_tree = array();
318  $this->readTree($a_source_id);
319  $a_tree_structure = $this->tmp_tree;
320 
321  $ilDB->update("copy_wizard_options", array(
322  "options" => array('clob',serialize($a_tree_structure))
323  ), array(
324  "copy_id" => array('integer',$this->getCopyId()),
325  "source_id" => array('integer',0
326  )));
327 
328  $ilDB->insert('copy_wizard_options', array(
329  'copy_id' => array('integer',$this->getCopyId()),
330  'source_id' => array('integer',-1),
331  'options' => array('clob',serialize($a_tree_structure))
332  ));
333 
334  return true;
335  }
readTree($a_source_id)
Purge ommitted node recursively.
Create styles array
The data for the language used.
global $ilDB
+ Here is the call graph for this function:

Field Documentation

◆ $copy_id

ilCopyWizardOptions::$copy_id
private

Definition at line 47 of file class.ilCopyWizardOptions.php.

Referenced by getCopyId().

◆ $db

ilCopyWizardOptions::$db
private

Definition at line 45 of file class.ilCopyWizardOptions.php.

◆ $instances

ilCopyWizardOptions::$instances = null
staticprivate

Definition at line 34 of file class.ilCopyWizardOptions.php.

◆ $options

ilCopyWizardOptions::$options = array()
private

Definition at line 49 of file class.ilCopyWizardOptions.php.

Referenced by readTree().

◆ $source_id

ilCopyWizardOptions::$source_id
private

Definition at line 48 of file class.ilCopyWizardOptions.php.

◆ COPY_WIZARD_COPY

◆ COPY_WIZARD_LINK

◆ COPY_WIZARD_OMIT

◆ DISABLE_SOAP

const ilCopyWizardOptions::DISABLE_SOAP = -4

Definition at line 41 of file class.ilCopyWizardOptions.php.

◆ DISABLE_TREE_COPY

const ilCopyWizardOptions::DISABLE_TREE_COPY = -6

Definition at line 43 of file class.ilCopyWizardOptions.php.

◆ OWNER_KEY

const ilCopyWizardOptions::OWNER_KEY = -3

Definition at line 40 of file class.ilCopyWizardOptions.php.

◆ ROOT_NODE

const ilCopyWizardOptions::ROOT_NODE = -5

Definition at line 42 of file class.ilCopyWizardOptions.php.


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