ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Class ilObjWikiGUI. More...
Public Member Functions | |
__construct ($a_data, $a_id, $a_call_by_reference, $a_prepare_output=true) | |
Constructor public. More... | |
executeCommand () | |
isOnlineHelpWiki () | |
Is wiki an online help wiki? More... | |
viewObject () | |
Start page. More... | |
saveObject () | |
save object public More... | |
afterSave (ilObject $newObj) | |
save object public More... | |
infoScreenObject () | |
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... | |
infoScreen () | |
show information screen More... | |
gotoStartPageObject () | |
Go to start page. More... | |
addPageTabs () | |
Add Page Tabs. More... | |
addPagesSubTabs () | |
Add Pages SubTabs. More... | |
getTabs () | |
get tabs public More... | |
setSettingsSubTabs ($a_active) | |
Set sub tabs. More... | |
editSettingsObject () | |
Edit settings. More... | |
initSettingsForm ($a_mode="edit") | |
Init Settings Form. More... | |
getSettingsFormValues ($a_mode="edit") | |
saveSettingsObject () | |
Save Settings. More... | |
listContributorsObject () | |
List all contributors. More... | |
saveGradingObject () | |
Save grading. More... | |
addLocatorItems () | |
viewPageObject () | |
view wiki page More... | |
allPagesObject () | |
All pages of wiki. More... | |
popularPagesObject () | |
Popular pages. More... | |
orphanedPagesObject () | |
Orphaned pages. More... | |
gotoPageObject ($a_page="") | |
Go to specific page. More... | |
randomPageObject () | |
Go to random page. More... | |
recentChangesObject () | |
Recent Changes. More... | |
setSideBlock ($a_wpg_id=0) | |
Side column. More... | |
newPagesObject () | |
Latest pages. More... | |
printViewObject ($a_pdf_export=false) | |
pdfExportObject () | |
performSearchObject () | |
Search. More... | |
setContentStyleSheet ($a_tpl=null) | |
Set content style sheet. More... | |
editStylePropertiesObject () | |
Edit style properties. More... | |
initStylePropertiesForm () | |
Init style properties form. More... | |
createStyleObject () | |
Create Style. More... | |
editStyleObject () | |
Edit Style. More... | |
deleteStyleObject () | |
Delete Style. More... | |
saveStyleSettingsObject () | |
Save style settings. More... | |
editImportantPagesObject () | |
List important pages. More... | |
addImportantPageObject () | |
Add important pages. More... | |
confirmRemoveImportantPagesObject () | |
Confirm important pages deletion. More... | |
removeImportantPagesObject () | |
Remove important pages. More... | |
saveOrderingAndIndentObject () | |
Save important pages ordering and indentation. More... | |
setAsStartPageObject () | |
Confirm important pages deletion. More... | |
exportHTML () | |
Create html package. More... | |
getSubObjectTitle ($a_id, $a_type) | |
Used for rating export. More... | |
showTemplateSelectionObject () | |
Show template selection. More... | |
initTemplateSelectionForm () | |
Init template selection form. More... | |
createPageUsingTemplateObject () | |
Save creation with template form. More... | |
cancelCreationPageUsingTemplateObject () | |
Cancel page creation using a template. More... | |
initUserHTMLExportObject () | |
Export html (as user) More... | |
startUserHTMLExportObject () | |
Export html (as user) More... | |
getUserHTMLExportProgressObject () | |
Get user html export progress. More... | |
downloadUserHTMLExportObject () | |
Download user html export file. More... | |
Public Member Functions inherited from ilObjectGUI | |
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 () | |
list childs of current object 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... | |
Static Public Member Functions | |
static | _goto ($a_target) |
static | getGotoLink ($a_ref_id, $a_page="") |
Get goto link. More... | |
static | renderSideBlock ($a_wpg_id, $a_wiki_ref_id, $a_wp=null) |
Side column. More... | |
static | lookupSubObjectTitle ($a_wiki_id, $a_page_id) |
Get title for wiki page (used in ilNotesGUI) More... | |
Static Public Member Functions inherited from ilObjectGUI | |
static | _gotoRepositoryRoot ($a_raise_error=false) |
Goto repository root. More... | |
static | _gotoRepositoryNode ($a_ref_id, $a_cmd="frameset") |
Goto repository root. More... | |
Protected Member Functions | |
initCreationForms ($a_new_type) | |
getPrintPageIds () | |
checkPermissionBool ($a_perm, $a_cmd="", $a_type="", $a_ref_id=null) | |
Check permission. More... | |
Protected Member Functions inherited from ilObjectGUI | |
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... | |
showMountWebfolderIcon () | |
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 | |
$tabs | |
$error | |
$help | |
$log | |
Protected Attributes inherited from ilObjectGUI | |
$ilErr | |
$locator | |
$user | |
$access | |
$settings | |
$rbacreview | |
$toolbar | |
$tmp_import_dir | |
$tabs_gui = null | |
$ctrl | |
$object_service | |
Additional Inherited Members | |
Data Fields inherited from ilObjectGUI | |
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 |
Class ilObjWikiGUI.
ilObjWikiGUI: ilPermissionGUI, ilInfoScreenGUI, ilWikiPageGUI ilObjWikiGUI: ilRepositoryGUI, ilAdministrationGUI ilObjWikiGUI: ilPublicUserProfileGUI, ilObjStyleSheetGUI ilObjWikiGUI: ilExportGUI, ilCommonActionDispatcherGUI ilObjWikiGUI: ilRatingGUI, ilWikiPageTemplateGUI, ilWikiStatGUI ilObjWikiGUI: ilObjectMetaDataGUI ilObjWikiGUI: ilSettingsPermissionGUI ilObjWikiGUI: ilRepositoryObjectSearchGUI, ilObjectCopyGUI, ilObjNotificationSettingsGUI
Definition at line 23 of file class.ilObjWikiGUI.php.
ilObjWikiGUI::__construct | ( | $a_data, | |
$a_id, | |||
$a_call_by_reference, | |||
$a_prepare_output = true |
|||
) |
Constructor public.
Definition at line 50 of file class.ilObjWikiGUI.php.
References $_GET, $DIC, $ilCtrl, ilObjectGUI\$lng, ilLoggerFactory\getLogger(), ilWikiUtil\makeUrlTitle(), settings(), and user().
|
static |
Definition at line 1151 of file class.ilObjWikiGUI.php.
References $_GET, $DIC, $i, ilObjectGUI\$ilErr, ilObjectGUI\$lng, $r, ilObjectGUI\$ref_id, ilObject\_getAllReferences(), ilObjectGUI\_gotoRepositoryNode(), ilObjectGUI\_gotoRepositoryRoot(), ilObject\_lookupObjId(), ilObject\_lookupTitle(), exit, ilWikiPage\lookupTitle(), ilWikiPage\lookupWikiId(), and ilUtil\sendFailure().
ilObjWikiGUI::addImportantPageObject | ( | ) |
Add important pages.
Definition at line 1960 of file class.ilObjWikiGUI.php.
References $_POST, ilObjectGUI\$ctrl, $ilCtrl, ilObjectGUI\$lng, and ilObjectGUI\checkPermission().
ilObjWikiGUI::addLocatorItems | ( | ) |
Definition at line 1137 of file class.ilObjWikiGUI.php.
References $_GET, ilObjectGUI\$locator, and getGotoLink().
ilObjWikiGUI::addPagesSubTabs | ( | ) |
Add Pages SubTabs.
Definition at line 555 of file class.ilObjWikiGUI.php.
References $_GET, ilObjectGUI\$ctrl, $ilCtrl, $tabs, ilWikiPage\getPageIdForTitle(), ilWikiUtil\makeDbTitle(), and ilWikiUtil\makeUrlTitle().
Referenced by allPagesObject(), newPagesObject(), orphanedPagesObject(), popularPagesObject(), and recentChangesObject().
ilObjWikiGUI::addPageTabs | ( | ) |
Add Page Tabs.
Definition at line 522 of file class.ilObjWikiGUI.php.
References $_GET, ilObjectGUI\$ctrl, $ilCtrl, $tabs, ilWikiPage\getPageIdForTitle(), ilWikiUtil\makeDbTitle(), and ilWikiUtil\makeUrlTitle().
ilObjWikiGUI::afterSave | ( | ilObject | $newObj | ) |
save object public
Definition at line 378 of file class.ilObjWikiGUI.php.
References $ilSetting, ilObjectGUI\$settings, getGotoLink(), ilObject\getRefId(), ilUtil\redirect(), ilObject\setDescription(), ilObject\setTitle(), and ilObject\update().
ilObjWikiGUI::allPagesObject | ( | ) |
All pages of wiki.
Definition at line 1306 of file class.ilObjWikiGUI.php.
References ilObjectGUI\$tpl, addPagesSubTabs(), ilObjectGUI\checkPermission(), IL_WIKI_ALL_PAGES, and setSideBlock().
ilObjWikiGUI::cancelCreationPageUsingTemplateObject | ( | ) |
Cancel page creation using a template.
Definition at line 2193 of file class.ilObjWikiGUI.php.
References $_GET, ilObjectGUI\$ctrl, $ilCtrl, and ilWikiUtil\makeUrlTitle().
|
protected |
Check permission.
string | $a_perm | |
string | $a_cmd | |
string | $a_type | |
int | $a_ref_id |
Definition at line 2211 of file class.ilObjWikiGUI.php.
References $a_type, and ilWikiPerm\check().
Referenced by saveObject().
ilObjWikiGUI::confirmRemoveImportantPagesObject | ( | ) |
Confirm important pages deletion.
Definition at line 1977 of file class.ilObjWikiGUI.php.
References $_POST, ilObjectGUI\$ctrl, $i, $ilCtrl, ilObjectGUI\$lng, ilObjectGUI\$tpl, ilWikiPage\lookupTitle(), and ilUtil\sendInfo().
ilObjWikiGUI::createPageUsingTemplateObject | ( | ) |
Save creation with template form.
Definition at line 2167 of file class.ilObjWikiGUI.php.
References $_POST, ilObjectGUI\$ctrl, $form, $ilCtrl, ilObjectGUI\$lng, ilObjectGUI\$tpl, initTemplateSelectionForm(), and ilWikiUtil\makeUrlTitle().
ilObjWikiGUI::createStyleObject | ( | ) |
Create Style.
Definition at line 1855 of file class.ilObjWikiGUI.php.
References ilObjectGUI\$ctrl, and $ilCtrl.
ilObjWikiGUI::deleteStyleObject | ( | ) |
Delete Style.
Definition at line 1875 of file class.ilObjWikiGUI.php.
References ilObjectGUI\$ctrl, and $ilCtrl.
ilObjWikiGUI::downloadUserHTMLExportObject | ( | ) |
Download user html export file.
Definition at line 2274 of file class.ilObjWikiGUI.php.
References ilObjectGUI\checkPermission().
ilObjWikiGUI::editImportantPagesObject | ( | ) |
List important pages.
Definition at line 1907 of file class.ilObjWikiGUI.php.
References ilObjectGUI\$ctrl, $i, $ilCtrl, ilObjectGUI\$lng, PHPMailer\PHPMailer\$options, $si, $tabs, ilObjectGUI\$toolbar, ilObjectGUI\$tpl, ilObjWiki\_lookupImportantPagesList(), ilObjectGUI\checkPermission(), ilWikiPage\getAllWikiPages(), ilUtil\sendInfo(), setSettingsSubTabs(), and ilUtil\shortenText().
ilObjWikiGUI::editSettingsObject | ( | ) |
Edit settings.
Definition at line 783 of file class.ilObjWikiGUI.php.
References ilObjectGUI\$tpl, ilObjectGUI\checkPermission(), getSettingsFormValues(), initSettingsForm(), setSettingsSubTabs(), and setSideBlock().
ilObjWikiGUI::editStyleObject | ( | ) |
Edit Style.
Definition at line 1865 of file class.ilObjWikiGUI.php.
References ilObjectGUI\$ctrl, and $ilCtrl.
ilObjWikiGUI::editStylePropertiesObject | ( | ) |
Edit style properties.
Definition at line 1753 of file class.ilObjWikiGUI.php.
References $tabs, ilObjectGUI\$tpl, ilObjectGUI\checkPermission(), initStylePropertiesForm(), setSettingsSubTabs(), and setSideBlock().
ilObjWikiGUI::executeCommand | ( | ) |
Definition at line 81 of file class.ilObjWikiGUI.php.
References $_GET, ilObjectGUI\$access, ilObjectGUI\$ctrl, $ilCtrl, $ilUser, $ret, $tabs, ilObjectGUI\$tpl, ilObjectGUI\$user, ilObjectGUI\addHeaderAction(), ilObjectGUI\checkPermission(), ilObjStyleSheet\getEffectiveContentStyleId(), ilWikiPageGUI\getGUIForTitle(), ilCommonActionDispatcherGUI\getInstanceFromAjaxCall(), infoScreen(), ilWikiUtil\makeDbTitle(), ilObjectGUI\omitLocator(), ilObjectGUI\prepareOutput(), setContentStyleSheet(), setSettingsSubTabs(), and setSideBlock().
ilObjWikiGUI::exportHTML | ( | ) |
|
static |
Get goto link.
Definition at line 1215 of file class.ilObjWikiGUI.php.
References ilObject\_lookupObjId(), ilObjWiki\_lookupStartPage(), and ilWikiUtil\makeUrlTitle().
Referenced by addLocatorItems(), afterSave(), ilObjWiki\decorateAdvMDValue(), ilWikiImportantPagesBlockGUI\fillDataSection(), ilWikiPagesTableGUI\fillRow(), ilObjWikiSubItemListGUI\getHTML(), getTabs(), gotoPageObject(), gotoStartPageObject(), and infoScreen().
|
protected |
Definition at line 1577 of file class.ilObjWikiGUI.php.
Referenced by printViewObject().
ilObjWikiGUI::getSettingsFormValues | ( | $a_mode = "edit" | ) |
Definition at line 965 of file class.ilObjWikiGUI.php.
References $_GET, $ilUser, ilObjectGUI\$lng, ilObjectGUI\$user, $values, ilWikiPage\_getPageIdForWikiTitle(), and ilObject\hasAutoRating().
Referenced by editSettingsObject(), and initCreationForms().
ilObjWikiGUI::getSubObjectTitle | ( | $a_id, | |
$a_type | |||
) |
Used for rating export.
int | $a_id | |
string | $a_type |
Definition at line 2094 of file class.ilObjWikiGUI.php.
References ilWikiPage\lookupTitle().
ilObjWikiGUI::getTabs | ( | ) |
get tabs public
object | tabs gui object |
Definition at line 604 of file class.ilObjWikiGUI.php.
References $_GET, ilObjectGUI\$access, ilObjectGUI\$ctrl, $help, $ilCtrl, ilObjectGUI\$lng, getGotoLink(), and ilWikiUtil\makeDbTitle().
ilObjWikiGUI::getUserHTMLExportProgressObject | ( | ) |
Get user html export progress.
Definition at line 2252 of file class.ilObjWikiGUI.php.
References $r, ilObjectGUI\checkPermission(), ilJsonUtil\encode(), exit, and ilProgressBar\getInstance().
ilObjWikiGUI::gotoPageObject | ( | $a_page = "" | ) |
Go to specific page.
string | $a_page | page title |
Definition at line 1380 of file class.ilObjWikiGUI.php.
References $_GET, ilObjectGUI\$ctrl, $ilCtrl, ilWikiPage\_wikiPageExists(), getGotoLink(), ilWikiUtil\makeDbTitle(), ilWikiUtil\makeUrlTitle(), ilUtil\redirect(), ilUtil\sendFailure(), and ilStr\strLen().
Referenced by randomPageObject().
ilObjWikiGUI::gotoStartPageObject | ( | ) |
Go to start page.
Definition at line 512 of file class.ilObjWikiGUI.php.
References ilObjectGUI\$ctrl, $ilCtrl, getGotoLink(), and ilUtil\redirect().
Referenced by viewObject().
ilObjWikiGUI::infoScreen | ( | ) |
show information screen
Definition at line 424 of file class.ilObjWikiGUI.php.
References ilObjectGUI\$access, $error, ilObjectGUI\$ilErr, $ilUser, $info, ilObjectGUI\$lng, $tabs, ilObjectGUI\$user, ilLPMarks\_lookupComment(), ilLPMarks\_lookupMark(), ilWikiContributor\_lookupStatus(), getGotoLink(), ilWikiContributor\STATUS_FAILED, ilWikiContributor\STATUS_NOT_GRADED, and ilWikiContributor\STATUS_PASSED.
Referenced by executeCommand(), and infoScreenObject().
ilObjWikiGUI::infoScreenObject | ( | ) |
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 413 of file class.ilObjWikiGUI.php.
References ilObjectGUI\checkPermission(), and infoScreen().
|
protected |
Definition at line 331 of file class.ilObjWikiGUI.php.
References ilObjectGUI\fillCloneTemplate(), getSettingsFormValues(), ilObjectGUI\initImportForm(), and initSettingsForm().
ilObjWikiGUI::initSettingsForm | ( | $a_mode = "edit" | ) |
Init Settings Form.
Definition at line 806 of file class.ilObjWikiGUI.php.
References ilObjectGUI\$ctrl, $ilCtrl, $ilSetting, ilObjectGUI\$lng, ilObjectGUI\$object_service, PHPMailer\PHPMailer\$options, $section, ilObjectGUI\$settings, $si, $tabs, ilAdvancedMDRecord\_getSelectedRecordsByObject(), ilSubEnabledFormPropertyGUI\addSubItem(), ilObjectServiceSettingsGUI\CUSTOM_METADATA, ilWikiPage\getAllWikiPages(), ilUtil\getImagePath(), ilObjectServiceSettingsGUI\initServiceSettingsForm(), ilTextAreaInputGUI\setCols(), ilFormPropertyGUI\setInfo(), ilFormPropertyGUI\setRequired(), and ilUtil\shortenText().
Referenced by editSettingsObject(), initCreationForms(), saveObject(), and saveSettingsObject().
ilObjWikiGUI::initStylePropertiesForm | ( | ) |
Init style properties form.
Definition at line 1772 of file class.ilObjWikiGUI.php.
References $_GET, ilObjectGUI\$ctrl, $ilCtrl, $ilSetting, ilObjectGUI\$lng, ilObjectGUI\$settings, $tabs, ilObjStyleSheet\_getStandardStyles(), ilObjStyleSheet\_lookupStandard(), ilObject\_lookupTitle(), ilUtil\formSelect(), ilSelectInputGUI\setOptions(), and ilNonEditableValueGUI\setValue().
Referenced by editStylePropertiesObject().
ilObjWikiGUI::initTemplateSelectionForm | ( | ) |
Init template selection form.
Definition at line 2122 of file class.ilObjWikiGUI.php.
References $_GET, ilObjectGUI\$ctrl, $form, $ilCtrl, ilObjectGUI\$lng, $t, ilWikiPageTemplate\getAllInfo(), ilFormPropertyGUI\setRequired(), and ilWikiPageTemplate\TYPE_NEW_PAGES.
Referenced by createPageUsingTemplateObject(), and showTemplateSelectionObject().
ilObjWikiGUI::initUserHTMLExportObject | ( | ) |
Export html (as user)
Definition at line 2232 of file class.ilObjWikiGUI.php.
References ilObjectGUI\checkPermission().
ilObjWikiGUI::isOnlineHelpWiki | ( | ) |
Is wiki an online help wiki?
Definition at line 314 of file class.ilObjWikiGUI.php.
References ilObjWiki\isOnlineHelpWiki().
ilObjWikiGUI::listContributorsObject | ( | ) |
List all contributors.
Definition at line 1073 of file class.ilObjWikiGUI.php.
References $tabs, ilObjectGUI\$tpl, ilObjectGUI\checkPermission(), and setSideBlock().
|
static |
Get title for wiki page (used in ilNotesGUI)
int | $a_wiki_id | |
int | $a_page_id |
Definition at line 2078 of file class.ilObjWikiGUI.php.
ilObjWikiGUI::newPagesObject | ( | ) |
Latest pages.
Definition at line 1556 of file class.ilObjWikiGUI.php.
References ilObjectGUI\$tpl, addPagesSubTabs(), ilObjectGUI\checkPermission(), IL_WIKI_NEW_PAGES, and setSideBlock().
ilObjWikiGUI::orphanedPagesObject | ( | ) |
Orphaned pages.
Definition at line 1354 of file class.ilObjWikiGUI.php.
References ilObjectGUI\$tpl, addPagesSubTabs(), ilObjectGUI\checkPermission(), IL_WIKI_ORPHANED_PAGES, and setSideBlock().
ilObjWikiGUI::pdfExportObject | ( | ) |
Definition at line 1654 of file class.ilObjWikiGUI.php.
References $html, ilPDFGeneration\doJob(), ilHtmlToPdfTransformerFactory\PDF_OUTPUT_DOWNLOAD, ilPDFGeneratorUtils\prepareGenerationRequest(), and printViewObject().
ilObjWikiGUI::performSearchObject | ( | ) |
Search.
Definition at line 1694 of file class.ilObjWikiGUI.php.
References $_POST, ilObjectGUI\$ctrl, $ilCtrl, ilObjectGUI\$lng, $tabs, ilObjectGUI\$tpl, ilObjWiki\_performSearch(), ilObjectGUI\checkPermission(), ilUtil\sendFailure(), setSideBlock(), and ilUtil\stripSlashes().
ilObjWikiGUI::popularPagesObject | ( | ) |
Popular pages.
Definition at line 1330 of file class.ilObjWikiGUI.php.
References ilObjectGUI\$tpl, addPagesSubTabs(), ilObjectGUI\checkPermission(), IL_WIKI_POPULAR_PAGES, and setSideBlock().
ilObjWikiGUI::printViewObject | ( | $a_pdf_export = false | ) |
Definition at line 1592 of file class.ilObjWikiGUI.php.
References ilObjectGUI\$tpl, exit, ilObjStyleSheet\getContentPrintStyle(), getPrintPageIds(), ilObjStyleSheet\getSyntaxStylePath(), and setContentStyleSheet().
Referenced by pdfExportObject().
ilObjWikiGUI::randomPageObject | ( | ) |
Go to random page.
string | $a_page | page title |
Definition at line 1422 of file class.ilObjWikiGUI.php.
References ilObjectGUI\checkPermission(), ilWikiPage\getRandomPage(), and gotoPageObject().
ilObjWikiGUI::recentChangesObject | ( | ) |
Recent Changes.
Definition at line 1434 of file class.ilObjWikiGUI.php.
References ilObjectGUI\$tpl, addPagesSubTabs(), ilObjectGUI\checkPermission(), and setSideBlock().
ilObjWikiGUI::removeImportantPagesObject | ( | ) |
Remove important pages.
Definition at line 2008 of file class.ilObjWikiGUI.php.
References $_POST, ilObjectGUI\$ctrl, $i, $ilCtrl, ilObjectGUI\$lng, and ilObjectGUI\checkPermission().
|
static |
Side column.
Definition at line 1466 of file class.ilObjWikiGUI.php.
References $DIC, $ilCtrl, ilObjectGUI\$lng, ilObjectGUI\$tpl, ilObject\_lookupObjId(), ilObjWiki\_lookupRating(), ilObjWiki\_lookupRatingCategories(), ilRepositoryObjectSearchGUI\getSearchBlockHTML(), and ilWikiPage\lookupAdvancedMetadataHidden().
Referenced by ilWikiPageGUI\setSideBlock(), and setSideBlock().
ilObjWikiGUI::saveGradingObject | ( | ) |
Save grading.
Definition at line 1097 of file class.ilObjWikiGUI.php.
References $_POST, ilObjectGUI\$ctrl, $ilCtrl, ilObjectGUI\$lng, $users, ilWikiContributor\_lookupStatus(), ilWikiContributor\_writeStatus(), ilObjectGUI\checkPermission(), ilLPMarks\getComment(), and ilUtil\stripSlashes().
ilObjWikiGUI::saveObject | ( | ) |
save object public
Definition at line 347 of file class.ilObjWikiGUI.php.
References $_GET, $_POST, $error, ilObjectGUI\$ilErr, ilObjectGUI\$lng, ilObjectGUI\$tpl, checkPermissionBool(), ilObjWiki\checkShortTitleAvailability(), and initSettingsForm().
ilObjWikiGUI::saveOrderingAndIndentObject | ( | ) |
Save important pages ordering and indentation.
Definition at line 2027 of file class.ilObjWikiGUI.php.
References $_POST, ilObjectGUI\$ctrl, $ilCtrl, ilObjectGUI\$lng, and ilObjectGUI\checkPermission().
ilObjWikiGUI::saveSettingsObject | ( | ) |
Save Settings.
Definition at line 1005 of file class.ilObjWikiGUI.php.
References ilObjectGUI\$ctrl, $ilCtrl, $ilSetting, $ilUser, ilObjectGUI\$lng, ilObjectGUI\$object_service, ilObjectGUI\$settings, ilObjectGUI\$user, ilObjectGUI\checkPermission(), ilObjWiki\checkShortTitleAvailability(), ilObjectServiceSettingsGUI\CUSTOM_METADATA, initSettingsForm(), ilWikiPage\lookupTitle(), and ilObjectServiceSettingsGUI\updateServiceSettingsForm().
ilObjWikiGUI::saveStyleSettingsObject | ( | ) |
Save style settings.
Definition at line 1885 of file class.ilObjWikiGUI.php.
References $_POST, $ilSetting, ilObjectGUI\$settings, ilObjStyleSheet\_lookupStandard(), and ilUtil\stripSlashes().
ilObjWikiGUI::setAsStartPageObject | ( | ) |
Confirm important pages deletion.
Definition at line 2042 of file class.ilObjWikiGUI.php.
References $_POST, ilObjectGUI\$ctrl, $ilCtrl, ilObjectGUI\$lng, ilObjectGUI\checkPermission(), ilWikiPage\lookupTitle(), and ilUtil\sendInfo().
ilObjWikiGUI::setContentStyleSheet | ( | $a_tpl = null | ) |
Set content style sheet.
Definition at line 1731 of file class.ilObjWikiGUI.php.
References ilObjectGUI\$tpl, and ilObjStyleSheet\getContentStylePath().
Referenced by executeCommand(), printViewObject(), and viewPageObject().
ilObjWikiGUI::setSettingsSubTabs | ( | $a_active | ) |
Set sub tabs.
Definition at line 707 of file class.ilObjWikiGUI.php.
References ilObjectGUI\$access, ilObjectGUI\$ctrl, $ilCtrl, ilObjectGUI\$lng, and $tabs.
Referenced by editImportantPagesObject(), editSettingsObject(), editStylePropertiesObject(), and executeCommand().
ilObjWikiGUI::setSideBlock | ( | $a_wpg_id = 0 | ) |
Side column.
Definition at line 1457 of file class.ilObjWikiGUI.php.
References renderSideBlock().
Referenced by allPagesObject(), editSettingsObject(), editStylePropertiesObject(), executeCommand(), listContributorsObject(), newPagesObject(), orphanedPagesObject(), performSearchObject(), popularPagesObject(), and recentChangesObject().
ilObjWikiGUI::showTemplateSelectionObject | ( | ) |
Show template selection.
Definition at line 2103 of file class.ilObjWikiGUI.php.
References $_GET, ilObjectGUI\$ctrl, $form, $ilCtrl, ilObjectGUI\$lng, $tabs, ilObjectGUI\$tpl, initTemplateSelectionForm(), ilWikiUtil\makeUrlTitle(), and ilUtil\sendInfo().
ilObjWikiGUI::startUserHTMLExportObject | ( | ) |
Export html (as user)
Definition at line 2242 of file class.ilObjWikiGUI.php.
References ilObjectGUI\checkPermission().
ilObjWikiGUI::viewObject | ( | ) |
Start page.
Definition at line 325 of file class.ilObjWikiGUI.php.
References ilObjectGUI\checkPermission(), and gotoStartPageObject().
ilObjWikiGUI::viewPageObject | ( | ) |
view wiki page
Definition at line 1230 of file class.ilObjWikiGUI.php.
References $_GET, ilObjectGUI\$access, ilObjectGUI\$ctrl, $html, $ilCtrl, ilObjectGUI\$lng, $tabs, ilObjectGUI\$tpl, ilObjectGUI\checkPermission(), ilWikiPage\exists(), ilObjStyleSheet\getEffectiveContentStyleId(), ilWikiPageGUI\getGUIForTitle(), ilWikiUtil\makeDbTitle(), ilWikiUtil\makeUrlTitle(), ilUtil\sendInfo(), and setContentStyleSheet().
|
protected |
Definition at line 33 of file class.ilObjWikiGUI.php.
Referenced by infoScreen(), and saveObject().
|
protected |
Definition at line 38 of file class.ilObjWikiGUI.php.
Referenced by getTabs().
|
protected |
Definition at line 44 of file class.ilObjWikiGUI.php.
|
protected |
Definition at line 28 of file class.ilObjWikiGUI.php.
Referenced by addPagesSubTabs(), addPageTabs(), editImportantPagesObject(), editStylePropertiesObject(), executeCommand(), infoScreen(), initSettingsForm(), initStylePropertiesForm(), listContributorsObject(), performSearchObject(), setSettingsSubTabs(), showTemplateSelectionObject(), and viewPageObject().