ILIAS
Release_3_10_x_branch Revision 61812
|
Public Member Functions | |
ilNoteGUI ($a_rep_obj_id="", $a_obj_id="", $a_obj_type="", $a_include_subobjects=false) | |
constructor, specifies notes set | |
& | executeCommand () |
execute command | |
enablePrivateNotes ($a_enable=true) | |
enable private notes | |
enablePublicNotes ($a_enable=true) | |
enable public notes | |
enableCommentsSettings ($a_enable=true) | |
enable private notes | |
enablePublicNotesDeletion ($a_enable=true) | |
enable public notes | |
enableHiding ($a_enable=true) | |
enable hiding | |
enableTargets ($a_enable=true) | |
enable target objects | |
enableMultiSelection ($a_enable=true) | |
enable multi selection (checkboxes and commands) | |
getNotesHTML () | |
activateComments () | |
Activate Comments. | |
deactivateComments () | |
Deactivate Comments. | |
getNoteListHTML ($a_type=IL_NOTE_PRIVATE) | |
get notes/comments list as html code | |
getPDNoteHTML ($note_id) | |
Note display for personal desktop. | |
showTargets (&$tpl, $a_rep_obj_id, $a_note_id, $a_obj_type, $a_obj_id) | |
show related objects as links | |
addNoteForm () | |
get notes list including add note area | |
cancelAddNote () | |
cancel add note | |
cancelUpdateNote () | |
cancel edit note | |
addNote () | |
add note | |
updateNote () | |
update note | |
editNoteForm () | |
get notes list including add note area | |
deleteNote () | |
delete note confirmation | |
deleteNotes () | |
delete notes confirmation | |
cancelDelete () | |
cancel deletion of note | |
confirmDelete () | |
cancel deletion of note | |
exportNotesHTML () | |
export selected notes to html | |
printNotes () | |
notes print view screen | |
showNotes () | |
show notes | |
hideNotes () | |
hide notes | |
showAllPublicNotes () | |
show all public notes to user | |
showMyPublicNotes () | |
show only public notes of user |
Data Fields | |
$public_deletion_enabled = false |
Notes GUI class.
An instance of this class handles all notes (and their lists) of an object.
Definition at line 36 of file class.ilNoteGUI.php.
ilNoteGUI::activateComments | ( | ) |
ilNoteGUI::addNote | ( | ) |
add note
Definition at line 895 of file class.ilNoteGUI.php.
References $_GET, getNotesHTML(), and ilUtil\stripSlashes().
ilNoteGUI::addNoteForm | ( | ) |
get notes list including add note area
Definition at line 863 of file class.ilNoteGUI.php.
References $_GET, getNotesHTML(), and IL_NOTE_PRIVATE.
ilNoteGUI::cancelAddNote | ( | ) |
cancel add note
Definition at line 879 of file class.ilNoteGUI.php.
References getNotesHTML().
ilNoteGUI::cancelDelete | ( | ) |
cancel deletion of note
Definition at line 972 of file class.ilNoteGUI.php.
References getNotesHTML().
ilNoteGUI::cancelUpdateNote | ( | ) |
cancel edit note
Definition at line 887 of file class.ilNoteGUI.php.
References getNotesHTML().
ilNoteGUI::confirmDelete | ( | ) |
cancel deletion of note
Definition at line 980 of file class.ilNoteGUI.php.
References getNotesHTML().
ilNoteGUI::deactivateComments | ( | ) |
ilNoteGUI::deleteNote | ( | ) |
delete note confirmation
Definition at line 945 of file class.ilNoteGUI.php.
References getNotesHTML().
ilNoteGUI::deleteNotes | ( | ) |
delete notes confirmation
Definition at line 954 of file class.ilNoteGUI.php.
References $lng, getNotesHTML(), and ilUtil\sendInfo().
ilNoteGUI::editNoteForm | ( | ) |
get notes list including add note area
Definition at line 936 of file class.ilNoteGUI.php.
References getNotesHTML().
ilNoteGUI::enableCommentsSettings | ( | $a_enable = true | ) |
enable private notes
Definition at line 154 of file class.ilNoteGUI.php.
ilNoteGUI::enableHiding | ( | $a_enable = true | ) |
enable hiding
Definition at line 170 of file class.ilNoteGUI.php.
ilNoteGUI::enableMultiSelection | ( | $a_enable = true | ) |
enable multi selection (checkboxes and commands)
Definition at line 186 of file class.ilNoteGUI.php.
ilNoteGUI::enablePrivateNotes | ( | $a_enable = true | ) |
enable private notes
Definition at line 138 of file class.ilNoteGUI.php.
Referenced by ilPDNotesGUI\view().
ilNoteGUI::enablePublicNotes | ( | $a_enable = true | ) |
enable public notes
Definition at line 146 of file class.ilNoteGUI.php.
ilNoteGUI::enablePublicNotesDeletion | ( | $a_enable = true | ) |
enable public notes
Definition at line 162 of file class.ilNoteGUI.php.
Referenced by ilLMPresentationGUI\ilLMNotes().
ilNoteGUI::enableTargets | ( | $a_enable = true | ) |
enable target objects
Definition at line 178 of file class.ilNoteGUI.php.
& ilNoteGUI::executeCommand | ( | ) |
ilNoteGUI::exportNotesHTML | ( | ) |
export selected notes to html
Definition at line 993 of file class.ilNoteGUI.php.
References $tpl, ilUtil\deliverData(), and getNotesHTML().
ilNoteGUI::getNoteListHTML | ( | $a_type = IL_NOTE_PRIVATE | ) |
get notes/comments list as html code
Definition at line 287 of file class.ilNoteGUI.php.
References $_GET, $ilCtrl, $lng, $public_deletion_enabled, $tpl, ilObject\_exists(), ilNote\_getNotesOfObject(), ilObjUser\_getPersonalPicturePath(), ilObjUser\_lookupLogin(), ilDatePresentation\formatDate(), ilUtil\getImagePath(), IL_CAL_DATETIME, IL_NOTE_CONTRA, IL_NOTE_IMPORTANT, IL_NOTE_PRIVATE, IL_NOTE_PRO, IL_NOTE_PUBLIC, IL_NOTE_QUESTION, IL_NOTE_UNLABELED, ilUtil\prepareFormOutput(), and showTargets().
Referenced by getNotesHTML().
ilNoteGUI::getNotesHTML | ( | ) |
Definition at line 194 of file class.ilNoteGUI.php.
References $ilCtrl, $lng, getNoteListHTML(), IL_NOTE_PRIVATE, and IL_NOTE_PUBLIC.
Referenced by addNote(), addNoteForm(), cancelAddNote(), cancelDelete(), cancelUpdateNote(), confirmDelete(), deleteNote(), deleteNotes(), editNoteForm(), exportNotesHTML(), hideNotes(), printNotes(), showAllPublicNotes(), showMyPublicNotes(), showNotes(), and updateNote().
ilNoteGUI::getPDNoteHTML | ( | $note_id | ) |
Note display for personal desktop.
Definition at line 730 of file class.ilNoteGUI.php.
References $ilCtrl, $img, $lng, $tpl, ilDatePresentation\formatDate(), ilUtil\getImagePath(), IL_CAL_DATETIME, and showTargets().
ilNoteGUI::hideNotes | ( | ) |
hide notes
Definition at line 1034 of file class.ilNoteGUI.php.
References $_GET, getNotesHTML(), and IL_NOTE_PRIVATE.
ilNoteGUI::ilNoteGUI | ( | $a_rep_obj_id = "" , |
|
$a_obj_id = "" , |
|||
$a_obj_type = "" , |
|||
$a_include_subobjects = false |
|||
) |
constructor, specifies notes set
$a_rep_obj_id | int object id of repository object (0 for personal desktop) |
$a_obj_id | int subobject id (0 for repository items, user id for personal desktop) |
$a_obj_type | string "pd" for personal desktop |
$a_include_subobjects | string include all subobjects of rep object (e.g. pages) |
Definition at line 48 of file class.ilNoteGUI.php.
References $ilCtrl, $lng, ilUtil\getImagePath(), IL_NOTE_CONTRA, IL_NOTE_IMPORTANT, IL_NOTE_PRO, IL_NOTE_QUESTION, and IL_NOTE_UNLABELED.
ilNoteGUI::printNotes | ( | ) |
notes print view screen
Definition at line 1006 of file class.ilNoteGUI.php.
References $tpl, exit, and getNotesHTML().
ilNoteGUI::showAllPublicNotes | ( | ) |
show all public notes to user
Definition at line 1049 of file class.ilNoteGUI.php.
References getNotesHTML().
ilNoteGUI::showMyPublicNotes | ( | ) |
show only public notes of user
Definition at line 1061 of file class.ilNoteGUI.php.
References getNotesHTML().
ilNoteGUI::showNotes | ( | ) |
show notes
Definition at line 1019 of file class.ilNoteGUI.php.
References $_GET, getNotesHTML(), and IL_NOTE_PRIVATE.
ilNoteGUI::showTargets | ( | & | $tpl, |
$a_rep_obj_id, | |||
$a_note_id, | |||
$a_obj_type, | |||
$a_obj_id | |||
) |
show related objects as links
Definition at line 784 of file class.ilNoteGUI.php.
References $location, $ref_id, $title, $tpl, ilObject\_getAllReferences(), ilObject\_lookupObjId(), ilObject\_lookupTitle(), ilObject\_lookupType(), and ilUtil\appendUrlParameterString().
Referenced by getNoteListHTML(), and getPDNoteHTML().
ilNoteGUI::updateNote | ( | ) |
update note
Definition at line 917 of file class.ilNoteGUI.php.
References getNotesHTML(), and ilUtil\stripSlashes().
ilNoteGUI::$public_deletion_enabled = false |
Definition at line 38 of file class.ilNoteGUI.php.
Referenced by getNoteListHTML().