ILIAS
trunk Revision v11.0_alpha-1715-g7fc467680fb
|
ilObjBlogGUI: ilBlogPostingGUI, ilWorkspaceAccessGUI ilObjBlogGUI: ilInfoScreenGUI, ilNoteGUI, ilCommonActionDispatcherGUI ilObjBlogGUI: ilPermissionGUI, ilObjectCopyGUI, ilRepositorySearchGUI ilObjBlogGUI: ilExportGUI, ilObjectContentStyleSettingsGUI, ilBlogExerciseGUI, ilObjNotificationSettingsGUI ilObjBlogGUI: ilObjectMetaDataGUI ilObjBlogGUI: ILIAS ilObjBlogGUI: ILIAS More...
Public Member Functions | |
__construct (int $a_id=0, int $a_id_type=self::REPOSITORY_NODE_ID, int $a_parent_node_id=0) | |
getType () | |
getItems () | |
edit () | |
executeCommand () | |
infoScreen () | |
this one is called from the info button in the repository More... | |
infoScreenForward () | |
createPosting () | |
Create new posting. More... | |
render () | |
Render object context. More... | |
preview () | |
Render fullscreen presentation. More... | |
export (bool $a_with_comments=false) | |
Build and deliver export file. More... | |
renderFullScreen (string $a_content, string $a_navigation) | |
Build fullscreen context. More... | |
renderFullscreenHeader (ilGlobalTemplateInterface $a_tpl, int $a_user_id, bool $a_export=false) | |
renderList (array $items, string $a_cmd="preview", string $a_link_template="", bool $a_show_inactive=false, string $a_export_directory="") | |
Build posting month list. More... | |
renderToolbarNavigation (array $a_items, bool $single_posting=false) | |
Toolbar navigation. More... | |
renderNavigation (string $a_list_cmd="render", string $a_posting_cmd="preview", ?string $a_link_template=null, bool $a_show_inactive=false, int $a_blpg=0) | |
Build navigation blocks. More... | |
getKeywords (bool $a_show_inactive, ?int $a_posting_id=null) | |
Get keywords for single posting or complete blog. More... | |
buildExportFile (bool $a_include_comments=false, bool $print_version=false) | |
Build export file. More... | |
getNotesSubId () | |
disableNotes (bool $a_value=false) | |
filterItemsByKeyword (array $a_items, string $a_keyword) | |
approve () | |
contributors () | |
addUserFromAutoComplete () | |
Autocomplete submit. More... | |
addContributor (array $a_user_ids=array(), ?string $a_user_type=null) | |
Centralized method to add contributors. More... | |
confirmRemoveContributor () | |
Used in ilContributorTableGUI. More... | |
removeContributor () | |
deactivateAdmin () | |
setContentStyleSheet (?ilGlobalTemplateInterface $a_tpl=null) | |
printViewSelection () | |
printPostings () | |
![]() | |
__construct (int $id=0, int $id_type=self::REPOSITORY_NODE_ID, int $parent_node_id=0) | |
executeCommand () | |
execute command More... | |
getIdType () | |
delete () | |
Display delete confirmation form (repository/workspace switch) More... | |
confirmedDelete () | |
Delete objects (repository/workspace switch) More... | |
getHTML () | |
withReferences () | |
Final/Private declaration of unchanged parent methods. More... | |
setCreationMode (bool $mode=true) | |
getCreationMode () | |
prepareOutput (bool $show_sub_objects=true) | |
isVisible (int $ref_id, string $type) | |
setColumnSettings (ilColumnGUI $column_gui) | |
view () | |
view object content (repository/workspace switch) More... | |
getType () | |
Functions that must be overwritten. More... | |
create () | |
CRUD. More... | |
save () | |
edit () | |
update () | |
cancel () | |
putObjectInTree (ilObject $obj, ?int $parent_node_id=null) | |
Add object to tree at given position. More... | |
![]() | |
getRefId () | |
setAdminMode (string $mode) | |
getAdminMode () | |
getObject () | |
executeCommand () | |
withReferences () | |
determines whether objects are referenced or not (got ref ids or not) More... | |
setCreationMode (bool $mode=true) | |
If true, a creation screen is displayed the current [ref_id] does belong to the parent class The mode is determined in ilRepositoryGUI. More... | |
getCreationMode () | |
prepareOutput (bool $show_sub_objects=true) | |
getAdminTabs () | |
administration tabs show only permissions and trash folder More... | |
getHTML () | |
confirmedDeleteObject () | |
confirmed deletion of object -> objects are moved to trash or deleted immediately, if trash is disabled More... | |
cancelObject () | |
cancel action and go back to previous page More... | |
createObject () | |
create new object form More... | |
editAvailabilityPeriodObject () | |
saveAvailabilityPeriodObject () | |
cancelCreation () | |
cancel create action and go back to repository parent More... | |
saveObject () | |
getDidacticTemplateVar (string $type) | |
Get didactic template setting from creation screen. More... | |
putObjectInTree (ilObject $obj, ?int $parent_node_id=null) | |
Add object to tree at given position. More... | |
editObject () | |
addExternalEditFormCustom (ilPropertyFormGUI $form) | |
updateObject () | |
updates object entry in object_data More... | |
getFormAction (string $cmd, string $default_form_action="") | |
Get form action for command (command is method name without "Object", e.g. More... | |
isVisible (int $ref_id, string $type) | |
viewObject () | |
viewObject container presentation for "administration -> repository, trash, permissions" More... | |
deleteObject (bool $error=false) | |
Display deletion confirmation screen. More... | |
setColumnSettings (ilColumnGUI $column_gui) | |
addToDeskObject () | |
removeFromDeskObject () | |
![]() | |
callCreationCallback (\ilObject $object, \ilObjectDefinition $obj_definition, int $requested_crtcb) | |
![]() | |
addToDeskObject () | |
removeFromDeskObject () | |
Static Public Member Functions | |
static | lookupSubObjectTitle (int $a_blog_id, int $a_posting_id) |
Get title for blog posting (used in ilNotesGUI) More... | |
![]() | |
static | handleAfterSaveCallback (ilObject $obj, ?int $callback_ref_id) |
After creation callback. More... | |
![]() | |
static | _gotoRepositoryRoot (bool $raise_error=false) |
Goto repository root. More... | |
static | _gotoRepositoryNode (int $ref_id, string $cmd="") |
static | _gotoSharedWorkspaceNode (int $wsp_id) |
Protected Member Functions | |
afterSave (ilObject $new_object) | |
setSettingsSubTabs (string $a_active) | |
setTabs () | |
showExportGUI () | |
createExportFileWithComments () | |
createExportFile () | |
triggerAssignmentTool () | |
getListItems (bool $a_show_inactive=false) | |
Filter blog postings by month, keyword or author. More... | |
buildPostingList (int $a_obj_id) | |
Gather all blog postings. More... | |
buildExportLink (string $a_template, string $a_type, string $a_id) | |
Build export link. More... | |
renderNavigationByDate (array $a_items, string $a_list_cmd="render", string $a_posting_cmd="preview", ?string $a_link_template=null, bool $a_show_inactive=false, int $a_blpg=0) | |
Build navigation by date block. More... | |
renderNavigationByKeywords (string $a_list_cmd="render", bool $a_show_inactive=false, string $a_link_template="", int $a_blpg=0) | |
Build navigation by keywords block. More... | |
renderNavigationByAuthors (array $a_items, string $a_list_cmd="render", bool $a_show_inactive=false) | |
addHeaderActionForCommand (string $a_cmd) | |
initHeaderAction (?string $sub_type=null, ?int $sub_id=null, bool $is_preview=false) | |
setNotification () | |
filterInactivePostings () | |
Filter inactive items from items list. More... | |
isAdmin () | |
Check if user has admin access (approve, may edit & deactivate all postings) More... | |
addLocatorItems () | |
exportWithComments () | |
Handle export choice. More... | |
forwardExport () | |
![]() | |
afterConstructor () | |
Do anything that should be done after constructor in here. More... | |
assignObject () | |
create object instance as internal property (repository/workspace switch) More... | |
getAccessHandler () | |
setLocator () | |
set Locator More... | |
deleteConfirmedObjects () | |
Delete objects (workspace specific) This should probably be moved elsewhere as done with RepUtil. More... | |
setTitleAndDescription () | |
omitLocator (bool $omit=true) | |
getTargetFrame (string $cmd, string $target_frame="") | |
setTargetFrame (string $cmd, string $target_frame) | |
getCenterColumnHTML () | |
getRightColumnHTML () | |
checkPermission (string $perm, string $cmd="", string $type="", ?int $ref_id=null) | |
showPossibleSubObjects () | |
redirectToRefId (int $ref_id, string $cmd="") | |
addAdminLocatorItems (bool $do_not_add_object=false) | |
setTabs () | |
create tabs (repository/workspace switch) More... | |
getReturnLocation (string $cmd, string $location="") | |
Deprecated functions. More... | |
setReturnLocation (string $cmd, string $location) | |
showActions () | |
getTabs () | |
addLocatorItems () | |
Functions to be overwritten. More... | |
checkPermissionBool (string $perm, string $cmd="", string $type="", ?int $node_id=null) | |
initHeaderAction (?string $sub_type=null, ?int $sub_id=null) | |
Add header action menu. More... | |
redrawHeaderAction () | |
Updating icons after ajax call. More... | |
![]() | |
getObjectService () | |
assignObject () | |
setTitleAndDescription () | |
createActionDispatcherGUI () | |
initHeaderAction (?string $sub_type=null, ?int $sub_id=null) | |
Add header action menu. More... | |
insertHeaderAction (?ilObjectListGUI $list_gui=null) | |
Insert header action into main template. More... | |
addHeaderAction () | |
Add header action menu. More... | |
redrawHeaderActionObject () | |
Ajax call: redraw action header only. More... | |
setTabs () | |
set admin tabs More... | |
setAdminTabs () | |
set admin tabs More... | |
setLocator () | |
addLocatorItems () | |
should be overwritten to add object specific items (repository items are preloaded) More... | |
omitLocator (bool $omit=true) | |
addAdminLocatorItems (bool $do_not_add_object=false) | |
should be overwritten to add object specific items (repository items are preloaded) More... | |
getCreationFormsHTML (StandardForm|ilPropertyFormGUI|array $form) | |
getTitleForCreationFormPage () | |
getCreationFormTitle () | |
initCreateForm (string $new_type) | |
didacticTemplatesToForm () | |
initDidacticTemplate (ilPropertyFormGUI $form) | |
retrieveAdditionalDidacticTemplateOptions () | |
addAdoptContentLinkToToolbar () | |
addImportButtonToToolbar () | |
addAvailabilityPeriodButtonToToolbar (ilToolbarGUI $toolbar) | |
parseDidacticTemplateVar (string $var, string $type) | |
afterSave (ilObject $new_object) | |
Post (successful) object creation hook. More... | |
initEditForm () | |
initEditCustomForm (ilPropertyFormGUI $a_form) | |
Add custom fields to update form. More... | |
getEditFormValues () | |
getEditFormCustomValues (array &$a_values) | |
Add values to custom edit fields. More... | |
validateCustom (ilPropertyFormGUI $form) | |
Validate custom values (if not possible with checkInput()) More... | |
updateCustom (ilPropertyFormGUI $form) | |
Insert custom update form values into object. More... | |
afterUpdate () | |
Post (successful) object update hook. More... | |
routeImportCmdObject () | |
importFile (string $file_to_import, string $path_to_uploaded_file_in_temp_dir) | |
deleteUploadedImportFile (string $path_to_uploaded_file_in_temp_dir) | |
afterImport (ilObject $new_object) | |
Post (successful) object import hook. More... | |
setFormAction (string $cmd, string $form_action) | |
getReturnLocation (string $cmd, string $default_location="") | |
Get return location for command (command is method name without "Object", e.g. More... | |
setReturnLocation (string $cmd, string $location) | |
set specific return location for command More... | |
getTargetFrame (string $cmd, string $default_target_frame="") | |
get target frame for command (command is method name without "Object", e.g. More... | |
setTargetFrame (string $cmd, string $target_frame) | |
Set specific target frame for command. More... | |
showPossibleSubObjects () | |
show possible sub objects (pull down menu) More... | |
getTabs () | |
overwrite in derived GUI class of your object type More... | |
redirectToRefId (int $ref_id, string $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 ["ref_id"] value of the request More... | |
getCenterColumnHTML () | |
Get center column. More... | |
getRightColumnHTML () | |
Display right column. More... | |
checkPermission (string $perm, string $cmd="", string $type="", ?int $ref_id=null) | |
checkPermissionBool (string $perm, string $cmd="", string $type="", ?int $ref_id=null) | |
enableDragDropFileUpload () | |
Enables the file upload into this object by dropping files. More... | |
getCreatableObjectTypes () | |
buildAddNewItemElements (array $subtypes, string $create_target_class=ilRepositoryGUI::class, ?int $redirect_target_ref_id=null,) | |
buildGroup (string $create_target_class, array $obj_types_in_group, string $title, array $subtypes) | |
Additional Inherited Members | |
![]() | |
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 |
![]() | |
const | ADMIN_MODE_NONE = "" |
const | ADMIN_MODE_SETTINGS = "settings" |
const | ADMIN_MODE_REPOSITORY = "repository" |
const | UPLOAD_TYPE_LOCAL = 1 |
const | UPLOAD_TYPE_UPLOAD_DIRECTORY = 2 |
const | CFORM_NEW = 1 |
const | CFORM_IMPORT = 2 |
const | CFORM_CLONE = 3 |
const | SUPPORTED_IMPORT_MIME_TYPES = [MimeType::APPLICATION__ZIP, MimeType::APPLICATION__X_ZIP_COMPRESSED] |
ilObjBlogGUI: ilBlogPostingGUI, ilWorkspaceAccessGUI ilObjBlogGUI: ilInfoScreenGUI, ilNoteGUI, ilCommonActionDispatcherGUI ilObjBlogGUI: ilPermissionGUI, ilObjectCopyGUI, ilRepositorySearchGUI ilObjBlogGUI: ilExportGUI, ilObjectContentStyleSettingsGUI, ilBlogExerciseGUI, ilObjNotificationSettingsGUI ilObjBlogGUI: ilObjectMetaDataGUI ilObjBlogGUI: ILIAS ilObjBlogGUI: ILIAS
Definition at line 35 of file class.ilObjBlogGUI.php.
ilObjBlogGUI::__construct | ( | int | $a_id = 0 , |
int | $a_id_type = self::REPOSITORY_NODE_ID , |
||
int | $a_parent_node_id = 0 |
||
) |
Definition at line 74 of file class.ilObjBlogGUI.php.
References $blog_request, $DIC, $gui, XapiProxy\$req, $service, ILIAS\GlobalScreen\Provider\__construct(), buildPostingList(), ILIAS\Repository\ctrl(), ilObject2GUI\getAccessHandler(), ILIAS\Repository\help(), ILIAS\FileDelivery\http(), ILIAS\Repository\lng(), ILIAS\Repository\locator(), ilBlogPosting\lookupBlogId(), ILIAS\Repository\object(), ILIAS\Repository\profile(), ILIAS\Repository\settings(), ILIAS\Repository\tabs(), ILIAS\Repository\toolbar(), ILIAS\Repository\ui(), and ILIAS\Repository\user().
ilObjBlogGUI::addContributor | ( | array | $a_user_ids = array() , |
?string | $a_user_type = null |
||
) |
Centralized method to add contributors.
Definition at line 2190 of file class.ilObjBlogGUI.php.
References ilObject2GUI\$ctrl, ilObject2GUI\$lng, ilObject2GUI\$rbac_review, $rbacadmin, $user_id, ilRbacAdmin\assignUser(), ilObject2GUI\checkPermissionBool(), contributors(), ILIAS\Repository\int(), ILIAS\Repository\object(), and ilLanguage\txt().
Referenced by addUserFromAutoComplete().
|
protected |
Definition at line 1893 of file class.ilObjBlogGUI.php.
References ilObject2GUI\$ctrl, ilObject2GUI\$user, ilObjectGUI\addHeaderAction(), ANONYMOUS_USER_ID, initHeaderAction(), ilObjectGUI\insertHeaderAction(), null, and ilCtrl\setParameter().
Referenced by executeCommand().
|
protected |
Definition at line 2082 of file class.ilObjBlogGUI.php.
References ilObject2GUI\$locator, ilObject2GUI\$node_id, ILIAS\Repository\ctrl(), and ILIAS\Repository\object().
ilObjBlogGUI::addUserFromAutoComplete | ( | ) |
Autocomplete submit.
Definition at line 2157 of file class.ilObjBlogGUI.php.
References ilObject2GUI\$lng, ilObject2GUI\$user, $user_id, ilObjUser\_lookupId(), addContributor(), contributors(), ILIAS\Repository\int(), and ilLanguage\txt().
|
protected |
Definition at line 190 of file class.ilObjBlogGUI.php.
References ilObject2GUI\$ctrl, ILIAS\Repository\lng(), and ilCtrl\redirect().
ilObjBlogGUI::approve | ( | ) |
Definition at line 2091 of file class.ilObjBlogGUI.php.
References $post, ILIAS\Repository\ctrl(), isAdmin(), and ILIAS\Repository\lng().
ilObjBlogGUI::buildExportFile | ( | bool | $a_include_comments = false , |
bool | $print_version = false |
||
) |
Build export file.
Definition at line 1856 of file class.ilObjBlogGUI.php.
References ilObject2GUI\$type, ilExport\_createExportDirectory(), ilExport\_getExportDirectory(), and ILIAS\Repository\object().
Referenced by createExportFile(), createExportFileWithComments(), and export().
|
protected |
Build export link.
Definition at line 1330 of file class.ilObjBlogGUI.php.
References getKeywords().
Referenced by renderList(), renderNavigationByDate(), and renderNavigationByKeywords().
|
protected |
Gather all blog postings.
Definition at line 1019 of file class.ilObjBlogGUI.php.
References $items, $month, ilBlogPosting\getAllPostings(), IL_CAL_DATE, and null.
Referenced by __construct().
ilObjBlogGUI::confirmRemoveContributor | ( | ) |
Used in ilContributorTableGUI.
Definition at line 2233 of file class.ilObjBlogGUI.php.
References $user_id, ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
ilObjBlogGUI::contributors | ( | ) |
Definition at line 2110 of file class.ilObjBlogGUI.php.
References ilObject2GUI\$ctrl, ilObject2GUI\$lng, ilObject2GUI\$node_id, $tabs, ilObject2GUI\$toolbar, ilObject2GUI\$tpl, ilObject2GUI\checkPermissionBool(), ilRepositorySearchGUI\fillAutoCompleteToolbar(), ILIAS\Repository\object(), ILIAS\UICore\GlobalTemplate\setContent(), and ilLanguage\txt().
Referenced by addContributor(), addUserFromAutoComplete(), and removeContributor().
|
protected |
Definition at line 623 of file class.ilObjBlogGUI.php.
References buildExportFile(), ilExportGUI\CMD_LIST_EXPORT_FILES, ILIAS\Repository\ctrl(), ilObject2GUI\prepareOutput(), and ILIAS\Repository\tabs().
|
protected |
Definition at line 615 of file class.ilObjBlogGUI.php.
References buildExportFile(), ilExportGUI\CMD_LIST_EXPORT_FILES, ILIAS\Repository\ctrl(), ilObject2GUI\prepareOutput(), and ILIAS\Repository\tabs().
ilObjBlogGUI::createPosting | ( | ) |
Create new posting.
Definition at line 696 of file class.ilObjBlogGUI.php.
References ilObject2GUI\$ctrl, ilObject2GUI\$user, ilObject\getTitle(), ILIAS\Repository\lng(), and ILIAS\Repository\object().
ilObjBlogGUI::deactivateAdmin | ( | ) |
Definition at line 2290 of file class.ilObjBlogGUI.php.
References $post, ilObject2GUI\checkPermissionBool(), ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
ilObjBlogGUI::disableNotes | ( | bool | $a_value = false | ) |
Definition at line 1888 of file class.ilObjBlogGUI.php.
ilObjBlogGUI::edit | ( | ) |
Definition at line 244 of file class.ilObjBlogGUI.php.
References ILIAS\Repository\ctrl().
ilObjBlogGUI::executeCommand | ( | ) |
Definition at line 322 of file class.ilObjBlogGUI.php.
References ilObject2GUI\$ctrl, $disable_notes, ilObject2GUI\$lng, $nav_history, $tabs, ilObject2GUI\$tpl, ilObjectGUI\addHeaderAction(), addHeaderActionForCommand(), ilObject2GUI\checkPermission(), ilObject2GUI\checkPermissionBool(), ILIAS\Repository\ctrl(), filterInactivePostings(), ilObject2GUI\getAccessHandler(), ilObject2GUI\getCreationMode(), ilCommonActionDispatcherGUI\getInstanceFromAjaxCall(), infoScreenForward(), ILIAS\Repository\lng(), ILIAS\UICore\GlobalTemplate\loadStandardTemplate(), null, ILIAS\Repository\object(), ilObject2GUI\prepareOutput(), preview(), renderFullScreen(), renderNavigation(), renderToolbarNavigation(), ILIAS\UICore\GlobalTemplate\setContent(), setContentStyleSheet(), ilObject2GUI\setLocator(), ILIAS\UICore\GlobalTemplate\setRightContent(), setSettingsSubTabs(), showExportGUI(), ILIAS\Repository\tabs(), triggerAssignmentTool(), and ilLanguage\txt().
ilObjBlogGUI::export | ( | bool | $a_with_comments = false | ) |
Build and deliver export file.
Definition at line 876 of file class.ilObjBlogGUI.php.
References buildExportFile(), ilFileDelivery\deliverFileLegacy(), and ILIAS\Repository\object().
Referenced by exportWithComments().
|
protected |
Handle export choice.
Definition at line 2331 of file class.ilObjBlogGUI.php.
References ilObjectGUI\$object, $provider, ILIAS\Repository\ctrl(), export(), ILIAS\FileDelivery\http(), ILIAS\Repository\lng(), and ILIAS\Repository\ui().
|
protected |
Filter inactive items from items list.
Definition at line 2034 of file class.ilObjBlogGUI.php.
References ilObjectGUI\$id, and ilPageObject\_lookupActive().
Referenced by executeCommand(), and preview().
ilObjBlogGUI::filterItemsByKeyword | ( | array | $a_items, |
string | $a_keyword | ||
) |
Definition at line 2055 of file class.ilObjBlogGUI.php.
References $res, and ilBlogPosting\getKeywords().
Referenced by getListItems().
|
protected |
Definition at line 2376 of file class.ilObjBlogGUI.php.
References ILIAS\Repository\ctrl().
ilObjBlogGUI::getItems | ( | ) |
ilObjBlogGUI::getKeywords | ( | bool | $a_show_inactive, |
?int | $a_posting_id = null |
||
) |
Get keywords for single posting or complete blog.
Definition at line 1810 of file class.ilObjBlogGUI.php.
References $keyword, ilPageObject\_lookupActive(), ilBlogPosting\getKeywords(), and ilArrayUtil\sortArray().
Referenced by buildExportLink(), and renderNavigationByKeywords().
|
protected |
Filter blog postings by month, keyword or author.
Definition at line 807 of file class.ilObjBlogGUI.php.
References ilObjectGUI\$id, $month, ilPageObject\_lookupActive(), and filterItemsByKeyword().
Referenced by preview(), and render().
ilObjBlogGUI::getNotesSubId | ( | ) |
ilObjBlogGUI::getType | ( | ) |
Definition at line 180 of file class.ilObjBlogGUI.php.
ilObjBlogGUI::infoScreen | ( | ) |
this one is called from the info button in the repository
Definition at line 652 of file class.ilObjBlogGUI.php.
References ILIAS\Repository\ctrl().
ilObjBlogGUI::infoScreenForward | ( | ) |
Definition at line 657 of file class.ilObjBlogGUI.php.
References $tabs, ilTabsGUI\activateTab(), ilObject2GUI\checkPermission(), ilObject2GUI\checkPermissionBool(), ILIAS\Repository\ctrl(), and ILIAS\Repository\object().
Referenced by executeCommand().
|
protected |
Definition at line 1915 of file class.ilObjBlogGUI.php.
References $blpg, ilObject2GUI\$ctrl, $disable_notes, ilObjectGUI\$obj_id, ilObject2GUI\$user, ilUtil\getImagePath(), ilNotification\hasNotification(), ilNotification\hasOptOut(), ILIAS\Repository\lng(), null, ILIAS\Repository\object(), and ilNotification\TYPE_BLOG.
Referenced by addHeaderActionForCommand().
|
protected |
Check if user has admin access (approve, may edit & deactivate all postings)
Definition at line 2076 of file class.ilObjBlogGUI.php.
References ilObject2GUI\checkPermissionBool().
Referenced by approve(), and renderList().
|
static |
Get title for blog posting (used in ilNotesGUI)
Definition at line 2019 of file class.ilObjBlogGUI.php.
References $post.
ilObjBlogGUI::preview | ( | ) |
Render fullscreen presentation.
Definition at line 849 of file class.ilObjBlogGUI.php.
References ilObject2GUI\$lng, ilObject2GUI\$toolbar, ilObject2GUI\checkPermissionBool(), filterInactivePostings(), getListItems(), renderFullScreen(), renderList(), renderNavigation(), renderToolbarNavigation(), and ilLanguage\txt().
Referenced by executeCommand().
ilObjBlogGUI::printPostings | ( | ) |
Definition at line 2370 of file class.ilObjBlogGUI.php.
ilObjBlogGUI::printViewSelection | ( | ) |
Definition at line 2364 of file class.ilObjBlogGUI.php.
ilObjBlogGUI::removeContributor | ( | ) |
Definition at line 2259 of file class.ilObjBlogGUI.php.
References ilObject2GUI\$ctrl, ilObject2GUI\$lng, $rbacadmin, $user_id, contributors(), ILIAS\Repository\ctrl(), ilRbacAdmin\deassignUser(), ILIAS\Repository\object(), and ilLanguage\txt().
ilObjBlogGUI::render | ( | ) |
Render object context.
Definition at line 725 of file class.ilObjBlogGUI.php.
References ilObject2GUI\$ctrl, ilObject2GUI\$lng, $tabs, ilObject2GUI\$tpl, $url, ILIAS\UICore\GlobalTemplate\addOnLoadCode(), ilObject2GUI\checkPermissionBool(), ILIAS\Repository\ctrl(), getListItems(), renderList(), renderNavigation(), ILIAS\UICore\GlobalTemplate\setContent(), setContentStyleSheet(), ILIAS\UICore\GlobalTemplate\setRightContent(), and ilLanguage\txt().
ilObjBlogGUI::renderFullScreen | ( | string | $a_content, |
string | $a_navigation | ||
) |
Build fullscreen context.
Definition at line 889 of file class.ilObjBlogGUI.php.
References ilObject2GUI\$locator, ilObject2GUI\$node_id, ilObject2GUI\$parent_id, $tabs, ilObject2GUI\$tpl, ilObjectGUI\$tree, ilObject2GUI\$user, ilLink\_getStaticLink(), ANONYMOUS_USER_ID, ILIAS\Repository\ctrl(), ilTree\getParentId(), ILIAS\Repository\lng(), renderFullscreenHeader(), ILIAS\UICore\GlobalTemplate\setContent(), setContentStyleSheet(), ILIAS\UICore\GlobalTemplate\setLocator(), and ILIAS\UICore\GlobalTemplate\setRightContent().
Referenced by executeCommand(), and preview().
ilObjBlogGUI::renderFullscreenHeader | ( | ilGlobalTemplateInterface | $a_tpl, |
int | $a_user_id, | ||
bool | $a_export = false |
||
) |
Definition at line 960 of file class.ilObjBlogGUI.php.
References ilObject2GUI\$node_id, $post, ilObject2GUI\$user, ilObjUser\_getPersonalPicturePath(), ilObjUser\_lookupName(), ilChangeEvent\_recordReadEvent(), ILIAS\Repository\object(), ILIAS\UICore\GlobalTemplate\resetHeaderBlock(), ILIAS\UICore\GlobalTemplate\setDescription(), ILIAS\UICore\GlobalTemplate\setTitle(), and ILIAS\UICore\GlobalTemplate\setTitleIcon().
Referenced by renderFullScreen().
ilObjBlogGUI::renderList | ( | array | $items, |
string | $a_cmd = "preview" , |
||
string | $a_link_template = "" , |
||
bool | $a_show_inactive = false , |
||
string | $a_export_directory = "" |
||
) |
Build posting month list.
Definition at line 1046 of file class.ilObjBlogGUI.php.
References ilObject2GUI\$ctrl, $disable_notes, $keyword, ilObject2GUI\$lng, $month, ilObjectGUI\$ref_id, ilObjectGUI\$ui_factory, ilObjectGUI\$ui_renderer, ilObject2GUI\$user, ilPageObject\_lookupActive(), buildExportLink(), ilDatePresentation\formatDate(), ilBlogPosting\getKeywords(), ilBlogPostingGUI\getSnippet(), IL_CAL_DATE, isAdmin(), ILIAS\Repository\lng(), null, ILIAS\Repository\object(), ilLanguage\txt(), and ILIAS\Repository\ui().
Referenced by preview(), and render().
ilObjBlogGUI::renderNavigation | ( | string | $a_list_cmd = "render" , |
string | $a_posting_cmd = "preview" , |
||
?string | $a_link_template = null , |
||
bool | $a_show_inactive = false , |
||
int | $a_blpg = 0 |
||
) |
Build navigation blocks.
Definition at line 1694 of file class.ilObjBlogGUI.php.
References $DIC, $ilSetting, $items, ilObject2GUI\$node_id, ilObjectGUI\$settings, ilObjectGUI\$ui_factory, ilObjectGUI\$ui_renderer, $url, CLIENT_ID, ilRSSButtonGUI\get(), ilRSSButtonGUI\ICON_RSS, ILIAS\Repository\lng(), null, renderNavigationByAuthors(), renderNavigationByDate(), and renderNavigationByKeywords().
Referenced by executeCommand(), preview(), and render().
|
protected |
Definition at line 1594 of file class.ilObjBlogGUI.php.
References ilObject2GUI\$ctrl, ilObjectGUI\$id, $url, $user_id, ilPageObject\_lookupActive(), ilObjUser\_lookupName(), ilObject\_lookupType(), and ilUserUtil\getNamePresentation().
Referenced by renderNavigation().
|
protected |
Build navigation by date block.
Definition at line 1342 of file class.ilObjBlogGUI.php.
References ilObject2GUI\$ctrl, ilObjectGUI\$id, $month, $url, ilPageObject\_lookupActive(), ilCalendarUtil\_numericMonthToString(), buildExportLink(), ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), ilObjBlog\NAV_MODE_LIST, null, and ILIAS\Repository\ui().
Referenced by renderNavigation().
|
protected |
Build navigation by keywords block.
Definition at line 1555 of file class.ilObjBlogGUI.php.
References ilObject2GUI\$ctrl, $url, buildExportLink(), getKeywords(), and ilTagging\getRelevanceClass().
Referenced by renderNavigation().
ilObjBlogGUI::renderToolbarNavigation | ( | array | $a_items, |
bool | $single_posting = false |
||
) |
Toolbar navigation.
Definition at line 1676 of file class.ilObjBlogGUI.php.
Referenced by executeCommand(), and preview().
ilObjBlogGUI::setContentStyleSheet | ( | ?ilGlobalTemplateInterface | $a_tpl = null | ) |
Definition at line 2310 of file class.ilObjBlogGUI.php.
References ilObject2GUI\$tpl, ILIAS\UICore\GlobalTemplate\addCss(), and ILIAS\Repository\object().
Referenced by executeCommand(), render(), and renderFullScreen().
|
protected |
Definition at line 1998 of file class.ilObjBlogGUI.php.
References ilObject2GUI\$ctrl, ilObjectGUI\$obj_id, ilObject2GUI\$user, ilNotification\setNotification(), and ilNotification\TYPE_BLOG.
|
protected |
Definition at line 198 of file class.ilObjBlogGUI.php.
References ilObject2GUI\$access, ilObjectGUI\$tree, ilRBACAccessHandler\checkAccess(), ilTree\checkForParentType(), ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), and ILIAS\Repository\object().
Referenced by executeCommand().
|
protected |
Definition at line 249 of file class.ilObjBlogGUI.php.
References $help, ilObject2GUI\$lng, ilObject2GUI\checkPermissionBool(), ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), null, and ilLanguage\txt().
|
protected |
Definition at line 607 of file class.ilObjBlogGUI.php.
References ILIAS\Repository\ctrl(), ilObject2GUI\prepareOutput(), and ILIAS\Repository\tabs().
Referenced by executeCommand().
|
protected |
Definition at line 631 of file class.ilObjBlogGUI.php.
References ilExerciseGSToolProvider\EXC_ASS_BUTTONS, ilExerciseGSToolProvider\EXC_ASS_IDS, and ilExerciseGSToolProvider\SHOW_EXC_ASSIGNMENT_INFO.
Referenced by executeCommand().
|
protected |
Definition at line 65 of file class.ilObjBlogGUI.php.
|
protected |
Definition at line 57 of file class.ilObjBlogGUI.php.
|
protected |
Definition at line 40 of file class.ilObjBlogGUI.php.
|
protected |
Definition at line 48 of file class.ilObjBlogGUI.php.
Referenced by __construct().
Definition at line 37 of file class.ilObjBlogGUI.php.
|
protected |
Definition at line 59 of file class.ilObjBlogGUI.php.
Referenced by getNotesSubId(), and initHeaderAction().
Definition at line 72 of file class.ilObjBlogGUI.php.
|
protected |
Definition at line 71 of file class.ilObjBlogGUI.php.
|
protected |
Definition at line 67 of file class.ilObjBlogGUI.php.
Referenced by executeCommand(), initHeaderAction(), and renderList().
|
protected |
Definition at line 41 of file class.ilObjBlogGUI.php.
|
protected |
Definition at line 42 of file class.ilObjBlogGUI.php.
Referenced by __construct().
|
protected |
Definition at line 49 of file class.ilObjBlogGUI.php.
Referenced by setTabs().
|
protected |
Definition at line 69 of file class.ilObjBlogGUI.php.
|
protected |
Definition at line 55 of file class.ilObjBlogGUI.php.
Referenced by buildPostingList(), getItems(), and renderNavigation().
|
protected |
Definition at line 56 of file class.ilObjBlogGUI.php.
Referenced by getKeywords(), and renderList().
|
protected |
Definition at line 54 of file class.ilObjBlogGUI.php.
Referenced by buildPostingList(), getListItems(), renderList(), and renderNavigationByDate().
|
protected |
Definition at line 58 of file class.ilObjBlogGUI.php.
|
protected |
Definition at line 51 of file class.ilObjBlogGUI.php.
Referenced by executeCommand().
|
protected |
Definition at line 66 of file class.ilObjBlogGUI.php.
|
protected |
Definition at line 44 of file class.ilObjBlogGUI.php.
|
protected |
Definition at line 64 of file class.ilObjBlogGUI.php.
|
protected |
Definition at line 60 of file class.ilObjBlogGUI.php.
|
protected |
Definition at line 61 of file class.ilObjBlogGUI.php.
|
protected |
Definition at line 39 of file class.ilObjBlogGUI.php.
|
protected |
Definition at line 38 of file class.ilObjBlogGUI.php.
|
protected |
Definition at line 63 of file class.ilObjBlogGUI.php.
|
protected |
Definition at line 52 of file class.ilObjBlogGUI.php.
Referenced by addContributor(), and removeContributor().
|
protected |
Definition at line 45 of file class.ilObjBlogGUI.php.
|
protected |
Definition at line 46 of file class.ilObjBlogGUI.php.
|
protected |
Definition at line 43 of file class.ilObjBlogGUI.php.
|
protected |
Definition at line 50 of file class.ilObjBlogGUI.php.
Referenced by contributors(), executeCommand(), infoScreenForward(), render(), and renderFullScreen().
|
protected |
Definition at line 68 of file class.ilObjBlogGUI.php.
|
protected |
Definition at line 70 of file class.ilObjBlogGUI.php.
|
protected |
Definition at line 62 of file class.ilObjBlogGUI.php.