ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
ilEditClipboard Class Reference

Class ilEditClipboard. More...

+ Collaboration diagram for ilEditClipboard:

Static Public Member Functions

static getContentObjectType ()
 
static setAction ($a_action)
 
static getAction ()
 
static getContentObjectId ()
 
static storeContentObject ($a_type, $a_id, $a_action="cut")
 
static 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()

◆ getContentObjectId()

static ilEditClipboard::getContentObjectId ( )
static

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

68 {
69 if (isset($_SESSION["ilEditClipboard"]))
70 {
71 return $_SESSION["ilEditClipboard"]["id"];
72 }
73 }

References $_SESSION.

Referenced by ilObjContentObjectGUI\pastePage().

+ Here is the caller graph for this function:

◆ getContentObjectType()

static ilEditClipboard::getContentObjectType ( )
static

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

39 {
40 if (isset($_SESSION["ilEditClipboard"]))
41 {
42 return $_SESSION["ilEditClipboard"]["type"];
43 }
44 else
45 {
46 return false;
47 }
48 }

References $_SESSION.

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

+ Here is the caller graph for this function:

◆ setAction()

◆ storeContentObject()

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

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

76 {
77 $_SESSION["ilEditClipboard"] = array("type" => $a_type,
78 "id" => $a_id, "action" => $a_action);
79 }
$a_type
Definition: workflow.php:93

References $_SESSION, and $a_type.

Referenced by ilObjContentObjectGUI\moveChapter().

+ Here is the caller graph for this function:

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