ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
|
Class ilObjBlogGUI. More...
Public Member Functions | |
__construct ($a_id=0, $a_id_type=self::REPOSITORY_NODE_ID, $a_parent_node_id=0) | |
getType () | |
getItems () | |
Get items. More... | |
setTabs () | |
executeCommand () | |
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 More... | |
infoScreenForward () | |
show information screen More... | |
createPosting () | |
Create new posting. More... | |
render () | |
Render object context. More... | |
getHTML () | |
Return embeddable HTML chunk. More... | |
preview () | |
Render fullscreen presentation. More... | |
export () | |
Build and deliver export file. More... | |
renderFullScreen ($a_content, $a_navigation) | |
Build fullscreen context. More... | |
renderFullscreenHeader ($a_tpl, $a_user_id, $a_export=false) | |
Render banner, user name. More... | |
renderList (array $items, $a_cmd="preview", $a_link_template=null, $a_show_inactive=false, $a_export_directory=null) | |
Build posting month list. More... | |
renderToolbarNavigation ($a_items, $single_posting=false) | |
Toolbar navigation. More... | |
getNextMonth ($a_items) | |
Get next month. More... | |
getPreviousMonth ($a_items) | |
Get next month. More... | |
getLatestMonth ($a_items) | |
Get next month. More... | |
getNextPosting ($a_items) | |
Get next posting. More... | |
getPreviousPosting ($a_items) | |
Get previous posting. More... | |
getLatestPosting ($a_items) | |
Get previous posting. More... | |
renderNavigation ($a_list_cmd="render", $a_posting_cmd="preview", $a_link_template=null, $a_show_inactive=false, $a_blpg=0) | |
Build navigation blocks. More... | |
getKeywords ($a_show_inactive, $a_posting_id=null) | |
Get keywords for single posting or complete blog. More... | |
buildExportFile () | |
Build export file. More... | |
getNotesSubId () | |
disableNotes ($a_value=false) | |
filterItemsByKeyWord (array $a_items, $a_keyword) | |
addLocatorItems () | |
approve () | |
contributors () | |
addUserFromAutoComplete () | |
Autocomplete submit. More... | |
addContributor ($a_user_ids=array(), $a_user_type=null) | |
Centralized method to add contributors. More... | |
confirmRemoveContributor () | |
Used in ilContributorTableGUI. More... | |
removeContributor () | |
Used in ilContributorTableGUI. More... | |
deactivateAdmin () | |
setContentStyleSheet ($a_tpl=null) | |
editStyleProperties () | |
initStylePropertiesForm () | |
createStyle () | |
editStyle () | |
deleteStyle () | |
saveStyleSettings () | |
![]() | |
__construct ($a_id=0, $a_id_type=self::REPOSITORY_NODE_ID, $a_parent_node_id=0) | |
Constructor. More... | |
executeCommand () | |
execute command More... | |
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 ($a_mode=true) | |
getCreationMode () | |
prepareOutput ($a_show_subobjects=true) | |
isVisible ($a_ref_id, $a_type) | |
trash () | |
undelete () | |
cancelDelete () | |
removeFromSystem () | |
cloneAll () | |
view () | |
view object content (repository/workspace switch) More... | |
getType () | |
Functions that must be overwritten. More... | |
create () | |
Deleted in ilObject. More... | |
save () | |
edit () | |
update () | |
cancel () | |
importFile () | |
Import. More... | |
putObjectInTree (ilObject $a_obj, $a_parent_node_id=null) | |
Add object to tree at given position. More... | |
![]() | |
executeCommand () | |
execute command More... | |
withReferences () | |
determines wether objects are referenced or not (got ref ids or not) More... | |
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 More... | |
getCreationMode () | |
get creation mode More... | |
prepareOutput ($a_show_subobjects=true) | |
prepare output More... | |
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... | |
cancelDeleteObject () | |
cancel deletion of object More... | |
cancelObject () | |
cancel action and go back to previous page public More... | |
createObject () | |
create new object form More... | |
cancelCreation () | |
cancel create action and go back to repository parent More... | |
saveObject () | |
save object More... | |
getDidacticTemplateVar ($a_type) | |
Get didactic template setting from creation screen. More... | |
putObjectInTree (ilObject $a_obj, $a_parent_node_id=null) | |
Add object to tree at given position. More... | |
editObject () | |
edit object More... | |
addExternalEditFormCustom (ilPropertyFormGUI $a_form) | |
updateObject () | |
updates object entry in object_data More... | |
getFormAction ($a_cmd, $a_formaction="") | |
get form action for command (command is method name without "Object", e.g. More... | |
isVisible ($a_ref_id, $a_type) | |
viewObject () | |
viewObject container presentation for "administration -> repository, trash, permissions" More... | |
deleteObject ($a_error=false) | |
Display deletion confirmation screen. More... | |
cloneAllObject () | |
Clone single (not container object) Method is overwritten in ilContainerGUI. More... | |
redirectAfterCreation () | |
Redirect after creation, see https://docu.ilias.de/goto_docu_wiki_wpage_5035_1357.html. More... | |
addToDeskObject () | |
removeFromDeskObject () | |
![]() | |
addToDeskObject () | |
Add desktop item public. More... | |
removeFromDeskObject () | |
Remove from desktop public. More... | |
Static Public Member Functions | |
static | lookupSubObjectTitle ($a_blog_id, $a_posting_id) |
Get title for blog posting (used in ilNotesGUI) More... | |
static | _goto ($a_target) |
Deep link. More... | |
![]() | |
static | handleAfterSaveCallback (ilObject $a_obj, $a_callback_ref_id) |
After creation callback. More... | |
![]() | |
static | _gotoRepositoryRoot ($a_raise_error=false) |
Goto repository root. More... | |
static | _gotoRepositoryNode ($a_ref_id, $a_cmd="frameset") |
Goto repository root. More... | |
Data Fields | |
$prtf_embed = false | |
![]() | |
$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 |
![]() | |
const | COPY_WIZARD_NEEDS_PAGE = 1 |
$objDefinition | |
$tpl | |
$tree | |
$lng | |
$data | |
$object | |
$ref_id | |
$obj_id | |
$maxcount | |
$formaction | |
$return_location | |
$target_frame | |
$tab_target_script | |
$actions | |
$sub_objects | |
$omit_locator = false | |
const | CFORM_NEW = 1 |
const | CFORM_IMPORT = 2 |
const | CFORM_CLONE = 3 |
Protected Member Functions | |
initCreationForms ($a_new_type) | |
afterSave (ilObject $a_new_object) | |
setSettingsSubTabs ($a_active) | |
initEditCustomForm (ilPropertyFormGUI $a_form) | |
getEditFormCustomValues (array &$a_values) | |
updateCustom (ilPropertyFormGUI $a_form) | |
triggerAssignmentTool () | |
Trigger assignment tool. More... | |
getListItems ($a_show_inactive=false) | |
Filter blog postings by month, keyword or author. More... | |
buildEmbedded ($a_content, $a_nav) | |
Combine content (list/posting) and navigation to html chunk. More... | |
buildPostingList ($a_obj_id) | |
Gather all blog postings. More... | |
buildExportLink ($a_template, $a_type, $a_id) | |
Build export link. More... | |
renderNavigationByDate (array $a_items, $a_list_cmd="render", $a_posting_cmd="preview", $a_link_template=null, $a_show_inactive=false, $a_blpg=0) | |
Build navigation by date block. More... | |
renderNavigationByKeywords ( $a_list_cmd="render", $a_show_inactive=false, $a_link_template=false, $a_blpg=0) | |
Build navigation by keywords block. More... | |
renderNavigationByAuthors (array $a_items, $a_list_cmd="render", $a_show_inactive=false) | |
addHeaderActionForCommand ($a_cmd) | |
initHeaderAction ($sub_type=null, $sub_id=null, $a_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... | |
mayEditPosting ($a_posting_id, $a_author_id=null) | |
Check if user may edit posting. More... | |
mayContribute () | |
Check if user may contribute at all. More... | |
![]() | |
afterConstructor () | |
Do anything that should be done after constructor in here. More... | |
assignObject () | |
create object instance as internal property (repository/workspace switch) More... | |
getAccessHandler () | |
Get access handler. More... | |
setLocator () | |
set Locator More... | |
deleteConfirmedObjects () | |
Delete objects (workspace specific) More... | |
setTitleAndDescription () | |
showUpperIcon () | |
omitLocator ($a_omit=true) | |
getTargetFrame ($a_cmd, $a_target_frame="") | |
setTargetFrame ($a_cmd, $a_target_frame) | |
getCenterColumnHTML () | |
getRightColumnHTML () | |
setColumnSettings (ilColumnGUI $column_gui) | |
checkPermission ($a_perm, $a_cmd="", $a_type="", $a_ref_id=null) | |
showPossibleSubObjects () | |
redirectToRefId ($a_ref_id, $a_cmd="") | |
fillCloneTemplate ($a_tpl_varname, $a_type) | |
fillCloneSearchTemplate ($a_tpl_varname, $a_type) | |
searchCloneSource () | |
buildCloneSelect ($existing_objs) | |
addAdminLocatorItems ($a_do_not_add_object=false) | |
setTabs () | |
create tabs (repository/workspace switch) More... | |
getReturnLocation ($a_cmd, $a_location="") | |
Deprecated functions. More... | |
setReturnLocation ($a_cmd, $a_location) | |
showActions () | |
getTabs () | |
__showButton ($a_cmd, $a_text, $a_target='') | |
hitsperpageObject () | |
& | __initTableGUI () |
__setTableGUIBasicData (&$tbl, &$result_set, $a_from="") | |
addLocatorItems () | |
Functions to be overwritten. More... | |
initCreationForms ($a_new_type) | |
Init creation froms. More... | |
checkPermissionBool ($a_perm, $a_cmd="", $a_type="", $a_node_id=null) | |
Check permission. More... | |
initHeaderAction ($a_sub_type=null, $a_sub_id=null) | |
Add header action menu. More... | |
redrawHeaderAction () | |
Updating icons after ajax call. More... | |
getPermanentLinkWidget ($a_append=null, $a_center=false) | |
handleAutoRating (ilObject $a_new_obj) | |
![]() | |
getObjectService () | |
Get object service. More... | |
assignObject () | |
setTitleAndDescription () | |
called by prepare output More... | |
initHeaderAction ($a_sub_type=null, $a_sub_id=null) | |
Add header action menu. More... | |
insertHeaderAction ($a_list_gui) | |
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 public More... | |
setAdminTabs () | |
set admin tabs public More... | |
setLocator () | |
set Locator More... | |
addLocatorItems () | |
should be overwritten to add object specific items (repository items are preloaded) More... | |
omitLocator ($a_omit=true) | |
addAdminLocatorItems ($a_do_not_add_object=false) | |
should be overwritten to add object specific items (repository items are preloaded) More... | |
initCreationForms ($a_new_type) | |
Init creation froms. More... | |
getCreationFormsHTML (array $a_forms) | |
Get HTML for creation forms (accordion) More... | |
initCreateForm ($a_new_type) | |
Init object creation form. More... | |
initDidacticTemplate (ilPropertyFormGUI $form) | |
Show didactic template types. More... | |
addDidacticTemplateOptions (array &$a_options) | |
Add custom templates. More... | |
afterSave (ilObject $a_new_object) | |
Post (successful) object creation hook. More... | |
initEditForm () | |
Init object edit form. More... | |
initEditCustomForm (ilPropertyFormGUI $a_form) | |
Add custom fields to update form. More... | |
getEditFormValues () | |
Get values for edit form. More... | |
getEditFormCustomValues (array &$a_values) | |
Add values to custom edit fields. More... | |
validateCustom (ilPropertyFormGUI $a_form) | |
Validate custom values (if not possible with checkInput()) More... | |
updateCustom (ilPropertyFormGUI $a_form) | |
Insert custom update form values into object. More... | |
afterUpdate () | |
Post (successful) object update hook. More... | |
initImportForm ($a_new_type) | |
Init object import form. More... | |
importFileObject ($parent_id=null, $a_catch_errors=true) | |
Import. More... | |
afterImport (ilObject $a_new_object) | |
Post (successful) object import hook. More... | |
setFormAction ($a_cmd, $a_formaction) | |
set specific form action for command More... | |
getReturnLocation ($a_cmd, $a_location="") | |
get return location for command (command is method name without "Object", e.g. More... | |
setReturnLocation ($a_cmd, $a_location) | |
set specific return location for command More... | |
getTargetFrame ($a_cmd, $a_target_frame="") | |
get target frame for command (command is method name without "Object", e.g. More... | |
setTargetFrame ($a_cmd, $a_target_frame) | |
set specific target frame for command More... | |
showPossibleSubObjects () | |
show possible subobjects (pulldown menu) More... | |
getTemplateFile ($a_cmd, $a_type="") | |
get a template blockfile format: tpl. More... | |
getTabs () | |
get tabs abstract method. More... | |
__showButton ($a_cmd, $a_text, $a_target='') | |
hitsperpageObject () | |
& | __initTableGUI () |
__setTableGUIBasicData (&$tbl, &$result_set, $a_from="") | |
standard implementation for tables use 'from' variable use different initial setting of table More... | |
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 More... | |
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. More... | |
getCenterColumnHTML () | |
Get center column. More... | |
getRightColumnHTML () | |
Display right column. More... | |
setColumnSettings (ilColumnGUI $column_gui) | |
May be overwritten in subclasses. More... | |
checkPermission ($a_perm, $a_cmd="", $a_type="", $a_ref_id=null) | |
Check permission and redirect on error. More... | |
checkPermissionBool ($a_perm, $a_cmd="", $a_type="", $a_ref_id=null) | |
Check permission. More... | |
enableDragDropFileUpload () | |
Enables the file upload into this object by dropping files. More... | |
handleAutoRating (ilObject $a_new_obj) | |
Activate rating automatically if parent container setting. More... | |
Protected Attributes | |
$help | |
$tabs | |
$nav_history | |
$main_menu | |
$rbacadmin | |
$month | |
$items | |
$keyword | |
$author | |
$month_default | |
$gtp | |
$edt | |
$blpg | |
$old_nr | |
$ppage | |
$user_page | |
$prvm | |
$ntf | |
$apid | |
$new_type | |
$prt_id | |
$tool_context | |
![]() | |
$object_id | |
$node_id | |
$creation_forms = array() | |
$id_type = array() | |
$parent_id | |
$access_handler | |
![]() | |
$ilErr | |
$locator | |
$user | |
$access | |
$rbacsystem | |
$settings | |
$rbacreview | |
$toolbar | |
$tmp_import_dir | |
$tabs_gui = null | |
$ctrl | |
$object_service | |
$favourites | |
Class ilObjBlogGUI.
ilObjBlogGUI: ilBlogPostingGUI, ilWorkspaceAccessGUI, ilPortfolioPageGUI ilObjBlogGUI: ilInfoScreenGUI, ilNoteGUI, ilCommonActionDispatcherGUI ilObjBlogGUI: ilPermissionGUI, ilObjectCopyGUI, ilRepositorySearchGUI ilObjBlogGUI: ilExportGUI, ilObjStyleSheetGUI, ilBlogExerciseGUI, ilObjNotificationSettingsGUI
Definition at line 15 of file class.ilObjBlogGUI.php.
ilObjBlogGUI::__construct | ( | $a_id = 0 , |
|
$a_id_type = self::REPOSITORY_NODE_ID , |
|||
$a_parent_node_id = 0 |
|||
) |
Definition at line 121 of file class.ilObjBlogGUI.php.
References $_GET, $DIC, $ilCtrl, ilObjectGUI\$lng, ILIAS\GlobalScreen\Provider\__construct(), buildPostingList(), help(), ilBlogPosting\lookupBlogId(), settings(), ilUtil\stripSlashes(), and user().
|
static |
Deep link.
string | $a_target |
Definition at line 2989 of file class.ilObjBlogGUI.php.
References ilObjectGUI\$access, $DIC, and $ilCtrl.
ilObjBlogGUI::addContributor | ( | $a_user_ids = array() , |
|
$a_user_type = null |
|||
) |
Centralized method to add contributors.
array | $a_user_ids |
Definition at line 2751 of file class.ilObjBlogGUI.php.
References ilObjectGUI\$ctrl, $ilCtrl, ilObjectGUI\$lng, $rbacadmin, ilObjectGUI\$rbacreview, ilObject2GUI\checkPermissionBool(), contributors(), and ilUtil\sendFailure().
Referenced by addUserFromAutoComplete().
|
protected |
Definition at line 2409 of file class.ilObjBlogGUI.php.
References ilObjectGUI\$ctrl, $ilCtrl, $ilUser, ilObjectGUI\$user, initHeaderAction(), and ilObjectGUI\insertHeaderAction().
Referenced by executeCommand().
ilObjBlogGUI::addLocatorItems | ( | ) |
Definition at line 2647 of file class.ilObjBlogGUI.php.
References ilObjectGUI\$locator, and ilObject2GUI\$node_id.
ilObjBlogGUI::addUserFromAutoComplete | ( | ) |
Autocomplete submit.
Definition at line 2718 of file class.ilObjBlogGUI.php.
References $_POST, ilObjectGUI\$lng, ilObjectGUI\$user, ilObjUser\_lookupId(), addContributor(), contributors(), ilUtil\sendFailure(), and ilUtil\stripSlashes().
|
protected |
ilObjBlogGUI::approve | ( | ) |
Definition at line 2656 of file class.ilObjBlogGUI.php.
References isAdmin().
|
protected |
Combine content (list/posting) and navigation to html chunk.
string | $a_content | |
string | $a_nav |
Definition at line 1196 of file class.ilObjBlogGUI.php.
References $a_content.
Referenced by executeCommand(), and getHTML().
ilObjBlogGUI::buildExportFile | ( | ) |
Build export file.
Definition at line 2387 of file class.ilObjBlogGUI.php.
References ilExport\_createExportDirectory(), and ilExport\_getExportDirectory().
Referenced by export().
|
protected |
Build export link.
Definition at line 1690 of file class.ilObjBlogGUI.php.
References $a_type, and getKeywords().
Referenced by renderList(), renderNavigationByDate(), and renderNavigationByKeywords().
|
protected |
Gather all blog postings.
int | $a_obj_id |
Definition at line 1359 of file class.ilObjBlogGUI.php.
References $items, $month, ilBlogPosting\getAllPostings(), and IL_CAL_DATE.
Referenced by __construct().
ilObjBlogGUI::confirmRemoveContributor | ( | ) |
Used in ilContributorTableGUI.
Definition at line 2787 of file class.ilObjBlogGUI.php.
References $_POST, ilUserUtil\getNamePresentation(), ilUtil\sendFailure(), and ilUtil\stripSlashesRecursive().
ilObjBlogGUI::contributors | ( | ) |
Definition at line 2675 of file class.ilObjBlogGUI.php.
References ilObjectGUI\$ctrl, $ilCtrl, ilObjectGUI\$lng, ilObject2GUI\$node_id, $tabs, ilObjectGUI\$toolbar, ilObjectGUI\$tpl, ilObject2GUI\checkPermissionBool(), ilRepositorySearchGUI\fillAutoCompleteToolbar(), and ilUtil\sendInfo().
Referenced by addContributor(), addUserFromAutoComplete(), and removeContributor().
ilObjBlogGUI::createPosting | ( | ) |
Create new posting.
Definition at line 960 of file class.ilObjBlogGUI.php.
References $_POST, ilObjectGUI\$ctrl, $ilCtrl, $ilUser, ilObjectGUI\$user, ilUtil\sendFailure(), and ilUtil\stripSlashes().
ilObjBlogGUI::createStyle | ( | ) |
Definition at line 2954 of file class.ilObjBlogGUI.php.
ilObjBlogGUI::deactivateAdmin | ( | ) |
Definition at line 2846 of file class.ilObjBlogGUI.php.
References ilObject2GUI\checkPermissionBool().
ilObjBlogGUI::deleteStyle | ( | ) |
Definition at line 2964 of file class.ilObjBlogGUI.php.
ilObjBlogGUI::disableNotes | ( | $a_value = false | ) |
Definition at line 2404 of file class.ilObjBlogGUI.php.
ilObjBlogGUI::editStyle | ( | ) |
Definition at line 2959 of file class.ilObjBlogGUI.php.
ilObjBlogGUI::editStyleProperties | ( | ) |
Definition at line 2884 of file class.ilObjBlogGUI.php.
References ilObject2GUI\checkPermission(), initStylePropertiesForm(), and setSettingsSubTabs().
ilObjBlogGUI::executeCommand | ( | ) |
Definition at line 576 of file class.ilObjBlogGUI.php.
References ilObjectGUI\$ctrl, $gtp, $ilCtrl, ilObjectGUI\$lng, $nav_history, $ret, $tabs, ilObjectGUI\$tpl, addHeaderActionForCommand(), buildEmbedded(), ilObject2GUI\checkPermissionBool(), ilBlogPosting\exists(), filterInactivePostings(), ilObject2GUI\getAccessHandler(), ilObject2GUI\getCreationMode(), ilObjStyleSheet\getEffectiveContentStyleId(), ilCommonActionDispatcherGUI\getInstanceFromAjaxCall(), infoScreenForward(), mayContribute(), mayEditPosting(), ilObjectGUI\omitLocator(), ilObject2GUI\prepareOutput(), preview(), renderFullScreen(), renderNavigation(), renderToolbarNavigation(), ilUtil\sendFailure(), ilUtil\sendInfo(), setContentStyleSheet(), ilObject2GUI\setLocator(), ilFileInputGUI\setPersonalWorkspaceQuotaCheck(), setSettingsSubTabs(), setTabs(), and triggerAssignmentTool().
ilObjBlogGUI::export | ( | ) |
Build and deliver export file.
Definition at line 1179 of file class.ilObjBlogGUI.php.
References buildExportFile(), and ilUtil\deliverFile().
|
protected |
Filter inactive items from items list.
Definition at line 2543 of file class.ilObjBlogGUI.php.
References $month, and ilPageObject\_lookupActive().
Referenced by executeCommand(), getHTML(), and preview().
ilObjBlogGUI::filterItemsByKeyWord | ( | array | $a_items, |
$a_keyword | |||
) |
Definition at line 2563 of file class.ilObjBlogGUI.php.
References $items, $month, $res, and ilBlogPosting\getKeywords().
|
protected |
Definition at line 434 of file class.ilObjBlogGUI.php.
References ilObjBlog\ABSTRACT_DEFAULT_IMAGE_HEIGHT, ilObjBlog\ABSTRACT_DEFAULT_IMAGE_WIDTH, and ilObjBlog\ABSTRACT_DEFAULT_SHORTEN_LENGTH.
ilObjBlogGUI::getHTML | ( | ) |
Return embeddable HTML chunk.
Definition at line 1059 of file class.ilObjBlogGUI.php.
References ilObjectGUI\$ctrl, $ilCtrl, $ilUser, ilObjectGUI\$lng, ilObjectGUI\$user, ilObject\_lookupOwner(), buildEmbedded(), filterInactivePostings(), ilLinkButton\getInstance(), getListItems(), renderList(), and renderNavigation().
ilObjBlogGUI::getItems | ( | ) |
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 2349 of file class.ilObjBlogGUI.php.
References $items, $keyword, $month, ilPageObject\_lookupActive(), ilBlogPosting\getKeywords(), and ilUtil\sortArray().
Referenced by buildExportLink(), and renderNavigationByKeywords().
ilObjBlogGUI::getLatestMonth | ( | $a_items | ) |
Get next month.
array | $a_items | item array |
Definition at line 2152 of file class.ilObjBlogGUI.php.
Referenced by renderToolbarNavigation().
ilObjBlogGUI::getLatestPosting | ( | $a_items | ) |
Get previous posting.
array | $a_items | item array |
Definition at line 2212 of file class.ilObjBlogGUI.php.
References $month.
Referenced by renderToolbarNavigation().
|
protected |
Filter blog postings by month, keyword or author.
bool | $a_show_inactive |
Definition at line 1108 of file class.ilObjBlogGUI.php.
References $items, $month, and ilPageObject\_lookupActive().
Referenced by getHTML(), preview(), and render().
ilObjBlogGUI::getNextMonth | ( | $a_items | ) |
Get next month.
array | $a_items | item array |
Definition at line 2116 of file class.ilObjBlogGUI.php.
References $items, and $month.
Referenced by renderToolbarNavigation().
ilObjBlogGUI::getNextPosting | ( | $a_items | ) |
Get next posting.
array | $a_items | item array |
Definition at line 2164 of file class.ilObjBlogGUI.php.
References $items, and $month.
Referenced by renderToolbarNavigation().
ilObjBlogGUI::getNotesSubId | ( | ) |
Definition at line 2399 of file class.ilObjBlogGUI.php.
References $blpg.
ilObjBlogGUI::getPreviousMonth | ( | $a_items | ) |
Get next month.
array | $a_items | item array |
Definition at line 2134 of file class.ilObjBlogGUI.php.
References $items, and $month.
Referenced by renderToolbarNavigation().
ilObjBlogGUI::getPreviousPosting | ( | $a_items | ) |
Get previous posting.
array | $a_items | item array |
Definition at line 2188 of file class.ilObjBlogGUI.php.
References $items, and $month.
Referenced by renderToolbarNavigation().
ilObjBlogGUI::getType | ( | ) |
Definition at line 182 of file class.ilObjBlogGUI.php.
Referenced by renderList().
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 907 of file class.ilObjBlogGUI.php.
References infoScreenForward().
ilObjBlogGUI::infoScreenForward | ( | ) |
show information screen
Definition at line 917 of file class.ilObjBlogGUI.php.
References $tabs, ilObject2GUI\checkPermission(), ilObject2GUI\checkPermissionBool(), and ilObject2GUI\getPermanentLinkWidget().
Referenced by executeCommand(), and infoScreen().
|
protected |
Definition at line 198 of file class.ilObjBlogGUI.php.
|
protected |
Definition at line 257 of file class.ilObjBlogGUI.php.
References $auth, $ilSetting, $img, ilObjectGUI\$lng, ilObjectGUI\$settings, ilPropertyFormGUI\addItem(), ilObjectGUI\getObjectService(), ilObjBlog\NAV_MODE_LIST, ilObjBlog\NAV_MODE_MONTH, ilRadioOption\setInfo(), ilFormPropertyGUI\setInfo(), ilFormPropertyGUI\setMultiValues(), ilFileInputGUI\setPersonalWorkspaceQuotaCheck(), ilFormPropertyGUI\setRequired(), setSettingsSubTabs(), and ilNumberInputGUI\setSize().
|
protected |
Definition at line 2431 of file class.ilObjBlogGUI.php.
References $blpg, ilObjectGUI\$ctrl, $ilCtrl, $ilUser, ilObjectGUI\$obj_id, ilObjectGUI\$user, ilUtil\getImagePath(), ilNotification\hasNotification(), ilNotification\hasOptOut(), mayContribute(), mayEditPosting(), and ilNotification\TYPE_BLOG.
Referenced by addHeaderActionForCommand().
ilObjBlogGUI::initStylePropertiesForm | ( | ) |
Definition at line 2895 of file class.ilObjBlogGUI.php.
References $ilSetting, ilObjectGUI\$settings, ilObjStyleSheet\_getStandardStyles(), ilObjStyleSheet\_lookupStandard(), ilObject\_lookupTitle(), and ilNonEditableValueGUI\setValue().
Referenced by editStyleProperties().
|
protected |
Check if user has admin access (approve, may edit & deactivate all postings)
Definition at line 2584 of file class.ilObjBlogGUI.php.
References ilObject2GUI\checkPermissionBool().
Referenced by approve(), and renderList().
|
static |
Get title for blog posting (used in ilNotesGUI)
int | $a_blog_id | |
int | $a_posting_id |
Definition at line 2529 of file class.ilObjBlogGUI.php.
|
protected |
Check if user may contribute at all.
Definition at line 2636 of file class.ilObjBlogGUI.php.
References ilObject2GUI\checkPermissionBool().
Referenced by executeCommand(), initHeaderAction(), render(), renderFullScreen(), renderToolbarNavigation(), and setTabs().
|
protected |
Check if user may edit posting.
int | $a_posting_id | |
int | $a_author_id |
Definition at line 2597 of file class.ilObjBlogGUI.php.
References $ilUser, ilObjectGUI\$user, and ilObject2GUI\checkPermissionBool().
Referenced by executeCommand(), initHeaderAction(), renderList(), renderNavigation(), and renderToolbarNavigation().
ilObjBlogGUI::preview | ( | ) |
Render fullscreen presentation.
Definition at line 1149 of file class.ilObjBlogGUI.php.
References $DIC, ilObjectGUI\$lng, ilObjectGUI\$toolbar, ilObject2GUI\checkPermissionBool(), filterInactivePostings(), getListItems(), renderFullScreen(), renderList(), renderNavigation(), renderToolbarNavigation(), and ilUtil\sendInfo().
Referenced by executeCommand().
ilObjBlogGUI::removeContributor | ( | ) |
Used in ilContributorTableGUI.
Definition at line 2816 of file class.ilObjBlogGUI.php.
References $_POST, ilObjectGUI\$ctrl, $ilCtrl, ilObjectGUI\$lng, $rbacadmin, contributors(), ilUtil\sendFailure(), and ilUtil\stripSlashesRecursive().
ilObjBlogGUI::render | ( | ) |
Render object context.
Definition at line 992 of file class.ilObjBlogGUI.php.
References ilObjectGUI\$ctrl, $ilCtrl, $ilUser, ilObjectGUI\$lng, $message, $tabs, ilObjectGUI\$tpl, ilObject2GUI\$tree, $url, ilObjectGUI\$user, ilObject2GUI\checkPermissionBool(), ilSubmitButton\getInstance(), ilLinkButton\getInstance(), getListItems(), mayContribute(), renderList(), renderNavigation(), ilUtil\sendInfo(), and setContentStyleSheet().
ilObjBlogGUI::renderFullScreen | ( | $a_content, | |
$a_navigation | |||
) |
Build fullscreen context.
string | $a_content | |
string | $a_navigation |
Definition at line 1210 of file class.ilObjBlogGUI.php.
References $a_content, $ilUser, ilObjectGUI\$locator, $main_menu, ilObject2GUI\$node_id, ilObject2GUI\$parent_id, $tabs, ilObjectGUI\$tpl, ilObject2GUI\$tree, ilObjectGUI\$user, ilLink\_getStaticLink(), mayContribute(), ilMainMenuGUI\MODE_TOPBAR_ONLY, renderFullscreenHeader(), and setContentStyleSheet().
Referenced by executeCommand(), and preview().
ilObjBlogGUI::renderFullscreenHeader | ( | $a_tpl, | |
$a_user_id, | |||
$a_export = false |
|||
) |
Render banner, user name.
object | $a_tpl | |
int | $a_user_id | |
bool | $a_export_path |
Definition at line 1289 of file class.ilObjBlogGUI.php.
References $ilUser, $name, ilObject2GUI\$node_id, ilObjectGUI\$user, ilObjUser\_getPersonalPicturePath(), ilObjUser\_lookupName(), ilChangeEvent\_recordReadEvent(), and ilWACSignedPath\signFile().
Referenced by renderFullScreen().
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 1392 of file class.ilObjBlogGUI.php.
References $author, ilObjectGUI\$ctrl, $ilCtrl, $ilUser, $keyword, ilObjectGUI\$lng, $month, $preview, ilObjectGUI\$user, ilNote\_getNotesOfObject(), ilLink\_getStaticLink(), ilPageObject\_lookupActive(), ilObject\_lookupOwner(), ilCalendarUtil\_numericMonthToString(), buildExportLink(), ilDatePresentation\formatDate(), ilObject2GUI\getAccessHandler(), ilBlogPosting\getKeywords(), ilUserUtil\getNamePresentation(), ilBlogPostingGUI\getSnippet(), getType(), IL_CAL_DATE, IL_NOTE_PUBLIC, isAdmin(), and mayEditPosting().
Referenced by getHTML(), preview(), and render().
ilObjBlogGUI::renderNavigation | ( | $a_list_cmd = "render" , |
|
$a_posting_cmd = "preview" , |
|||
$a_link_template = null , |
|||
$a_show_inactive = false , |
|||
$a_blpg = 0 |
|||
) |
Build navigation blocks.
string | $a_list_cmd | |
string | $a_posting_cmd | |
bool | $a_link_template | |
bool | $a_show_inactive | |
int | $a_blpg | blog page id |
Definition at line 2232 of file class.ilObjBlogGUI.php.
References $blpg, ilObjectGUI\$ctrl, $DIC, $ilCtrl, $ilSetting, $items, ilObject2GUI\$node_id, ilObjectGUI\$settings, $url, ilRSSButtonGUI\get(), ilRSSButtonGUI\ICON_RSS, ILIAS_HTTP_PATH, mayEditPosting(), renderNavigationByAuthors(), renderNavigationByDate(), and renderNavigationByKeywords().
Referenced by executeCommand(), getHTML(), preview(), and render().
|
protected |
Definition at line 1950 of file class.ilObjBlogGUI.php.
References $author, ilObjectGUI\$ctrl, $ilCtrl, $items, $month, $name, $url, ilPageObject\_lookupActive(), and ilUserUtil\getNamePresentation().
Referenced by renderNavigation().
|
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 1706 of file class.ilObjBlogGUI.php.
References $blpg, ilObjectGUI\$ctrl, $ilCtrl, $month, $url, ilPageObject\_lookupActive(), ilCalendarUtil\_numericMonthToString(), buildExportLink(), and ilObjBlog\NAV_MODE_LIST.
Referenced by renderNavigation().
|
protected |
Build navigation by keywords block.
string | $a_list_cmd | |
bool | $a_show_inactive |
Definition at line 1912 of file class.ilObjBlogGUI.php.
References $blpg, ilObjectGUI\$ctrl, $ilCtrl, $keyword, $url, buildExportLink(), getKeywords(), and ilTagging\getRelevanceClass().
Referenced by renderNavigation().
ilObjBlogGUI::renderToolbarNavigation | ( | $a_items, | |
$single_posting = false |
|||
) |
Toolbar navigation.
Definition at line 2008 of file class.ilObjBlogGUI.php.
References ilObjectGUI\$ctrl, $DIC, Vendor\Package\$f, ilObjectGUI\$lng, $prtf_embed, ilObjectGUI\$toolbar, getLatestMonth(), getLatestPosting(), getNextMonth(), getNextPosting(), getPreviousMonth(), getPreviousPosting(), mayContribute(), and mayEditPosting().
Referenced by executeCommand(), and preview().
ilObjBlogGUI::saveStyleSettings | ( | ) |
Definition at line 2969 of file class.ilObjBlogGUI.php.
References $_POST, $ilSetting, ilObjectGUI\$settings, and ilObjStyleSheet\_lookupStandard().
ilObjBlogGUI::setContentStyleSheet | ( | $a_tpl = null | ) |
Definition at line 2866 of file class.ilObjBlogGUI.php.
References ilObjectGUI\$tpl, and ilObjStyleSheet\getContentStylePath().
Referenced by executeCommand(), render(), and renderFullScreen().
|
protected |
Definition at line 2504 of file class.ilObjBlogGUI.php.
References ilObjectGUI\$ctrl, $ilCtrl, $ilUser, ilObjectGUI\$obj_id, ilObjectGUI\$user, ilNotification\setNotification(), and ilNotification\TYPE_BLOG.
|
protected |
Definition at line 218 of file class.ilObjBlogGUI.php.
References ilObjectGUI\$access, $DIC, and ilObject2GUI\$tree.
Referenced by editStyleProperties(), executeCommand(), and initEditCustomForm().
ilObjBlogGUI::setTabs | ( | ) |
Definition at line 512 of file class.ilObjBlogGUI.php.
References $help, ilObjectGUI\$lng, $prtf_embed, ilObject2GUI\checkPermissionBool(), and mayContribute().
Referenced by executeCommand().
|
protected |
Trigger assignment tool.
Definition at line 884 of file class.ilObjBlogGUI.php.
References $i, ilExerciseGSToolProvider\EXC_ASS_BUTTONS, ilExerciseGSToolProvider\EXC_ASS_IDS, and ilExerciseGSToolProvider\SHOW_EXC_ASSIGNMENT_INFO.
Referenced by executeCommand().
|
protected |
Definition at line 462 of file class.ilObjBlogGUI.php.
References ilObjectGUI\$lng, ilPropertyFormGUI\getInput(), ilPropertyFormGUI\getItemByPostVar(), and ilObjectGUI\getObjectService().
|
protected |
Definition at line 103 of file class.ilObjBlogGUI.php.
|
protected |
Definition at line 45 of file class.ilObjBlogGUI.php.
Referenced by renderList(), and renderNavigationByAuthors().
|
protected |
Definition at line 63 of file class.ilObjBlogGUI.php.
Referenced by getNotesSubId(), initHeaderAction(), renderNavigation(), renderNavigationByDate(), and renderNavigationByKeywords().
|
protected |
Definition at line 58 of file class.ilObjBlogGUI.php.
|
protected |
Definition at line 52 of file class.ilObjBlogGUI.php.
Referenced by executeCommand().
|
protected |
Definition at line 20 of file class.ilObjBlogGUI.php.
Referenced by setTabs().
|
protected |
Definition at line 43 of file class.ilObjBlogGUI.php.
Referenced by buildPostingList(), filterItemsByKeyWord(), getItems(), getKeywords(), getListItems(), getNextMonth(), getNextPosting(), getPreviousMonth(), getPreviousPosting(), renderNavigation(), and renderNavigationByAuthors().
|
protected |
Definition at line 44 of file class.ilObjBlogGUI.php.
Referenced by getKeywords(), renderList(), and renderNavigationByKeywords().
|
protected |
Definition at line 35 of file class.ilObjBlogGUI.php.
Referenced by renderFullScreen().
|
protected |
Definition at line 42 of file class.ilObjBlogGUI.php.
Referenced by buildPostingList(), filterInactivePostings(), filterItemsByKeyWord(), getKeywords(), getLatestPosting(), getListItems(), getNextMonth(), getNextPosting(), getPreviousMonth(), getPreviousPosting(), renderList(), renderNavigationByAuthors(), and renderNavigationByDate().
|
protected |
Definition at line 46 of file class.ilObjBlogGUI.php.
|
protected |
Definition at line 30 of file class.ilObjBlogGUI.php.
Referenced by executeCommand().
|
protected |
Definition at line 108 of file class.ilObjBlogGUI.php.
|
protected |
Definition at line 97 of file class.ilObjBlogGUI.php.
|
protected |
Definition at line 68 of file class.ilObjBlogGUI.php.
|
protected |
Definition at line 74 of file class.ilObjBlogGUI.php.
|
protected |
Definition at line 114 of file class.ilObjBlogGUI.php.
ilObjBlogGUI::$prtf_embed = false |
Definition at line 85 of file class.ilObjBlogGUI.php.
Referenced by renderToolbarNavigation(), and setTabs().
|
protected |
Definition at line 92 of file class.ilObjBlogGUI.php.
|
protected |
Definition at line 40 of file class.ilObjBlogGUI.php.
Referenced by addContributor(), and removeContributor().
|
protected |
Definition at line 25 of file class.ilObjBlogGUI.php.
Referenced by contributors(), executeCommand(), infoScreenForward(), render(), and renderFullScreen().
|
protected |
Definition at line 119 of file class.ilObjBlogGUI.php.
|
protected |
Definition at line 80 of file class.ilObjBlogGUI.php.