ILIAS
trunk Revision v11.0_alpha-1761-g6dbbfa7b760
|
Comment GUI. More...
Public Member Functions | |
__construct ( $rep_obj_id=0, int $obj_id=0, string $obj_type="", bool $include_subobjects=false, int $news_id=0, bool $ajax=true, string $search_text="") | |
getNotesHTML () | |
getCommentsHTML () | |
getListHTML (bool $a_init_form=true) | |
![]() | |
__construct ( $a_rep_obj_id=0, int $a_obj_id=0, string $a_obj_type="", bool $a_include_subobjects=false, int $a_news_id=0, bool $ajax=true, string $search_text="") | |
setShowEmptyListMessage (bool $a_val) | |
getShowEmptyListMessage () | |
setShowHeader (bool $a_val) | |
getShowHeader () | |
setUseObjectTitleHeader (bool $a_val) | |
getUseObjectTitleHeader () | |
setDefaultCommand (string $a_val) | |
setHideNewForm (bool $a_val) | |
getDefaultCommand () | |
executeCommand () | |
enablePrivateNotes (bool $a_enable=true) | |
enablePublicNotes (bool $a_enable=true) | |
enableCommentsSettings (bool $a_enable=true) | |
enablePublicNotesDeletion (bool $a_enable=true) | |
enableTargets (bool $a_enable=true) | |
setRepositoryMode (bool $a_value) | |
getNotesHTML () | |
getListHTML (bool $a_init_form=true) | |
activateComments () | |
deactivateComments () | |
getNoteListHTML (bool $a_init_form=true) | |
getTarget (Note $note) | |
show related objects as links More... | |
addNoteForm (bool $a_init_form=true) | |
get notes list including add note area More... | |
cancelAddNote () | |
cancel add note More... | |
cancelUpdateNote () | |
cancel edit note More... | |
addNote () | |
add note More... | |
updateNote () | |
editNoteForm (bool $a_init_form=true) | |
get notes list including add note area More... | |
renderContent (string $content) | |
Render content into notes wrapper. More... | |
cancelDelete () | |
confirmDelete () | |
exportNotesHTML () | |
export selected notes to html More... | |
getShyButton (string $a_var, string $a_txt, string $a_cmd, string $a_anchor="", int $note_id=0) | |
getButton (string $a_var, string $a_txt, string $a_cmd, string $a_anchor="") | |
addObserver (callable $a_callback) | |
Add observer. More... | |
setExportMode () | |
getGlyph () | |
getNumber () | |
getTriggerShyButton () | |
getWidget () | |
Additional Inherited Members | |
![]() | |
static | getListNotesJSCall (string $a_hash, ?string $a_update_code=null) |
Get list notes js call. More... | |
static | getListCommentsJSCall (string $a_hash, ?string $a_update_code=null) |
Get list comments js call. More... | |
![]() | |
bool | $public_deletion_enabled = false |
bool | $repository_mode = false |
bool | $old = false |
Comment GUI.
Definition at line 26 of file class.ilCommentGUI.php.
ilCommentGUI::__construct | ( | $rep_obj_id = 0 , |
|
int | $obj_id = 0 , |
||
string | $obj_type = "" , |
||
bool | $include_subobjects = false , |
||
int | $news_id = 0 , |
||
bool | $ajax = true , |
||
string | $search_text = "" |
||
) |
Definition at line 30 of file class.ilCommentGUI.php.
References ilNoteGUI\$ajax, ilNoteGUI\$news_id, ilNoteGUI\$obj_id, ilNoteGUI\$obj_type, ilNoteGUI\$rep_obj_id, ilNoteGUI\$search_text, ILIAS\GlobalScreen\Provider\__construct(), ilNoteGUI\enablePrivateNotes(), and ilNoteGUI\enablePublicNotes().
|
protected |
Definition at line 85 of file class.ilCommentGUI.php.
References ilDatePresentation\formatDate(), ILIAS\Notes\Note\getCreationDate(), IL_CAL_DATETIME, and ILIAS\Repository\lng().
|
protected |
Definition at line 106 of file class.ilCommentGUI.php.
References ILIAS\Repository\lng().
|
protected |
Definition at line 189 of file class.ilCommentGUI.php.
References ILIAS\Repository\lng().
ilCommentGUI::getCommentsHTML | ( | ) |
Definition at line 57 of file class.ilCommentGUI.php.
|
protected |
Definition at line 194 of file class.ilCommentGUI.php.
References ILIAS\Repository\lng().
|
protected |
Definition at line 199 of file class.ilCommentGUI.php.
References ILIAS\Repository\lng().
|
protected |
Definition at line 96 of file class.ilCommentGUI.php.
References ILIAS\Repository\lng().
|
protected |
Definition at line 91 of file class.ilCommentGUI.php.
|
protected |
Definition at line 72 of file class.ilCommentGUI.php.
References ILIAS\Repository\lng().
|
protected |
Definition at line 80 of file class.ilCommentGUI.php.
References ILIAS\Notes\Note\getAuthor().
|
protected |
Definition at line 101 of file class.ilCommentGUI.php.
References ILIAS\Repository\lng().
ilCommentGUI::getListHTML | ( | bool | $a_init_form = true | ) |
Definition at line 119 of file class.ilCommentGUI.php.
References ilNoteGUI\$ctrl, $ilSetting, ilNoteGUI\$lng, ilNoteGUI\$settings, ilNoteGUI\$user, ANONYMOUS_USER_ID, ilNoteGUI\getNoteListHTML(), ilNoteGUI\getShyButton(), ilNoteGUI\renderComponents(), ilNoteGUI\renderContent(), ilCtrl\setParameter(), and ilLanguage\txt().
Referenced by assQuestionGUI\getCommentsPanelHTML().
|
protected |
Definition at line 184 of file class.ilCommentGUI.php.
References ILIAS\Repository\lng().
|
protected |
Definition at line 62 of file class.ilCommentGUI.php.
References ILIAS\Repository\lng().
ilCommentGUI::getNotesHTML | ( | ) |
Definition at line 52 of file class.ilCommentGUI.php.
|
protected |
Definition at line 28 of file class.ilCommentGUI.php.