ILIAS  Release_4_2_x_branch Revision 61807
 All Data Structures Namespaces Files Functions Variables Groups Pages
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:
class.ilEditClipboard.php 20019 2009-05-15 08:59:12Z akill

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

Member Function Documentation

ilEditClipboard::getContentObjectId ( )

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

References $_SESSION.

Referenced by ilStructureObjectGUI\pasteChapter(), ilStructureObjectGUI\pastePage(), and ilObjContentObjectGUI\pastePage().

{
if (isset($_SESSION["ilEditClipboard"]))
{
return $_SESSION["ilEditClipboard"]["id"];
}
}

+ Here is the caller graph for this function:

ilEditClipboard::getContentObjectType ( )

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

References $_SESSION.

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

{
if (isset($_SESSION["ilEditClipboard"]))
{
return $_SESSION["ilEditClipboard"]["type"];
}
else
{
return false;
}
}

+ Here is the caller graph for this function:

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

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

References $_SESSION.

Referenced by ilStructureObjectGUI\cutPage(), and ilObjContentObjectGUI\moveChapter().

{
$_SESSION["ilEditClipboard"] = array("type" => $a_type,
"id" => $a_id, "action" => $a_action);
}

+ Here is the caller graph for this function:


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