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

static ilEditClipboard::clear ( )
static

◆ getAction()

static ilEditClipboard::getAction ( )
static

◆ getContentObjectId()

static ilEditClipboard::getContentObjectId ( )
static

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

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

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

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

References $_SESSION, $a_type, and array.

Referenced by ilObjContentObjectGUI\moveChapter().

76  {
77  $_SESSION["ilEditClipboard"] = array("type" => $a_type,
78  "id" => $a_id, "action" => $a_action);
79  }
$_SESSION["AccountId"]
$a_type
Definition: workflow.php:93
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: