|
ILIAS
release_8 Revision v8.24
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Inheritance diagram for ilObjWiki:
Collaboration diagram for ilObjWiki:Public Member Functions | |
| __construct (int $a_id=0, bool $a_call_by_reference=true) | |
| setOnline (bool $a_online) | |
| getOnline () | |
| setRatingOverall (bool $a_rating) | |
| getRatingOverall () | |
| setRating (bool $a_rating) | |
| getRating () | |
| setRatingAsBlock (bool $a_rating) | |
| getRatingAsBlock () | |
| setRatingForNewPages (bool $a_rating) | |
| getRatingForNewPages () | |
| setRatingCategories (bool $a_rating) | |
| getRatingCategories () | |
| setPublicNotes (bool $a_val) | |
| getPublicNotes () | |
| setStartPage (string $a_startpage) | |
| getStartPage () | |
| setShortTitle (string $a_shorttitle) | |
| getShortTitle () | |
| setIntroduction (string $a_introduction) | |
| getIntroduction () | |
| setPageToc (bool $a_val) | |
| getPageToc () | |
| setEmptyPageTemplate (bool $a_val) | |
| getEmptyPageTemplate () | |
| setLinkMetadataValues (bool $a_val) | |
| getLinkMetadataValues () | |
| create (bool $a_prevent_start_page_creation=false) | |
| update (bool $a_prevent_start_page_creation=false) | |
| read () | |
| delete () | |
| delete object and all related data More... | |
| addImportantPage (int $a_page_id, int $a_nr=0, int $a_indent=0) | |
| isImportantPage (int $a_page_id) | |
| removeImportantPage (int $a_id) | |
| saveOrderingAndIndentation (array $a_ord, array $a_indent) | |
| fixImportantPagesNumbering () | |
| cloneObject (int $target_id, int $copy_id=0, bool $omit_tree=false) | |
| getTemplateSelectionOnCreation () | |
| Get template selection on creation? If more than one template (including empty page template) is activated -> return true. More... | |
| createWikiPage (string $a_page_title, int $a_template_page=0) | |
| Create new wiki page. More... | |
| initUserHTMLExport (bool $with_comments=false) | |
| startUserHTMLExport (bool $with_comments=false) | |
| getUserHTMLExportProgress (bool $with_comments=false) | |
| Get user html export progress. More... | |
| deliverUserHTMLExport (bool $with_comments=false) | |
| decorateAdvMDValue (string $a_value) | |
| Decorate adv md value. More... | |
| isCommentsExportPossible () | |
| Is export possible. More... | |
Public Member Functions inherited from ilObject | |
| __construct (int $id=0, bool $reference=true) | |
| withReferences () | |
| determines whether objects are referenced or not (got ref ids or not) More... | |
| processAutoRating () | |
| read () | |
| getId () | |
| setId (int $id) | |
| setRefId (int $ref_id) | |
| getRefId () | |
| getType () | |
| setType (string $type) | |
| getPresentationTitle () | |
| get presentation title Normally same as title Overwritten for sessions More... | |
| getTitle () | |
| getUntranslatedTitle () | |
| Get untranslated object title WebDAV needs to access the untranslated title of an object. More... | |
| setTitle (string $title) | |
| getDescription () | |
| setDescription (string $desc) | |
| getLongDescription () | |
| get object long description (stored in object_description) More... | |
| getImportId () | |
| setImportId (string $import_id) | |
| setOfflineStatus (bool $status) | |
| getOfflineStatus () | |
| supportsOfflineHandling () | |
| getOwner () | |
| getOwnerName () | |
| get full name of object owner More... | |
| setOwner (int $usr_id) | |
| getCreateDate () | |
| Get create date in YYYY-MM-DD HH-MM-SS format. More... | |
| getLastUpdateDate () | |
| Get last update date in YYYY-MM-DD HH-MM-SS format. More... | |
| create () | |
| note: title, description and type should be set when this function is called More... | |
| update () | |
| MDUpdateListener (string $element) | |
| Metadata update listener. More... | |
| createMetaData () | |
| updateMetaData () | |
| deleteMetaData () | |
| updateOwner () | |
| update owner of object in db More... | |
| putInTree (int $parent_ref_id) | |
| maybe this method should be in tree object!? More... | |
| setPermissions (int $parent_ref_id) | |
| setParentRolePermissions (int $parent_ref_id) | |
| Initialize the permissions of parent roles (local roles of categories, global roles...) This method is overwritten in e.g. More... | |
| createReference () | |
| creates reference for object More... | |
| countReferences () | |
| delete () | |
| delete object or referenced object (in the case of a referenced object, object data is only deleted if last reference is deleted) This function removes an object entirely from system!! More... | |
| initDefaultRoles () | |
| init default roles settings Purpose of this function is to create a local role folder and local roles, that are needed depending on the object type. More... | |
| applyDidacticTemplate (int $tpl_id) | |
| getXMLZip () | |
| getHTMLDirectory () | |
| appendCopyInfo (int $target_id, int $copy_id) | |
| Prepend Copy info if object with same name exists in that container. More... | |
| cloneDependencies (int $target_id, int $copy_id) | |
| Clone object dependencies. More... | |
| cloneMetaData (ilObject $target_obj) | |
| Copy meta data. More... | |
| selfOrParentWithRatingEnabled () | |
| getPossibleSubObjects (bool $filter=true) | |
| get all possible sub objects of this type the object can decide which types of sub objects are possible jut in time overwrite if the decision distinguish from standard model More... | |
Static Public Member Functions | |
| static | checkShortTitleAvailability (string $a_short_title) |
| static | _lookupRatingOverall (int $a_wiki_id) |
| Lookup whether rating is activated for whole object. More... | |
| static | _lookupRating (int $a_wiki_id) |
| Lookup whether rating is activated. More... | |
| static | _lookupRatingCategories (int $a_wiki_id) |
| Lookup whether rating categories are activated. More... | |
| static | _lookupRatingAsBlock (int $a_wiki_id) |
| Lookup whether rating side block is activated. More... | |
| static | _lookupPublicNotes (int $a_wiki_id) |
| Lookup whether public notes are activated. More... | |
| static | _lookupLinkMetadataValues (int $a_wiki_id) |
| Lookup whether metadata should be auto linked. More... | |
| static | _lookupStartPage (int $a_wiki_id) |
| static | writeStartPage (int $a_id, string $a_name) |
| static | _performSearch (int $a_wiki_id, string $a_searchterm) |
| Search in Wiki. More... | |
| static | _lookupImportantPagesList (int $a_wiki_id) |
| static | _lookupMaxOrdNrImportantPages (int $a_wiki_id) |
| static | _lookupPageToc (int $a_wiki_id) |
| static | getAdvMDSubItemTitle (int $a_obj_id, string $a_sub_type, int $a_sub_id) |
Static Public Member Functions inherited from ilObject | |
| static | _lookupObjIdByImportId (string $import_id) |
| Get (latest) object id for an import id. More... | |
| static | _lookupImportId (int $obj_id) |
| static | _lookupOwnerName (int $owner_id) |
| Lookup owner name for owner id. More... | |
| static | _getIdForImportId (string $import_id) |
| static | _getAllReferences (int $id) |
| get all reference ids for object ID More... | |
| static | _lookupTitle (int $obj_id) |
| static | lookupOfflineStatus (int $obj_id) |
| Lookup offline status using objectDataCache. More... | |
| static | _lookupOwner (int $obj_id) |
| Lookup owner user ID for object ID. More... | |
| static | _getIdsForTitle (string $title, string $type='', bool $partial_match=false) |
| static | _lookupDescription (int $obj_id) |
| static | _lookupLastUpdate (int $obj_id, bool $formatted=false) |
| static | _getLastUpdateOfObjects (array $obj_ids) |
| static | _lookupObjId (int $ref_id) |
| static | _setDeletedDate (int $ref_id, int $deleted_by) |
| static | setDeletedDates (array $ref_ids, int $user_id) |
| static | _resetDeletedDate (int $ref_id) |
| static | _lookupDeletedDate (int $ref_id) |
| static | _writeTitle (int $obj_id, string $title) |
| write title to db (static) More... | |
| static | _writeDescription (int $obj_id, string $desc) |
| write description to db (static) More... | |
| static | _writeImportId (int $obj_id, string $import_id) |
| write import id to db (static) More... | |
| static | _lookupType (int $id, bool $reference=false) |
| static | _isInTrash (int $ref_id) |
| static | _hasUntrashedReference (int $obj_id) |
| checks whether an object has at least one reference that is not in trash More... | |
| static | _lookupObjectId (int $ref_id) |
| static | _getObjectsDataForType (string $type, bool $omit_trash=false) |
| get all objects of a certain type More... | |
| static | _exists (int $id, bool $reference=false, ?string $type=null) |
| checks if an object exists in object_data More... | |
| static | _getObjectsByType (string $obj_type="", int $owner=null) |
| static | _prepareCloneSelection (array $ref_ids, string $new_type, bool $show_path=true) |
| Prepare copy wizard object selection. More... | |
| static | _getIcon (int $obj_id=0, string $size="big", string $type="", bool $offline=false) |
| Get icon for repository item. More... | |
| static | collectDeletionDependencies (array &$deps, int $ref_id, int $obj_id, string $type, int $depth=0) |
| Collect deletion dependencies. More... | |
| static | getDeletionDependencies (int $obj_id) |
| Get deletion dependencies. More... | |
| static | getLongDescriptions (array $obj_ids) |
| static | getAllOwnedRepositoryObjects (int $user_id) |
| static | fixMissingTitles ($type, array &$obj_title_map) |
| Try to fix missing object titles. More... | |
| static | _lookupCreationDate (int $obj_id) |
| static | _getObjectTypeIdByTitle (string $type, \ilDBInterface $ilDB=null) |
| static | getAdvMDSubItemTitle (int $a_obj_id, string $a_sub_type, int $a_sub_id) |
Protected Member Functions | |
| updateInternalLinksOnCopy (array $map) | |
Protected Member Functions inherited from ilObject | |
| doMDUpdateListener (string $a_element) | |
| beforeMDUpdateListener (string $a_element) | |
| doCreateMetaData () | |
| beforeCreateMetaData () | |
| doUpdateMetaData () | |
| beforeUpdateMetaData () | |
| doDeleteMetaData () | |
| beforeDeleteMetaData () | |
| handleAutoRating () | |
| hasAutoRating () | |
Static Private Member Functions | |
| static | _lookup (int $a_wiki_id, string $a_field) |
| Lookup a data field. More... | |
Additional Inherited Members | |
Data Fields inherited from ilObject | |
| const | TITLE_LENGTH = 255 |
| const | DESC_LENGTH = 128 |
| const | LONG_DESC_LENGTH = 4000 |
| const | TABLE_OBJECT_DATA = "object_data" |
| array | $objectList |
| string | $untranslatedTitle |
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.
If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning Class ilObjWiki
Definition at line 24 of file class.ilObjWiki.php.
| ilObjWiki::__construct | ( | int | $id = 0, |
| bool | $reference = true |
||
| ) |
| int | $id | reference_id or object_id |
| bool | $reference | bool treat the id as reference_id (true) or object_id (false) |
Reimplemented from ilObject.
Definition at line 44 of file class.ilObjWiki.php.
References $DIC, ILIAS\GlobalScreen\Provider\__construct(), and ILIAS\Repository\user().
Here is the call graph for this function:
|
staticprivate |
Lookup a data field.
Definition at line 386 of file class.ilObjWiki.php.
|
static |
Definition at line 454 of file class.ilObjWiki.php.
Referenced by ilImportantPagesTableGUI\__construct(), ilObjWikiGUI\editImportantPagesObject(), and ilWikiImportantPagesBlockGUI\getLegacyContent().
Here is the caller graph for this function:
|
static |
Lookup whether metadata should be auto linked.
Definition at line 377 of file class.ilObjWiki.php.
|
static |
Definition at line 473 of file class.ilObjWiki.php.
|
static |
Definition at line 619 of file class.ilObjWiki.php.
Referenced by ilWikiPageConfig\configureByObjectId().
Here is the caller graph for this function:
|
static |
Lookup whether public notes are activated.
Definition at line 369 of file class.ilObjWiki.php.
Referenced by ilWikiPageGUI\getCommentsHTMLExport(), and ilWikiPageGUI\preview().
Here is the caller graph for this function:
|
static |
Lookup whether rating is activated.
Definition at line 345 of file class.ilObjWiki.php.
Referenced by ilWikiFunctionsBlockGUI\getLegacyContent().
Here is the caller graph for this function:
|
static |
Lookup whether rating side block is activated.
Definition at line 361 of file class.ilObjWiki.php.
|
static |
Lookup whether rating categories are activated.
Definition at line 353 of file class.ilObjWiki.php.
|
static |
Lookup whether rating is activated for whole object.
Definition at line 337 of file class.ilObjWiki.php.
|
static |
Definition at line 399 of file class.ilObjWiki.php.
Referenced by ilWikiHandlerGUI\executeCommand(), ilObjWikiGUI\getGotoLink(), ilWikiFunctionsBlockGUI\getLegacyContent(), and ilWikiImportantPagesBlockGUI\getLegacyContent().
Here is the caller graph for this function:
|
static |
Search in Wiki.
Definition at line 420 of file class.ilObjWiki.php.
Referenced by ilObjWikiGUI\performSearchObject(), and ilWikiPageGUI\searchWikiLinkAC().
Here is the caller graph for this function:| ilObjWiki::addImportantPage | ( | int | $a_page_id, |
| int | $a_nr = 0, |
||
| int | $a_indent = 0 |
||
| ) |
Definition at line 490 of file class.ilObjWiki.php.
References $ilDB, and ILIAS\Survey\Mode\getId().
Here is the call graph for this function:
|
static |
Definition at line 313 of file class.ilObjWiki.php.
Referenced by ilObjWikiGUI\saveObject(), and ilObjWikiGUI\saveSettingsObject().
Here is the caller graph for this function:| ilObjWiki::cloneObject | ( | int | $target_id, |
| int | $copy_id = 0, |
||
| bool | $omit_tree = false |
||
| ) |
Definition at line 625 of file class.ilObjWiki.php.
References $target_id, ilAdvancedMDValues\_cloneValues(), ilCopyWizardOptions\_getInstance(), ilContainer\_lookupContainerSetting(), ilContainer\_writeContainerSetting(), ilObjectServiceSettingsGUI\CUSTOM_METADATA, ilRatingCategory\getAllForObject(), ilWikiPage\getAllWikiPages(), ILIAS\Survey\Mode\getId(), and ilWikiPage\getPageIdForTitle().
Here is the call graph for this function:| ilObjWiki::create | ( | bool | $a_prevent_start_page_creation = false | ) |
Definition at line 193 of file class.ilObjWiki.php.
| ilObjWiki::createWikiPage | ( | string | $a_page_title, |
| int | $a_template_page = 0 |
||
| ) |
Create new wiki page.
Definition at line 758 of file class.ilObjWiki.php.
References ILIAS\Survey\Mode\getId(), and ilWikiPageTemplate\TYPE_NEW_PAGES.
Here is the call graph for this function:| ilObjWiki::decorateAdvMDValue | ( | string | $a_value | ) |
Decorate adv md value.
| string | $a_value | value |
Definition at line 871 of file class.ilObjWiki.php.
References $url, ilWikiPage\_wikiPageExists(), ilObjWikiGUI\getGotoLink(), and ILIAS\Survey\Mode\getId().
Here is the call graph for this function:| ilObjWiki::delete | ( | ) |
delete object and all related data
Reimplemented from ilObject.
Definition at line 291 of file class.ilObjWiki.php.
References $ilDB, $query, ilWikiPage\deleteAllPagesOfWiki(), ILIAS\Survey\Mode\getId(), ilNotification\removeForObject(), and ilNotification\TYPE_WIKI.
Here is the call graph for this function:| ilObjWiki::deliverUserHTMLExport | ( | bool | $with_comments = false | ) |
Definition at line 855 of file class.ilObjWiki.php.
| ilObjWiki::fixImportantPagesNumbering | ( | ) |
Definition at line 587 of file class.ilObjWiki.php.
References $ilDB, and ILIAS\Survey\Mode\getId().
Here is the call graph for this function:
|
static |
Implements ilAdvancedMetaDataSubItems.
Definition at line 805 of file class.ilObjWiki.php.
References $lng, and ilWikiPage\lookupTitle().
Here is the call graph for this function:| ilObjWiki::getEmptyPageTemplate | ( | ) |
Definition at line 178 of file class.ilObjWiki.php.
References $empty_page_templ.
| ilObjWiki::getIntroduction | ( | ) |
Definition at line 158 of file class.ilObjWiki.php.
References $introduction.
| ilObjWiki::getLinkMetadataValues | ( | ) |
Definition at line 188 of file class.ilObjWiki.php.
References $link_md_values.
| ilObjWiki::getOnline | ( | ) |
| ilObjWiki::getPageToc | ( | ) |
| ilObjWiki::getPublicNotes | ( | ) |
Definition at line 128 of file class.ilObjWiki.php.
References $public_notes.
| ilObjWiki::getRating | ( | ) |
| ilObjWiki::getRatingAsBlock | ( | ) |
| ilObjWiki::getRatingCategories | ( | ) |
Definition at line 118 of file class.ilObjWiki.php.
References $rating_categories.
| ilObjWiki::getRatingForNewPages | ( | ) |
Definition at line 108 of file class.ilObjWiki.php.
References $rating_new_pages.
| ilObjWiki::getRatingOverall | ( | ) |
| ilObjWiki::getShortTitle | ( | ) |
Definition at line 148 of file class.ilObjWiki.php.
References $shorttitle.
| ilObjWiki::getStartPage | ( | ) |
| ilObjWiki::getTemplateSelectionOnCreation | ( | ) |
Get template selection on creation? If more than one template (including empty page template) is activated -> return true.
Definition at line 743 of file class.ilObjWiki.php.
References ILIAS\Survey\Mode\getId(), ILIAS\Repository\int(), and ilWikiPageTemplate\TYPE_NEW_PAGES.
Here is the call graph for this function:| ilObjWiki::getUserHTMLExportProgress | ( | bool | $with_comments = false | ) |
Get user html export progress.
Definition at line 845 of file class.ilObjWiki.php.
| ilObjWiki::initUserHTMLExport | ( | bool | $with_comments = false | ) |
Definition at line 821 of file class.ilObjWiki.php.
| ilObjWiki::isCommentsExportPossible | ( | ) |
Is export possible.
Definition at line 884 of file class.ilObjWiki.php.
References ilSetting\get(), and ilPrivacySettings\getInstance().
Here is the call graph for this function:| ilObjWiki::isImportantPage | ( | int | $a_page_id | ) |
Definition at line 512 of file class.ilObjWiki.php.
| ilObjWiki::read | ( | ) |
Reimplemented from ilObject.
Definition at line 261 of file class.ilObjWiki.php.
References $ilDB, $query, and ILIAS\Survey\Mode\getId().
Here is the call graph for this function:| ilObjWiki::removeImportantPage | ( | int | $a_id | ) |
Definition at line 528 of file class.ilObjWiki.php.
| ilObjWiki::saveOrderingAndIndentation | ( | array | $a_ord, |
| array | $a_indent | ||
| ) |
Definition at line 542 of file class.ilObjWiki.php.
| ilObjWiki::setEmptyPageTemplate | ( | bool | $a_val | ) |
Definition at line 173 of file class.ilObjWiki.php.
| ilObjWiki::setIntroduction | ( | string | $a_introduction | ) |
Definition at line 153 of file class.ilObjWiki.php.
| ilObjWiki::setLinkMetadataValues | ( | bool | $a_val | ) |
Definition at line 183 of file class.ilObjWiki.php.
| ilObjWiki::setOnline | ( | bool | $a_online | ) |
Definition at line 61 of file class.ilObjWiki.php.
| ilObjWiki::setPageToc | ( | bool | $a_val | ) |
Definition at line 163 of file class.ilObjWiki.php.
| ilObjWiki::setPublicNotes | ( | bool | $a_val | ) |
Definition at line 123 of file class.ilObjWiki.php.
| ilObjWiki::setRating | ( | bool | $a_rating | ) |
Definition at line 83 of file class.ilObjWiki.php.
| ilObjWiki::setRatingAsBlock | ( | bool | $a_rating | ) |
Definition at line 93 of file class.ilObjWiki.php.
| ilObjWiki::setRatingCategories | ( | bool | $a_rating | ) |
Definition at line 113 of file class.ilObjWiki.php.
| ilObjWiki::setRatingForNewPages | ( | bool | $a_rating | ) |
Definition at line 103 of file class.ilObjWiki.php.
| ilObjWiki::setRatingOverall | ( | bool | $a_rating | ) |
Definition at line 72 of file class.ilObjWiki.php.
| ilObjWiki::setShortTitle | ( | string | $a_shorttitle | ) |
Definition at line 143 of file class.ilObjWiki.php.
| ilObjWiki::setStartPage | ( | string | $a_startpage | ) |
Definition at line 133 of file class.ilObjWiki.php.
References ilWikiUtil\makeDbTitle().
Here is the call graph for this function:| ilObjWiki::startUserHTMLExport | ( | bool | $with_comments = false | ) |
Definition at line 831 of file class.ilObjWiki.php.
| ilObjWiki::update | ( | bool | $a_prevent_start_page_creation = false | ) |
Definition at line 222 of file class.ilObjWiki.php.
|
protected |
Definition at line 718 of file class.ilObjWiki.php.
References ilInternalLink\_getTargetsOfSource().
Here is the call graph for this function:
|
static |
Definition at line 404 of file class.ilObjWiki.php.
References $DIC, $ilDB, and ilWikiUtil\makeDbTitle().
Here is the call graph for this function:
|
protected |
Definition at line 42 of file class.ilObjWiki.php.
|
protected |
Definition at line 39 of file class.ilObjWiki.php.
Referenced by getEmptyPageTemplate().
|
protected |
Definition at line 28 of file class.ilObjWiki.php.
Referenced by getIntroduction().
|
protected |
Definition at line 40 of file class.ilObjWiki.php.
Referenced by getLinkMetadataValues().
|
protected |
Definition at line 37 of file class.ilObjWiki.php.
Referenced by getOnline().
|
protected |
Definition at line 26 of file class.ilObjWiki.php.
Referenced by getPageToc().
|
protected |
Definition at line 38 of file class.ilObjWiki.php.
Referenced by getPublicNotes().
|
protected |
Definition at line 33 of file class.ilObjWiki.php.
Referenced by getRating().
|
protected |
Definition at line 34 of file class.ilObjWiki.php.
Referenced by getRatingAsBlock().
|
protected |
Definition at line 31 of file class.ilObjWiki.php.
Referenced by getRatingCategories().
|
protected |
Definition at line 32 of file class.ilObjWiki.php.
Referenced by getRatingForNewPages().
|
protected |
Definition at line 35 of file class.ilObjWiki.php.
Referenced by getRatingOverall().
|
protected |
Definition at line 41 of file class.ilObjWiki.php.
|
protected |
Definition at line 29 of file class.ilObjWiki.php.
Referenced by getShortTitle().
|
protected |
Definition at line 30 of file class.ilObjWiki.php.
Referenced by getStartPage().
|
protected |
Definition at line 27 of file class.ilObjWiki.php.
|
protected |
Definition at line 36 of file class.ilObjWiki.php.