|
ILIAS
Release_5_0_x_branch Revision 61816
|
Class ilObjBlogGUI. More...
Inheritance diagram for ilObjBlogGUI:
Collaboration diagram for ilObjBlogGUI:Public Member Functions | |
| __construct ($a_id=0, $a_id_type=self::REPOSITORY_NODE_ID, $a_parent_node_id=0) | |
| Constructor. | |
| getType () | |
| Functions that must be overwritten. | |
| setTabs () | |
| create tabs (repository/workspace switch) | |
| executeCommand () | |
| execute command | |
| infoScreen () | |
| this one is called from the info button in the repository not very nice to set cmdClass/Cmd manually, if everything works through ilCtrl in the future this may be changed | |
| infoScreenForward () | |
| show information screen | |
| createPosting () | |
| Create new posting. | |
| render () | |
| Render object context. | |
| getExerciseInfo ($a_assignment_id) | |
| downloadExcAssFile () | |
| downloadExcSubFile () | |
| getHTML () | |
| Return embeddable HTML chunk. | |
| preview () | |
| Render fullscreen presentation. | |
| export () | |
| Build and deliver export file. | |
| renderFullScreen ($a_content, $a_navigation) | |
| Build fullscreen context. | |
| renderList (array $items, $a_cmd="preview", $a_link_template=null, $a_show_inactive=false, $a_export_directory=null) | |
| Build posting month list. | |
| renderNavigation (array $a_items, $a_list_cmd="render", $a_posting_cmd="preview", $a_link_template=null, $a_show_inactive=false) | |
| Build navigation blocks. | |
| getKeywords ($a_show_inactive, $a_posting_id=null) | |
| Get keywords for single posting or complete blog. | |
| buildExportFile () | |
| Build export file. | |
| exportHTMLPages ($a_target_directory, $a_link_template=null, $a_tpl_callback=null, $a_co_page_html_export=null, $a_index_name="index.html") | |
| Export all pages. | |
| getNotesSubId () | |
| disableNotes ($a_value=false) | |
| addLocatorItems () | |
| Functions to be overwritten. | |
| approve () | |
| contributors () | |
| addUserFromAutoComplete () | |
| Autocomplete submit. | |
| addContributor ($a_user_ids=array()) | |
| Centralized method to add contributors. | |
| confirmRemoveContributor () | |
| Used in ilContributorTableGUI. | |
| removeContributor () | |
| Used in ilContributorTableGUI. | |
| addToDeskObject () | |
| removeFromDeskObject () | |
| deactivateAdmin () | |
| setContentStyleSheet ($a_tpl=null) | |
| editStyleProperties () | |
| initStylePropertiesForm () | |
| createStyle () | |
| editStyle () | |
| deleteStyle () | |
| saveStyleSettings () | |
Public Member Functions inherited from ilObject2GUI | |
| delete () | |
| Display delete confirmation form (repository/workspace switch) | |
| confirmedDelete () | |
| Delete objects (repository/workspace switch) | |
| withReferences () | |
| Final/Private declaration of unchanged parent methods. | |
| setCreationMode ($a_mode=true) | |
| if true, a creation screen is displayed the current $_GET[ref_id] don't belong to the current class! the mode is determined in ilrepositorygui | |
| getCreationMode () | |
| get creation mode | |
| isVisible () | |
| trash () | |
| undelete () | |
| cancelDelete () | |
| removeFromSystem () | |
| cloneAll () | |
| view () | |
| view object content (repository/workspace switch) | |
| create () | |
| Deleted in ilObject. | |
| save () | |
| edit () | |
| update () | |
| cancel () | |
| importFile () | |
| Import. | |
Public Member Functions inherited from ilObjectGUI | |
| ilObjectGUI ($a_data, $a_id=0, $a_call_by_reference=true, $a_prepare_output=true) | |
| Constructor public. | |
| getAdminTabs (&$tabs_gui) | |
| administration tabs show only permissions and trash folder | |
| confirmedDeleteObject () | |
| confirmed deletion of object -> objects are moved to trash or deleted immediately, if trash is disabled | |
| cancelDeleteObject () | |
| cancel deletion of object | |
| cancelObject ($in_rep=false) | |
| cancel action and go back to previous page public | |
| createObject () | |
| create new object form | |
| cancelCreation () | |
| cancel create action and go back to repository parent | |
| saveObject () | |
| save object | |
| editObject () | |
| edit object | |
| updateObject () | |
| updates object entry in object_data | |
| getFormAction ($a_cmd, $a_formaction="") | |
| get form action for command (command is method name without "Object", e.g. | |
| isVisible ($a_ref_id, $a_type) | |
| viewObject () | |
| list childs of current object | |
| deleteObject ($a_error=false) | |
| Display deletion confirmation screen. | |
| cloneAllObject () | |
| Clone single (not container object) Method is overwritten in ilContainerGUI. | |
Static Public Member Functions | |
| static | lookupSubObjectTitle ($a_blog_id, $a_posting_id) |
| Get title for blog posting (used in ilNotesGUI) | |
| static | _goto ($a_target) |
| Deep link. | |
Static Public Member Functions inherited from ilObject2GUI | |
| static | handleAfterSaveCallback (ilObject $a_obj, $a_callback_ref_id) |
| After creation callback. | |
Static Public Member Functions inherited from ilObjectGUI | |
| static | _gotoRepositoryRoot ($a_raise_error=false) |
| Goto repository root. | |
| static | _gotoRepositoryNode ($a_ref_id, $a_cmd="frameset") |
| Goto repository root. | |
Protected Member Functions | |
| initCreationForms ($a_new_type) | |
| Init creation froms. | |
| afterSave (ilObject $a_new_object) | |
| Post (successful) object creation hook. | |
| setSettingsSubTabs ($a_active) | |
| initEditCustomForm (ilPropertyFormGUI $a_form) | |
| Add custom fields to update form. | |
| getEditFormCustomValues (array &$a_values) | |
| Add values to custom edit fields. | |
| updateCustom (ilPropertyFormGUI $a_form) | |
| Insert custom update form values into object. | |
| getListItems ($a_show_inactive=false) | |
| Filter blog postings by month, keyword or author. | |
| buildEmbedded ($a_content, $a_nav) | |
| Combine content (list/posting) and navigation to html chunk. | |
| renderFullscreenHeader ($a_tpl, $a_user_id, $a_export=false) | |
| Render banner, user name. | |
| buildPostingList ($a_obj_id) | |
| Gather all blog postings. | |
| renderNavigationByDate (array $a_items, $a_list_cmd="render", $a_posting_cmd="preview", $a_link_template=null, $a_show_inactive=false) | |
| Build navigation by date block. | |
| renderNavigationByKeywords ($a_list_cmd="render", $a_show_inactive=false) | |
| Build navigation by keywords block. | |
| renderNavigationByAuthors (array $a_items, $a_list_cmd="render", $a_show_inactive=false) | |
| buildExportLink ($a_template, $a_type, $a_id) | |
| Build static export link. | |
| buildExportTemplate ($a_back_url="") | |
| Build export "frame". | |
| writeExportFile ($a_target_directory, $a_file, $a_tpl, $a_content, $a_right_content=null) | |
| Write HTML to file. | |
| finalize () | |
| Finalize and submit blog to exercise. | |
| addHeaderAction ($a_cmd) | |
| initHeaderAction ($sub_type=null, $sub_id=null, $a_is_preview=false) | |
| setNotification () | |
| filterInactivePostings () | |
| Filter inactive items from items list. | |
| filterItemsByKeyWord (array $a_items, $a_keyword) | |
| mayContribute ($a_posting_id=null, $a_author_id=null) | |
| Check if user may contribute at all and may edit posting (if given) | |
Protected Member Functions inherited from ilObject2GUI | |
| afterConstructor () | |
| Do anything that should be done after constructor in here. | |
| assignObject () | |
| create object instance as internal property (repository/workspace switch) | |
| getAccessHandler () | |
| Get access handler. | |
| setLocator () | |
| set Locator | |
| deleteConfirmation () | |
| Display delete confirmation form (workspace specific) | |
| deleteConfirmedObjects () | |
| Delete objects (workspace specific) | |
| prepareOutput () | |
| prepare output | |
| setTitleAndDescription () | |
| called by prepare output | |
| showUpperIcon () | |
| omitLocator ($a_omit=true) | |
| getTargetFrame ($a_cmd, $a_target_frame="") | |
| get target frame for command (command is method name without "Object", e.g. | |
| setTargetFrame ($a_cmd, $a_target_frame) | |
| set specific target frame for command | |
| getCenterColumnHTML () | |
| Get center column. | |
| getRightColumnHTML () | |
| Display right column. | |
| setColumnSettings ($column_gui) | |
| May be overwritten in subclasses. | |
| checkPermission ($a_perm, $a_cmd="") | |
| showPossibleSubObjects () | |
| show possible subobjects (pulldown menu) | |
| redirectToRefId () | |
| fillCloneTemplate ($a_tpl_varname, $a_type) | |
| Fill object clone template This method can be called from any object GUI class that wants to offer object cloning. | |
| fillCloneSearchTemplate ($a_tpl_varname, $a_type) | |
| searchCloneSource () | |
| buildCloneSelect ($existing_objs) | |
| addAdminLocatorItems () | |
| getReturnLocation () | |
| Deprecated functions. | |
| setReturnLocation () | |
| showActions () | |
| getTitlesByRefId () | |
| getTabs () | |
| __showButton () | |
| hitsperpageObject () | |
| __initTableGUI () | |
| __setTableGUIBasicData () | |
| putObjectInTree (ilObject $a_obj, $a_parent_node_id=null) | |
| Add object to tree at given position. | |
| checkPermissionBool ($a_perm, $a_cmd="", $a_type="", $a_node_id=null) | |
| Check permission. | |
| initHeaderAction ($a_sub_type=null, $a_sub_id=null) | |
| Add header action menu. | |
| redrawHeaderAction () | |
| Updating icons after ajax call. | |
| getPermanentLinkWidget ($a_append=null, $a_center=false) | |
| handleAutoRating (ilObject $a_new_obj) | |
| Activate rating automatically if parent container setting. | |
Protected Member Functions inherited from ilObjectGUI | |
| insertHeaderAction ($a_list_gui) | |
| Insert header action into main template. | |
| addHeaderAction () | |
| Add header action menu. | |
| redrawHeaderActionObject () | |
| Ajax call: redraw action header only. | |
| showMountWebfolderIcon () | |
| setAdminTabs () | |
| set admin tabs public | |
| addAdminLocatorItems ($a_do_not_add_object=false) | |
| should be overwritten to add object specific items (repository items are preloaded) | |
| getCreationFormsHTML (array $a_forms) | |
| Get HTML for creation forms (accordion) | |
| initCreateForm ($a_new_type) | |
| Init object creation form. | |
| initDidacticTemplate (ilPropertyFormGUI $form) | |
| Show didactic template types. | |
| addDidacticTemplateOptions (array &$a_options) | |
| Add custom templates. | |
| getDidacticTemplateVar ($a_type) | |
| Get didactic template setting from creation screen. | |
| initEditForm () | |
| Init object edit form. | |
| getEditFormValues () | |
| Get values for edit form. | |
| validateCustom (ilPropertyFormGUI $a_form) | |
| Validate custom values (if not possible with checkInput()) | |
| afterUpdate () | |
| Post (successful) object update hook. | |
| initImportForm ($a_new_type) | |
| Init object import form. | |
| importFileObject ($parent_id=null) | |
| Import. | |
| afterImport (ilObject $a_new_object) | |
| Post (successful) object import hook. | |
| setFormAction ($a_cmd, $a_formaction) | |
| set specific form action for command | |
| getReturnLocation ($a_cmd, $a_location="") | |
| get return location for command (command is method name without "Object", e.g. | |
| setReturnLocation ($a_cmd, $a_location) | |
| set specific return location for command | |
| getTemplateFile ($a_cmd, $a_type="") | |
| get a template blockfile format: tpl. | |
| getTitlesByRefId ($a_ref_ids) | |
| get Titles of objects this method is used for error messages in methods cut/copy/paste | |
| getTabs (&$tabs_gui) | |
| get tabs abstract method. | |
| __showButton ($a_cmd, $a_text, $a_target= '') | |
| __setTableGUIBasicData (&$tbl, &$result_set, $a_from="") | |
| standard implementation for tables use 'from' variable use different initial setting of table | |
| redirectToRefId ($a_ref_id, $a_cmd="") | |
| redirects to (repository) view per ref id usually to a container and usually used at the end of a save/import method where the object gui type (of the new object) doesn't match with the type of the current $_GET["ref_id"] value | |
| checkPermission ($a_perm, $a_cmd="", $a_type="", $a_ref_id=null) | |
| Check permission and redirect on error. | |
| enableDragDropFileUpload () | |
| Enables the file upload into this object by dropping files. | |
Protected Attributes | |
| $month | |
| $items | |
| $keyword | |
| $author | |
| $month_default | |
Protected Attributes inherited from ilObject2GUI | |
| $object_id | |
| $node_id | |
| $creation_forms = array() | |
| $id_type = array() | |
| $parent_id | |
| $access_handler | |
Additional Inherited Members | |
Data Fields inherited from ilObject2GUI | |
| $tree | |
| const | OBJECT_ID = 0 |
| const | REPOSITORY_NODE_ID = 1 |
| const | WORKSPACE_NODE_ID = 2 |
| const | REPOSITORY_OBJECT_ID = 3 |
| const | WORKSPACE_OBJECT_ID = 4 |
| const | PORTFOLIO_OBJECT_ID = 5 |
Class ilObjBlogGUI.
ilObjBlogGUI: ilBlogPostingGUI, ilWorkspaceAccessGUI, ilPortfolioPageGUI ilObjBlogGUI: ilInfoScreenGUI, ilNoteGUI, ilCommonActionDispatcherGUI ilObjBlogGUI: ilPermissionGUI, ilObjectCopyGUI, ilRepositorySearchGUI ilObjBlogGUI: ilExportGUI, ilObjStyleSheetGUI
Definition at line 22 of file class.ilObjBlogGUI.php.
| ilObjBlogGUI::__construct | ( | $a_id = 0, |
|
$a_id_type = self::REPOSITORY_NODE_ID, |
|||
$a_parent_node_id = 0 |
|||
| ) |
Constructor.
| int | $a_id | |
| int | $a_id_type | |
| int | $a_parent_node_id |
Reimplemented from ilObject2GUI.
Definition at line 30 of file class.ilObjBlogGUI.php.
References $_REQUEST, $ilCtrl, ilObjectGUI\$lng, and buildPostingList().
Here is the call graph for this function:
|
static |
Deep link.
| string | $a_target |
Definition at line 3056 of file class.ilObjBlogGUI.php.
| ilObjBlogGUI::addContributor | ( | $a_user_ids = array() | ) |
Centralized method to add contributors.
| array | $a_user_ids |
Definition at line 2783 of file class.ilObjBlogGUI.php.
References $ilCtrl, ilObjectGUI\$lng, ilObject2GUI\checkPermissionBool(), contributors(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
Referenced by addUserFromAutoComplete().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 2448 of file class.ilObjBlogGUI.php.
References $_GET, $ilCtrl, $ilUser, ilObjectGUI\addHeaderAction(), initHeaderAction(), and ilObjectGUI\insertHeaderAction().
Here is the call graph for this function:| ilObjBlogGUI::addLocatorItems | ( | ) |
Functions to be overwritten.
Reimplemented from ilObject2GUI.
Definition at line 2680 of file class.ilObjBlogGUI.php.
References ilObject2GUI\$node_id.
| ilObjBlogGUI::addToDeskObject | ( | ) |
Implements ilDesktopItemHandling.
Definition at line 2884 of file class.ilObjBlogGUI.php.
References ilObjectGUI\$lng, ilDesktopItemGUI\addToDesktop(), and ilUtil\sendSuccess().
Here is the call graph for this function:| ilObjBlogGUI::addUserFromAutoComplete | ( | ) |
Autocomplete submit.
Definition at line 2750 of file class.ilObjBlogGUI.php.
References $_POST, ilObjectGUI\$lng, ilObjUser\_lookupId(), addContributor(), contributors(), and ilUtil\sendFailure().
Here is the call graph for this function:
|
protected |
Post (successful) object creation hook.
| ilObject | $a_new_object |
Reimplemented from ilObjectGUI.
Definition at line 80 of file class.ilObjBlogGUI.php.
References $ilCtrl, and ilUtil\sendSuccess().
Here is the call graph for this function:| ilObjBlogGUI::approve | ( | ) |
Definition at line 2690 of file class.ilObjBlogGUI.php.
References $_GET, ilObject2GUI\checkPermissionBool(), and ilUtil\sendSuccess().
Here is the call graph for this function:
|
protected |
Combine content (list/posting) and navigation to html chunk.
| string | $a_content | |
| string | $a_nav |
Definition at line 1177 of file class.ilObjBlogGUI.php.
Referenced by executeCommand(), and getHTML().
Here is the caller graph for this function:| ilObjBlogGUI::buildExportFile | ( | ) |
Build export file.
Definition at line 2168 of file class.ilObjBlogGUI.php.
References ilExport\_createExportDirectory(), ilExport\_getExportDirectory(), ilObjUser\_getPersonalPicturePath(), ilUtil\delDir(), exportHTMLPages(), ilUtil\makeDir(), and ilUtil\zip().
Referenced by export().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Build static export link.
| string | $a_template | |
| string | $a_type | |
| mixed | $a_id |
Definition at line 2326 of file class.ilObjBlogGUI.php.
Referenced by exportHTMLPages(), renderList(), and renderNavigationByDate().
Here is the caller graph for this function:
|
protected |
Build export "frame".
| type | $a_back_url |
Definition at line 2346 of file class.ilObjBlogGUI.php.
References ilObjectGUI\$lng, ilObjectGUI\$tpl, and renderFullscreenHeader().
Referenced by exportHTMLPages().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Gather all blog postings.
| int | $a_obj_id |
Definition at line 1352 of file class.ilObjBlogGUI.php.
References $items, $month, ilBlogPosting\getAllPostings(), and IL_CAL_DATE.
Referenced by __construct().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjBlogGUI::confirmRemoveContributor | ( | ) |
Used in ilContributorTableGUI.
Definition at line 2821 of file class.ilObjBlogGUI.php.
References $_POST, ilUserUtil\getNamePresentation(), and ilUtil\sendFailure().
Here is the call graph for this function:| ilObjBlogGUI::contributors | ( | ) |
Definition at line 2711 of file class.ilObjBlogGUI.php.
References $ilCtrl, ilObjectGUI\$lng, ilObject2GUI\$node_id, ilObjectGUI\$tpl, ilObject2GUI\checkPermissionBool(), ilRepositorySearchGUI\fillAutoCompleteToolbar(), and ilUtil\sendInfo().
Referenced by addContributor(), addUserFromAutoComplete(), and removeContributor().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjBlogGUI::createPosting | ( | ) |
Create new posting.
Definition at line 764 of file class.ilObjBlogGUI.php.
References $_POST, $ilCtrl, $ilUser, and ilUtil\stripSlashes().
Here is the call graph for this function:| ilObjBlogGUI::createStyle | ( | ) |
Definition at line 3019 of file class.ilObjBlogGUI.php.
| ilObjBlogGUI::deactivateAdmin | ( | ) |
Definition at line 2905 of file class.ilObjBlogGUI.php.
References $_GET, ilObject2GUI\checkPermissionBool(), and ilUtil\sendSuccess().
Here is the call graph for this function:| ilObjBlogGUI::deleteStyle | ( | ) |
Definition at line 3029 of file class.ilObjBlogGUI.php.
| ilObjBlogGUI::disableNotes | ( | $a_value = false | ) |
Definition at line 2443 of file class.ilObjBlogGUI.php.
| ilObjBlogGUI::downloadExcAssFile | ( | ) |
Definition at line 996 of file class.ilObjBlogGUI.php.
References $_GET, $file, ilUtil\deliverFile(), and ilExAssignment\getFiles().
Here is the call graph for this function:| ilObjBlogGUI::downloadExcSubFile | ( | ) |
Definition at line 1017 of file class.ilObjBlogGUI.php.
References $_GET, $ilUser, ilObjUser\_lookupName(), ilObject\_lookupTitle(), ilUtil\deliverFile(), and ilExAssignment\getDeliveredFiles().
Here is the call graph for this function:| ilObjBlogGUI::editStyle | ( | ) |
Definition at line 3024 of file class.ilObjBlogGUI.php.
| ilObjBlogGUI::editStyleProperties | ( | ) |
Definition at line 2946 of file class.ilObjBlogGUI.php.
References ilObject2GUI\checkPermission(), initStylePropertiesForm(), and setSettingsSubTabs().
Here is the call graph for this function:| ilObjBlogGUI::executeCommand | ( | ) |
execute command
Reimplemented from ilObject2GUI.
Definition at line 428 of file class.ilObjBlogGUI.php.
References $_GET, $_REQUEST, $cmd, $ilCtrl, ilObjectGUI\$lng, $ret, ilObjectGUI\$tpl, ilObjectGUI\addHeaderAction(), buildEmbedded(), ilBlogPosting\exists(), filterInactivePostings(), ilObject2GUI\getAccessHandler(), ilObject2GUI\getCreationMode(), ilObjStyleSheet\getEffectiveContentStyleId(), ilCommonActionDispatcherGUI\getInstanceFromAjaxCall(), infoScreenForward(), mayContribute(), ilObjectGUI\omitLocator(), ilObject2GUI\prepareOutput(), preview(), renderFullScreen(), renderNavigation(), ilUtil\sendFailure(), ilUtil\sendInfo(), setContentStyleSheet(), ilObject2GUI\setLocator(), and ilFileInputGUI\setPersonalWorkspaceQuotaCheck().
Here is the call graph for this function:| ilObjBlogGUI::export | ( | ) |
Build and deliver export file.
Definition at line 1160 of file class.ilObjBlogGUI.php.
References buildExportFile(), and ilUtil\deliverFile().
Here is the call graph for this function:| ilObjBlogGUI::exportHTMLPages | ( | $a_target_directory, | |
$a_link_template = null, |
|||
$a_tpl_callback = null, |
|||
$a_co_page_html_export = null, |
|||
$a_index_name = "index.html" |
|||
| ) |
Export all pages.
| string | $a_target_directory | |
| string | $a_link_template | (embedded) |
| array | $a_tpl_callback | (embedded) |
| object | $a_co_page_html_export | (embedded) |
| string | $a_index_name | (embedded) |
Definition at line 2240 of file class.ilObjBlogGUI.php.
References $file, $month, ilObjectGUI\$tpl, ilPageObject\_exists(), buildExportLink(), buildExportTemplate(), ilBlogPosting\getAllPostings(), IL_CAL_DATE, renderList(), renderNavigation(), and writeExportFile().
Referenced by buildExportFile().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Filter inactive items from items list.
Definition at line 2592 of file class.ilObjBlogGUI.php.
References $month, and ilPageObject\_lookupActive().
Referenced by executeCommand(), getHTML(), and preview().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 2619 of file class.ilObjBlogGUI.php.
References $items, $month, $res, and ilBlogPosting\getKeywords().
Here is the call graph for this function:
|
protected |
Finalize and submit blog to exercise.
Definition at line 2416 of file class.ilObjBlogGUI.php.
References $_GET, $_REQUEST, $ilCtrl, ilObjectGUI\$lng, ilObject\_getAllReferences(), and ilUtil\sendSuccess().
Here is the call graph for this function:
|
protected |
Add values to custom edit fields.
| array | $a_values |
Reimplemented from ilObjectGUI.
Definition at line 283 of file class.ilObjBlogGUI.php.
References ilObjBlog\ABSTRACT_DEFAULT_IMAGE_HEIGHT, ilObjBlog\ABSTRACT_DEFAULT_IMAGE_WIDTH, and ilObjBlog\ABSTRACT_DEFAULT_SHORTEN_LENGTH.
| ilObjBlogGUI::getExerciseInfo | ( | $a_assignment_id | ) |
Definition at line 877 of file class.ilObjBlogGUI.php.
References $file, $ilCtrl, $ilUser, ilObjectGUI\$lng, ilObject\_getAllReferences(), ilLink\_getStaticLink(), ilObject\_lookupTitle(), ilDatePresentation\formatDate(), ilExAssignment\getDeliveredFiles(), ilExAssignment\getFiles(), ilLinkButton\getInstance(), IL_CAL_DATETIME, ilDatePresentation\setUseRelativeDates(), and ilDatePresentation\useRelativeDates().
Referenced by render().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjBlogGUI::getHTML | ( | ) |
Return embeddable HTML chunk.
Reimplemented from ilObject2GUI.
Definition at line 1048 of file class.ilObjBlogGUI.php.
References buildEmbedded(), filterInactivePostings(), getListItems(), renderList(), and renderNavigation().
Here is the call graph for this function:| ilObjBlogGUI::getKeywords | ( | $a_show_inactive, | |
$a_posting_id = null |
|||
| ) |
Get keywords for single posting or complete blog.
| bool | $a_show_inactive | |
| int | $a_posting_id |
Definition at line 2119 of file class.ilObjBlogGUI.php.
References $items, $keyword, $month, ilPageObject\_lookupActive(), ilBlogPosting\getKeywords(), and ilUtil\sortArray().
Referenced by renderNavigationByKeywords().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Filter blog postings by month, keyword or author.
| bool | $a_show_inactive |
Definition at line 1078 of file class.ilObjBlogGUI.php.
References $items, $month, and ilPageObject\_lookupActive().
Referenced by getHTML(), preview(), and render().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjBlogGUI::getNotesSubId | ( | ) |
Definition at line 2434 of file class.ilObjBlogGUI.php.
References $_REQUEST.
| ilObjBlogGUI::getType | ( | ) |
Functions that must be overwritten.
Reimplemented from ilObject2GUI.
Definition at line 62 of file class.ilObjBlogGUI.php.
Referenced by renderList().
Here is the caller graph for this function:| ilObjBlogGUI::infoScreen | ( | ) |
this one is called from the info button in the repository not very nice to set cmdClass/Cmd manually, if everything works through ilCtrl in the future this may be changed
Definition at line 702 of file class.ilObjBlogGUI.php.
References infoScreenForward().
Here is the call graph for this function:| ilObjBlogGUI::infoScreenForward | ( | ) |
show information screen
Definition at line 712 of file class.ilObjBlogGUI.php.
References $ilErr, ilObject2GUI\checkPermissionBool(), and ilObject2GUI\getPermanentLinkWidget().
Referenced by executeCommand(), and infoScreen().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Init creation froms.
this will create the default creation forms: new, import, clone
| string | $a_new_type |
Reimplemented from ilObject2GUI.
Definition at line 67 of file class.ilObjBlogGUI.php.
|
protected |
Add custom fields to update form.
| ilPropertyFormGUI | $a_form |
Reimplemented from ilObjectGUI.
Definition at line 102 of file class.ilObjBlogGUI.php.
References $auth, $file, $ilSetting, $img, ilObjectGUI\$lng, ilPropertyFormGUI\addItem(), ilObjBlog\NAV_MODE_LIST, ilObjBlog\NAV_MODE_MONTH, ilRadioOption\setInfo(), ilFormPropertyGUI\setInfo(), ilFormPropertyGUI\setMultiValues(), ilFileInputGUI\setPersonalWorkspaceQuotaCheck(), ilFormPropertyGUI\setRequired(), setSettingsSubTabs(), and ilNumberInputGUI\setSize().
Here is the call graph for this function:
|
protected |
Definition at line 2475 of file class.ilObjBlogGUI.php.
References $_GET, $ilCtrl, $ilUser, ilObjectGUI\$obj_id, ilUtil\getImagePath(), ilNotification\hasNotification(), mayContribute(), and ilNotification\TYPE_BLOG.
Referenced by addHeaderAction().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjBlogGUI::initStylePropertiesForm | ( | ) |
Definition at line 2957 of file class.ilObjBlogGUI.php.
References $_GET, $ilSetting, ilObjStyleSheet\_getStandardStyles(), ilObjStyleSheet\_lookupStandard(), ilObject\_lookupTitle(), ilSelectInputGUI\setOptions(), and ilNonEditableValueGUI\setValue().
Referenced by editStyleProperties().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Get title for blog posting (used in ilNotesGUI)
| int | $a_blog_id | |
| int | $a_posting_id |
Definition at line 2576 of file class.ilObjBlogGUI.php.
|
protected |
Check if user may contribute at all and may edit posting (if given)
| int | $a_posting_id | |
| int | $a_author_id |
Definition at line 2644 of file class.ilObjBlogGUI.php.
References $ilUser, and ilObject2GUI\checkPermissionBool().
Referenced by executeCommand(), initHeaderAction(), render(), renderFullScreen(), renderList(), renderNavigation(), and setTabs().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjBlogGUI::preview | ( | ) |
Render fullscreen presentation.
Definition at line 1133 of file class.ilObjBlogGUI.php.
References ilObjectGUI\$lng, ilObject2GUI\checkPermissionBool(), filterInactivePostings(), getListItems(), renderFullScreen(), renderList(), renderNavigation(), and ilUtil\sendInfo().
Referenced by executeCommand().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjBlogGUI::removeContributor | ( | ) |
Used in ilContributorTableGUI.
Definition at line 2852 of file class.ilObjBlogGUI.php.
References $_POST, $ilCtrl, ilObjectGUI\$lng, contributors(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
Here is the call graph for this function:| ilObjBlogGUI::removeFromDeskObject | ( | ) |
Implements ilDesktopItemHandling.
Definition at line 2896 of file class.ilObjBlogGUI.php.
References ilObjectGUI\$lng, ilDesktopItemGUI\removeFromDesktop(), and ilUtil\sendSuccess().
Here is the call graph for this function:| ilObjBlogGUI::render | ( | ) |
Render object context.
Definition at line 798 of file class.ilObjBlogGUI.php.
References $ilCtrl, $ilUser, ilObjectGUI\$lng, ilObject2GUI\$node_id, ilObjectGUI\$ref_id, ilObjectGUI\$tpl, ilObject2GUI\$tree, ilObject\_getAllReferences(), ilObject2GUI\checkPermissionBool(), ilObjExercise\findUserFiles(), getExerciseInfo(), ilSubmitButton\getInstance(), getListItems(), mayContribute(), renderList(), renderNavigation(), ilUtil\sendInfo(), and setContentStyleSheet().
Here is the call graph for this function:| ilObjBlogGUI::renderFullScreen | ( | $a_content, | |
| $a_navigation | |||
| ) |
Build fullscreen context.
| string | $a_content | |
| string | $a_navigation |
Definition at line 1191 of file class.ilObjBlogGUI.php.
References $_GET, $ilUser, ilObject2GUI\$parent_id, ilObjectGUI\$tpl, ilObject2GUI\$tree, ilLink\_getStaticLink(), mayContribute(), ilMainMenuGUI\MODE_TOPBAR_ONLY, renderFullscreenHeader(), and setContentStyleSheet().
Referenced by executeCommand(), and preview().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Render banner, user name.
| object | $a_tpl | |
| int | $a_user_id | |
| bool | $a_export_path |
Definition at line 1275 of file class.ilObjBlogGUI.php.
References $_GET, $t, ilObjUser\_getPersonalPicturePath(), and ilObjUser\_lookupName().
Referenced by buildExportTemplate(), and renderFullScreen().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjBlogGUI::renderList | ( | array | $items, |
$a_cmd = "preview", |
|||
$a_link_template = null, |
|||
$a_show_inactive = false, |
|||
$a_export_directory = null |
|||
| ) |
Build posting month list.
| array | $items | |
| string | $a_cmd | |
| bool | $a_link_template | |
| bool | $a_show_inactive | |
| string | $a_export_directory |
Definition at line 1386 of file class.ilObjBlogGUI.php.
References $_REQUEST, $author, $ilCtrl, $ilUser, $keyword, ilObjectGUI\$lng, $month, $preview, ilNote\_getNotesOfObject(), ilLink\_getStaticLink(), ilPageObject\_lookupActive(), ilObject\_lookupOwner(), ilCalendarUtil\_numericMonthToString(), buildExportLink(), ilObject2GUI\checkPermissionBool(), ilDatePresentation\formatDate(), ilObject2GUI\getAccessHandler(), ilUserUtil\getNamePresentation(), ilBlogPostingGUI\getSnippet(), getType(), IL_CAL_DATE, IL_NOTE_PUBLIC, and mayContribute().
Referenced by exportHTMLPages(), getHTML(), preview(), and render().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjBlogGUI::renderNavigation | ( | array | $a_items, |
$a_list_cmd = "render", |
|||
$a_posting_cmd = "preview", |
|||
$a_link_template = null, |
|||
$a_show_inactive = false |
|||
| ) |
Build navigation blocks.
| array | $a_items | |
| string | $a_list_cmd | |
| string | $a_posting_cmd | |
| bool | $a_link_template | |
| bool | $a_show_inactive |
Definition at line 1991 of file class.ilObjBlogGUI.php.
References $_GET, $cmd, $ilCtrl, $ilSetting, ilObject2GUI\$node_id, ilRSSButtonGUI\get(), ilPanelGUI\getInstance(), ilPanelGUI\HEADING_STYLE_BLOCK, ilRSSButtonGUI\ICON_RSS, mayContribute(), ilPanelGUI\PANEL_STYLE_SECONDARY, renderNavigationByAuthors(), renderNavigationByDate(), and renderNavigationByKeywords().
Referenced by executeCommand(), exportHTMLPages(), getHTML(), preview(), and render().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 1930 of file class.ilObjBlogGUI.php.
References $author, $ilCtrl, $items, $month, ilPageObject\_lookupActive(), and ilUserUtil\getNamePresentation().
Referenced by renderNavigation().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Build navigation by date block.
| array | $a_items | |
| string | $a_list_cmd | |
| string | $a_posting_cmd | |
| bool | $a_link_template | |
| bool | $a_show_inactive |
Definition at line 1658 of file class.ilObjBlogGUI.php.
References $_GET, $ilCtrl, $month, ilPageObject\_lookupActive(), ilCalendarUtil\_numericMonthToString(), buildExportLink(), and ilObjBlog\NAV_MODE_LIST.
Referenced by renderNavigation().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Build navigation by keywords block.
| string | $a_list_cmd | |
| bool | $a_show_inactive |
Definition at line 1901 of file class.ilObjBlogGUI.php.
References $_GET, $ilCtrl, $keyword, getKeywords(), and ilTagging\getRelevanceClass().
Referenced by renderNavigation().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjBlogGUI::saveStyleSettings | ( | ) |
Definition at line 3034 of file class.ilObjBlogGUI.php.
References $_POST, $ilSetting, ilObjStyleSheet\_lookupStandard(), ilUtil\sendSuccess(), and ilUtil\stripSlashes().
Here is the call graph for this function:| ilObjBlogGUI::setContentStyleSheet | ( | $a_tpl = null | ) |
Definition at line 2927 of file class.ilObjBlogGUI.php.
References ilObjectGUI\$tpl, and ilObjStyleSheet\getContentStylePath().
Referenced by executeCommand(), render(), and renderFullScreen().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 2550 of file class.ilObjBlogGUI.php.
References $_GET, $ilCtrl, $ilUser, ilObjectGUI\$obj_id, and ilNotification\TYPE_BLOG.
|
protected |
Definition at line 88 of file class.ilObjBlogGUI.php.
Referenced by editStyleProperties(), and initEditCustomForm().
Here is the caller graph for this function:| ilObjBlogGUI::setTabs | ( | ) |
create tabs (repository/workspace switch)
this had to be moved here because of the context-specific permission tab
Reimplemented from ilObject2GUI.
Definition at line 372 of file class.ilObjBlogGUI.php.
References ilObjectGUI\$lng, ilObject2GUI\checkPermissionBool(), and mayContribute().
Here is the call graph for this function:
|
protected |
Insert custom update form values into object.
| ilPropertyFormGUI | $a_form |
Reimplemented from ilObjectGUI.
Definition at line 312 of file class.ilObjBlogGUI.php.
References ilObjectGUI\$lng, ilPropertyFormGUI\getInput(), and ilPropertyFormGUI\getItemByPostVar().
Here is the call graph for this function:
|
protected |
Write HTML to file.
| type | $a_target_directory | |
| type | $a_file | |
| type | $a_tpl | |
| type | $a_content | |
| type | $a_right_content |
Definition at line 2375 of file class.ilObjBlogGUI.php.
References $file.
Referenced by exportHTMLPages().
Here is the caller graph for this function:
|
protected |
Definition at line 27 of file class.ilObjBlogGUI.php.
Referenced by renderList(), and renderNavigationByAuthors().
|
protected |
Definition at line 25 of file class.ilObjBlogGUI.php.
Referenced by buildPostingList(), filterItemsByKeyWord(), getKeywords(), getListItems(), and renderNavigationByAuthors().
|
protected |
Definition at line 26 of file class.ilObjBlogGUI.php.
Referenced by getKeywords(), renderList(), and renderNavigationByKeywords().
|
protected |
Definition at line 24 of file class.ilObjBlogGUI.php.
Referenced by buildPostingList(), exportHTMLPages(), filterInactivePostings(), filterItemsByKeyWord(), getKeywords(), getListItems(), renderList(), renderNavigationByAuthors(), and renderNavigationByDate().
|
protected |
Definition at line 28 of file class.ilObjBlogGUI.php.