Stud.IP
2.0 Revision 48548
|
Data Fields | |
$tree | |
$anchor | |
$startItemID | |
$changed | |
$eval | |
$itemID | |
$evalID | |
$itemInstance |
createButton | ( | $name, | |
$alt = "" , |
|||
$value = "" |
|||
) |
creates an input-button
private
string | $name | the name (and button-image) |
string | $alt | the alt-text (optional) |
string | $value | the value (optional) |
createButtonbar | ( | $show = ARRANGMENT_BLOCK | ) |
creates the html for the create new group options
private
string | $show | the blocktyp to display |
createFormNew | ( | $show = ARRANGMENT_BLOCK | ) |
creates the html for the create new group options
private
string | $show |
createGlobalFeatures | ( | ) |
creates the html for the global features-input
private
createImage | ( | $pic, | |
$alt = "" , |
|||
$args = NULL |
|||
) |
creates an image
private
string | $pic | the image |
string | $alt | the alt-text (optional) |
string | $args | additional options (optional) |
createLevelOutputTD | ( | $pic = "forumleer.gif" | ) |
creates an td with an image
private
string | $pic | the image |
createLinkButton | ( | $name, | |
$alt = "" , |
|||
$value = "" |
|||
) |
creates a link-button
private
string | $name | the name (and button-image) |
string | $alt | the alt-text (optional) |
string | $value | the value (optional) |
createLinkImage | ( | $pic, | |
$alt = "" , |
|||
$value = "" , |
|||
$tooltip = true , |
|||
$args = NULL , |
|||
$self = true |
|||
) |
creates a link-image
private
string | $pic | the image |
string | $alt | the alt-text (optional) |
string | $value | the value (optional) |
boolean | $tooltip | display as tooltip? (optional) |
string | $args | additional options (optional) |
boolean | $self | get self? (optional) |
createQuestionFeatures | ( | ) |
creates the html for the global features-input
private
createQuestionForm | ( | ) |
creates the html for the question-input
private
createTemplateSelection | ( | $selected = NULL | ) |
creates the template selection
private
string | $selected | the entry to be preselected (optional) |
createTitleInput | ( | $mode = ROOT_BLOCK | ) |
creates the html for the title and text input
private
string | $mode |
createTreeItemDetails | ( | $item_id | ) |
prints out the item details
private
string | $item_id | the current item |
createTreeItemOutput | ( | $item_id | ) |
prints out one item
private
string | $item_id | the items id |
createTreeLevelOutput | ( | $item_id, | |
$start_itemID = NULL |
|||
) |
prints out the lines before an item ("Strichlogik" (c) rstockm)
private
string | $item_id | the current item |
string | $start_itemID | the start item |
createUpdateButton | ( | $mode = NULL | ) |
creates the html for the update button
private
string | $mode |
EvaluationTreeEditView | ( | $itemID = ROOT_BLOCK , |
|
$evalID = NULL |
|||
) |
constructor
public
string | $itemID | the item to display |
string | $evalID | the evaluation of the item |
execCommandAddGroup | ( | ) |
Creates a new Group and adds it to the tree
public
execCommandAddQGroup | ( | ) |
adds a questions-group
private
execCommandAddQuestions | ( | ) |
Adds Questions
private
execCommandAssertDeleteItem | ( | ) |
Creates a delete-request
public
execCommandCancel | ( | ) |
Creates cancel-message public
execCommandChangeTemplate | ( | ) |
Updates the templateID of a group
private
execCommandDeleteItem | ( | ) |
Deletes an Item and its kids public
execCommandDeleteQuestions | ( | ) |
deletes questions
private
execCommandMove | ( | ) |
Moves a Group up or down
private
execCommandMoveGroup | ( | ) |
Moves a Group from one parent to another
private
execCommandMoveQuestionDown | ( | ) |
Moves a Questions
private
execCommandMoveQuestionUp | ( | ) |
Moves a Questions
private
execCommandQuestionAnswersCreate | ( | ) |
creates an info-message and updates the item
private
execCommandQuestionAnswersCreated | ( | ) |
creates an confirm-message if answers were created
private
execCommandUpdateItem | ( | $no_delete = false | ) |
Updates the item content of any kind
private
boolean | $no_delete | YES/NO (optional) |
execCommandUpdateQuestions | ( | $no_delete = false | ) |
Update the Question content
private
boolean | $no_delete | YES/NO (optional) |
getEvalPath | ( | ) |
creates the parentslinks
private
getInstance | ( | $itemID | ) |
detects the type of an object by its itemID
private
string | $itemID |
getItemContent | ( | $itemID | ) |
creates the content for all item-types
private
string | $itemID | the item-heas id |
getItemHead | ( | $itemID | ) |
creates the items head
private
string | $itemID | the current item |
getItemHeadPics | ( | $itemID | ) |
returns html for the icons in front of the name of the item
private
string | $itemID | the item-heas id |
getItemMessage | ( | $itemID, | |
$colspan = 1 |
|||
) |
creates a table and calls the ItemMessages
private
string | $itemID | the current item |
integer | $colspan | the needed colspan (optional) |
getSelf | ( | $param = "" , |
|
$with_start_item = true |
|||
) |
creates a self-url with add. items
private
string | $param | params (optional) |
boolean | $with_start_item | startItem needed? (optional) |
parseCommand | ( | ) |
parses the _Request-commands and calls the avaible functions
private
showEvalTree | ( | ) |
displays the EvaluationTree
public
showTree | ( | $itemID = ROOT_BLOCK , |
|
$start = NULL |
|||
) |
prints out the tree beginning at the parent-item
public
string | $itemID | the item to display |
string | $start | YES if its the basecall |
swapPosition | ( | $parentID, | |
$objectID, | |||
$oldposition, | |||
$direction | |||
) |
swaps positions of two objects
private
string | $parentID | the parentID |
string | $objectID | the object to swap |
string | $oldposition | the old position |
string | $direction | the direction to swap |
string $anchor |
contains the item with the current html anchor
public
boolean $changed |
true if changedate should be set
private
object Evaluation $eval |
Holds the Evaluation object private
integer $evalID |
Holds the current evalID private
string $itemID |
Holds the current Item-ID private
string $itemInstance |
The itemID instance private
string $startItemID |
the item to start with
public
object EvaluationTree $tree |
Reference to the tree structure
public