ILIAS  release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
ilEditClipboard Class Reference

Class ilEditClipboard. More...

+ Collaboration diagram for ilEditClipboard:

Public Member Functions

 getContentObjectType ()
 
 setAction ($a_action)
 
 getAction ()
 
 getContentObjectId ()
 
 storeContentObject ($a_type, $a_id, $a_action="cut")
 
 clear ()
 

Detailed Description

Class ilEditClipboard.

This class supports only a few basic clipboard functions for the editor and should be further elaborated in the future.

Author
Alex Killing alex..nosp@m.kill.nosp@m.ing@g.nosp@m.mx.d.nosp@m.e
Version
$Id$

Definition at line 36 of file class.ilEditClipboard.php.

Member Function Documentation

◆ clear()

◆ getAction()

ilEditClipboard::getAction ( )

◆ getContentObjectId()

ilEditClipboard::getContentObjectId ( )

Definition at line 67 of file class.ilEditClipboard.php.

References $_SESSION.

Referenced by ilObjContentObjectGUI\pastePage().

68  {
69  if (isset($_SESSION["ilEditClipboard"]))
70  {
71  return $_SESSION["ilEditClipboard"]["id"];
72  }
73  }
$_SESSION["AccountId"]
+ Here is the caller graph for this function:

◆ getContentObjectType()

ilEditClipboard::getContentObjectType ( )

Definition at line 38 of file class.ilEditClipboard.php.

References $_SESSION.

Referenced by ilLMPagesTableGUI\__construct(), and ilObjContentObjectGUI\pastePage().

39  {
40  if (isset($_SESSION["ilEditClipboard"]))
41  {
42  return $_SESSION["ilEditClipboard"]["type"];
43  }
44  else
45  {
46  return false;
47  }
48  }
$_SESSION["AccountId"]
+ Here is the caller graph for this function:

◆ setAction()

◆ storeContentObject()

ilEditClipboard::storeContentObject (   $a_type,
  $a_id,
  $a_action = "cut" 
)

Definition at line 75 of file class.ilEditClipboard.php.

References $_SESSION.

Referenced by ilObjContentObjectGUI\moveChapter().

76  {
77  $_SESSION["ilEditClipboard"] = array("type" => $a_type,
78  "id" => $a_id, "action" => $a_action);
79  }
$_SESSION["AccountId"]
+ Here is the caller graph for this function:

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