Stud.IP  trunk Revision
ClipBoard Class Reference
Collaboration diagram for ClipBoard:
Collaboration graph

Public Member Functions

 GetInstance ($name)
 
 __construct ($name)
 
 insertElement ($id_to_insert, $object_type)
 
 deleteElement ($id_to_delete)
 
 getNumElements ()
 
 isInClipboard ($id_to_check)
 
 getElements ()
 
 getFormObject ()
 
 setDefaultValue ()
 
 setFormObject ()
 
 getClipOptions ($caller, $name)
 
 showClip ($title=true, $width='250px')
 
 doClipCmd ()
 

Data Fields

 $elements = null
 
 $form_obj = null
 
 $object_types = null
 
 $form_name = "clipboard_form"
 
 $msg
 
 $elements_query
 
 user
 
 $object_types_short
 

Constructor & Destructor Documentation

◆ __construct()

__construct (   $name)

Member Function Documentation

◆ deleteElement()

deleteElement (   $id_to_delete)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ doClipCmd()

doClipCmd ( )
Here is the call graph for this function:

◆ getClipOptions()

getClipOptions (   $caller,
  $name 
)
Here is the call graph for this function:

◆ getElements()

getElements ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getFormObject()

getFormObject ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetInstance()

GetInstance (   $name)

◆ getNumElements()

getNumElements ( )
Here is the caller graph for this function:

◆ insertElement()

insertElement (   $id_to_insert,
  $object_type 
)
Here is the call graph for this function:

◆ isInClipboard()

isInClipboard (   $id_to_check)

◆ setDefaultValue()

setDefaultValue ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setFormObject()

setFormObject ( )
Here is the caller graph for this function:

◆ showClip()

showClip (   $title = true,
  $width = '250px' 
)
Here is the call graph for this function:

Field Documentation

◆ $elements

$elements = null

◆ $elements_query

$elements_query
Initial value:
= [
"sem" => "SELECT Seminar_id, Name FROM Seminare WHERE Seminar_id IN (?) ORDER BY Name"

◆ $form_name

$form_name = "clipboard_form"

◆ $form_obj

$form_obj = null

◆ $msg

$msg

◆ $object_types

$object_types = null

◆ $object_types_short

$object_types_short
Initial value:
= [
"sem" => "S"

◆ user

user
Initial value:
=> "SELECT user_id, CONCAT(Nachname, ', ', Vorname) AS name FROM auth_user_md5 WHERE user_id IN (?) ORDER BY name",
"inst" => "SELECT Institut_id, Name FROM Institute WHERE Institut_id IN (?) ORDER BY Name",
"date" => "SELECT termin_id, content FROM termine WHERE termin_id IN (?) ORDER BY content",
"res" => "SELECT resource_id, name FROM resources_objects WHERE resource_id IN (?) ORDER BY name"
]

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