ILIAS  release_5-0 Revision 5.0.0-1144-gc4397b1f870
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$

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

Member Function Documentation

◆ clear()

ilEditClipboard::clear ( )

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

82 {
83 unset($_SESSION["ilEditClipboard"]);
84 }
< a tabindex="-1" style="border-style: none;" href="#" title="Refresh Image" onclick="document.getElementById('siimage').src = './securimage_show.php?sid=' + Math.random(); this.blur(); return false">< img src="./images/refresh.png" alt="Reload Image" height="32" width="32" onclick="this.blur()" align="bottom" border="0"/></a >< br/>< strong > Enter Code *if($_SERVER['REQUEST_METHOD']=='POST' &&@ $_POST['do']=='contact') $_SESSION['ctform']['success']

References $_SESSION.

Referenced by ilSkillTreeNode\clearClipboard(), ilSCORM2004Node\insertAssetClip(), ilStructureObjectGUI\insertChapterClip(), ilSCORM2004Node\insertChapterClip(), ilObjContentObjectGUI\insertChapterClip(), ilSCORM2004Node\insertPageClip(), ilStructureObjectGUI\insertPageClip(), and ilObjContentObjectGUI\pastePage().

+ Here is the caller graph for this function:

◆ getAction()

ilEditClipboard::getAction ( )

◆ getContentObjectId()

ilEditClipboard::getContentObjectId ( )

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

ilEditClipboard::getContentObjectType ( )

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

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

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 }

References $_SESSION.

Referenced by ilObjContentObjectGUI\moveChapter().

+ Here is the caller graph for this function:

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