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()

static ilEditClipboard::clear ( )
static

◆ getAction()

static ilEditClipboard::getAction ( )
static

◆ getContentObjectId()

static ilEditClipboard::getContentObjectId ( )
static

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

References $_SESSION.

Referenced by ilObjContentObjectGUI\pastePage().

62  {
63  if (isset($_SESSION["ilEditClipboard"])) {
64  return $_SESSION["ilEditClipboard"]["id"];
65  }
66  }
$_SESSION["AccountId"]
+ Here is the caller graph for this function:

◆ getContentObjectType()

static ilEditClipboard::getContentObjectType ( )
static

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

References $_SESSION, $a_type, and array.

Referenced by ilObjContentObjectGUI\moveChapter().

69  {
70  $_SESSION["ilEditClipboard"] = array("type" => $a_type,
71  "id" => $a_id, "action" => $a_action);
72  }
$_SESSION["AccountId"]
$a_type
Definition: workflow.php:92
Create styles array
The data for the language used.
+ Here is the caller graph for this function:

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