ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
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 61 of file class.ilEditClipboard.php.

62 {
63 if (isset($_SESSION["ilEditClipboard"])) {
64 return $_SESSION["ilEditClipboard"]["id"];
65 }
66 }

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 return $_SESSION["ilEditClipboard"]["type"];
42 } else {
43 return false;
44 }
45 }

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 68 of file class.ilEditClipboard.php.

69 {
70 $_SESSION["ilEditClipboard"] = array("type" => $a_type,
71 "id" => $a_id, "action" => $a_action);
72 }
$a_type
Definition: workflow.php:92

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: