|
ILIAS
release_5-0 Revision 5.0.0-1144-gc4397b1f870
|
Inheritance diagram for ilObjWiki:
Collaboration diagram for ilObjWiki:Public Member Functions | |
| ilObjWiki ($a_id=0, $a_call_by_reference=true) | |
| Constructor @access public. More... | |
| setOnline ($a_online) | |
| Set Online. More... | |
| getOnline () | |
| Get Online. More... | |
| setRatingOverall ($a_rating) | |
| Set Enable Rating For Object. More... | |
| getRatingOverall () | |
| Get Enable Rating For Object. More... | |
| setRating ($a_rating) | |
| Set Enable Rating. More... | |
| getRating () | |
| Get Enable Rating. More... | |
| setRatingAsBlock ($a_rating) | |
| Set Enable Rating Side Block. More... | |
| getRatingAsBlock () | |
| Get Enable Rating Side Block. More... | |
| setRatingForNewPages ($a_rating) | |
| Set Enable Rating For New Pages. More... | |
| getRatingForNewPages () | |
| Get Enable Rating For New Pages. More... | |
| setRatingCategories ($a_rating) | |
| Set Enable Rating Categories. More... | |
| getRatingCategories () | |
| Get Enable Rating Categories. More... | |
| setPublicNotes ($a_val) | |
| Set public notes. More... | |
| getPublicNotes () | |
| Get public notes. More... | |
| setImportantPages ($a_val) | |
| Set important pages. More... | |
| getImportantPages () | |
| Get important pages. More... | |
| setStartPage ($a_startpage) | |
| Set Start Page. More... | |
| getStartPage () | |
| Get Start Page. More... | |
| setShortTitle ($a_shorttitle) | |
| Set ShortTitle. More... | |
| getShortTitle () | |
| Get ShortTitle. More... | |
| setIntroduction ($a_introduction) | |
| Set Introduction. More... | |
| getIntroduction () | |
| Get Introduction. More... | |
| getStyleSheetId () | |
| get ID of assigned style sheet object More... | |
| setStyleSheetId ($a_style_id) | |
| set ID of assigned style sheet object More... | |
| setPageToc ($a_val) | |
| Set page toc. More... | |
| getPageToc () | |
| Get page toc. More... | |
| setEmptyPageTemplate ($a_val) | |
| Set empty page template. More... | |
| getEmptyPageTemplate () | |
| Get empty page template. More... | |
| create ($a_prevent_start_page_creation=false) | |
| Create new wiki. More... | |
| update ($a_prevent_start_page_creation=false) | |
| update object data More... | |
| read () | |
| Read wiki data. More... | |
| delete () | |
| delete object and all related data More... | |
| notify ($a_event, $a_ref_id, $a_parent_non_rbac_id, $a_node_id, $a_params=0) | |
| notifys an object about an event occured Based on the event happend, each object may decide how it reacts. More... | |
| addImportantPage ($a_page_id, $a_nr=0, $a_indent=0) | |
| Add important page. More... | |
| isImportantPage ($a_page_id) | |
| Is page an important page? More... | |
| removeImportantPage ($a_id) | |
| Remove important page. More... | |
| saveOrderingAndIndentation ($a_ord, $a_indent) | |
| Save ordering and indentation. More... | |
| fixImportantPagesNumbering () | |
| Fix important pages numbering. More... | |
| cloneObject ($a_target_id, $a_copy_id=0) | |
| Clone wiki. More... | |
| getTemplateSelectionOnCreation () | |
| Get template selection on creation? If more than one template (including empty page template) is activated -> return true. More... | |
| createWikiPage ($a_page_title, $a_template_page=0) | |
| Create new wiki page. More... | |
Public Member Functions inherited from ilObject | |
| ilObject ($a_id=0, $a_reference=true) | |
| Constructor @access public. More... | |
| withReferences () | |
| determines wehter objects are referenced or not (got ref ids or not) More... | |
| read ($a_force_db=false) | |
| read object data from db into object More... | |
| getId () | |
| get object id @access public More... | |
| setId ($a_id) | |
| set object id @access public More... | |
| setRefId ($a_id) | |
| set reference id @access public More... | |
| getRefId () | |
| get reference id @access public More... | |
| getType () | |
| get object type @access public More... | |
| setType ($a_type) | |
| set object type @access public More... | |
| getPresentationTitle () | |
| get presentation title Normally same as title Overwritten for sessions More... | |
| getTitle () | |
| get object title @access public More... | |
| getUntranslatedTitle () | |
| get untranslated object title @access public More... | |
| setTitle ($a_title) | |
| set object title More... | |
| getDescription () | |
| get object description More... | |
| setDescription ($a_desc) | |
| set object description More... | |
| getLongDescription () | |
| get object long description (stored in object_description) More... | |
| getImportId () | |
| get import id More... | |
| setImportId ($a_import_id) | |
| set import id More... | |
| getOwner () | |
| get object owner More... | |
| getOwnerName () | |
| _lookupOwnerName ($a_owner_id) | |
| lookup owner name for owner id More... | |
| setOwner ($a_owner) | |
| set object owner More... | |
| getCreateDate () | |
| get create date @access public More... | |
| getLastUpdateDate () | |
| get last update date @access public More... | |
| getDiskUsage () | |
| setObjDataRecord ($a_record) | |
| set object_data record (note: this method should only be called from the ilObjectFactory class) More... | |
| create () | |
| create More... | |
| update () | |
| update object in db More... | |
| MDUpdateListener ($a_element) | |
| Meta data update listener. More... | |
| createMetaData () | |
| create meta data entry More... | |
| updateMetaData () | |
| update meta data entry More... | |
| deleteMetaData () | |
| delete meta data entry More... | |
| updateOwner () | |
| update owner of object in db More... | |
| _getIdForImportId ($a_import_id) | |
| get current object id for import id (static) More... | |
| _lookupOwner ($a_id) | |
| lookup object owner More... | |
| _lookupLastUpdate ($a_id, $a_as_string=false) | |
| lookup last update More... | |
| _getLastUpdateOfObjects ($a_objs) | |
| Get last update for a set of media objects. More... | |
| _setDeletedDate ($a_ref_id) | |
| only called in ilTree::saveSubTree More... | |
| _resetDeletedDate ($a_ref_id) | |
| only called in ilObjectGUI::insertSavedNodes More... | |
| _lookupDeletedDate ($a_ref_id) | |
| only called in ilObjectGUI::insertSavedNodes More... | |
| _writeTitle ($a_obj_id, $a_title) | |
| write title to db (static) More... | |
| _writeDescription ($a_obj_id, $a_desc) | |
| write description to db (static) More... | |
| _writeImportId ($a_obj_id, $a_import_id) | |
| write import id to db (static) More... | |
| _isInTrash ($a_ref_id) | |
| checks wether object is in trash More... | |
| _hasUntrashedReference ($a_obj_id) | |
| checks wether an object has at least one reference that is not in trash More... | |
| _getObjectsDataForType ($a_type, $a_omit_trash=false) | |
| get all objects of a certain type More... | |
| putInTree ($a_parent_ref) | |
| maybe this method should be in tree object!? More... | |
| setPermissions ($a_parent_ref) | |
| set permissions of object More... | |
| setParentRolePermissions ($a_parent_ref) | |
| Initialize the permissions of parent roles (local roles of categories, global roles...) This method is overwritten in e.g courses, groups for building permission intersections with non_member templates. More... | |
| createReference () | |
| creates reference for object More... | |
| countReferences () | |
| count references of object More... | |
| 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 If you want to setup default local roles you MUST overwrite this method in derived object classes (see ilObjForum for an example) @access public More... | |
| applyDidacticTemplate ($a_tpl_id) | |
| Apply template. More... | |
| notify ($a_event, $a_ref_id, $a_parent_non_rbac_id, $a_node_id, $a_params=0) | |
| notifys an object about an event occured Based on the event passed, each object may decide how it reacts. More... | |
| setRegisterMode ($a_bool) | |
| isUserRegistered ($a_user_id=0) | |
| requireRegistration () | |
| getXMLZip () | |
| getHTMLDirectory () | |
| cloneObject ($a_target_id, $a_copy_id=0, $a_omit_tree=false) | |
| Clone object permissions, put in tree ... More... | |
| appendCopyInfo ($a_target_id, $a_copy_id) | |
| Prepend Copy info if object with same name exists in that container. More... | |
| cloneDependencies ($a_target_id, $a_copy_id) | |
| Clone object dependencies. More... | |
| cloneMetaData ($target_obj) | |
| Copy meta data. More... | |
| _lookupCreationDate ($a_id) | |
| Lookup creation date. More... | |
Static Public Member Functions | |
| static | isOnlineHelpWiki ($a_ref_id) |
| Is wiki an online help wiki? More... | |
| static | checkShortTitleAvailability ($a_short_title) |
| Check availability of short title. More... | |
| static | _lookupRatingOverall ($a_wiki_id) |
| Lookup whether rating is activated for whole object. More... | |
| static | _lookupRating ($a_wiki_id) |
| Lookup whether rating is activated. More... | |
| static | _lookupRatingCategories ($a_wiki_id) |
| Lookup whether rating categories are activated. More... | |
| static | _lookupRatingAsBlock ($a_wiki_id) |
| Lookup whether rating side block is activated. More... | |
| static | _lookupPublicNotes ($a_wiki_id) |
| Lookup whether public notes are activated. More... | |
| static | _lookupStartPage ($a_wiki_id) |
| Lookup start page. More... | |
| static | writeStartPage ($a_id, $a_name) |
| Write start page. More... | |
| static | _performSearch ($a_wiki_id, $a_searchterm) |
| Search in Wiki. More... | |
| static | _lookupImportantPages ($a_wiki_id) |
| Lookup whether important pages are activated. More... | |
| static | _lookupImportantPagesList ($a_wiki_id) |
| Get important pages list. More... | |
| static | _lookupMaxOrdNrImportantPages ($a_wiki_id) |
| Get important pages list. More... | |
| static | _lookupPageToc ($a_wiki_id) |
| Lookup whether important pages are activated. More... | |
| static | getAdvMDSubItemTitle ($a_obj_id, $a_sub_type, $a_sub_id) |
Static Public Member Functions inherited from ilObject | |
| static | _lookupObjIdByImportId ($a_import_id) |
| static | _getAllReferences ($a_id) |
| get all reference ids of object More... | |
| static | _lookupTitle ($a_id) |
| lookup object title More... | |
| static | _getIdsForTitle ($title, $type='', $partialmatch=false) |
| static | _lookupDescription ($a_id) |
| lookup object description More... | |
| static | _lookupObjId ($a_id) |
| static | setDeletedDates ($a_ref_ids) |
| Set deleted date @global type $ilDB. More... | |
| static | _lookupType ($a_id, $a_reference=false) |
| lookup object type More... | |
| static | _lookupObjectId ($a_ref_id) |
| lookup object id More... | |
| static | _exists ($a_id, $a_reference=false, $a_type=null) |
| checks if an object exists in object_data@access public More... | |
| static | _getObjectsByType ($a_obj_type="", $a_owner="") |
| Get objects by type. More... | |
| static | _prepareCloneSelection ($a_ref_ids, $new_type, $show_path=true) |
| Prepare copy wizard object selection. More... | |
| static | _getIcon ($a_obj_id="", $a_size="big", $a_type="", $a_offline=false) |
| Get icon for repository item. More... | |
| static | collectDeletionDependencies (&$deps, $a_ref_id, $a_obj_id, $a_type, $a_depth=0) |
| Collect deletion dependencies. More... | |
| static | getDeletionDependencies ($a_obj_id) |
| Get deletion dependencies. More... | |
| static | getLongDescriptions (array $a_obj_ids) |
| Get long description data. More... | |
| static | getAllOwnedRepositoryObjects ($a_user_id) |
| Get all ids of objects user owns. More... | |
| static | hasAutoRating ($a_type, $a_ref_id) |
| Check if auto rating is active for parent group/course. More... | |
| static | getAdvMDSubItemTitle ($a_obj_id, $a_sub_type, $a_sub_id) |
Protected Attributes | |
| $online = false | |
| $public_notes = true | |
| $empty_page_templ = true | |
Static Private Member Functions | |
| static | _lookup ($a_wiki_id, $a_field) |
| Lookup a data field. More... | |
Additional Inherited Members | |
Data Fields inherited from ilObject | |
| const | TITLE_LENGTH = 255 |
| max length of object title More... | |
| const | DESC_LENGTH = 128 |
| $ilias | |
| $lng | |
| $id | |
| $ref_id | |
| $type | |
| $title | |
| $untranslatedTitle | |
| $desc | |
| $long_desc | |
| $owner | |
| $create_date | |
| $last_update | |
| $import_id | |
| $register = false | |
| $referenced | |
| $objectList | |
| $max_title | |
| $max_desc | |
| $add_dots | |
| $obj_data_record | |
| object_data record More... | |
|
staticprivate |
Lookup a data field.
| int | $a_wiki_id | Wiki ID |
| string | $a_field | Field Name |
Definition at line 628 of file class.ilObjWiki.php.
Referenced by _lookupImportantPages(), _lookupPageToc(), _lookupPublicNotes(), _lookupRating(), _lookupRatingAsBlock(), _lookupRatingCategories(), _lookupRatingOverall(), and _lookupStartPage().
Here is the caller graph for this function:
|
static |
Lookup whether important pages are activated.
| int | $a_wiki_id | Wiki ID |
Definition at line 716 of file class.ilObjWiki.php.
References _lookup().
Here is the call graph for this function:
|
static |
Get important pages list.
return
Definition at line 727 of file class.ilObjWiki.php.
References $ilDB.
Referenced by ilImportantPagesTableGUI\__construct(), cloneObject(), ilObjWikiGUI\editImportantPagesObject(), ilWikiImportantPagesBlockGUI\fillDataSection(), fixImportantPagesNumbering(), and saveOrderingAndIndentation().
Here is the caller graph for this function:
|
static |
Get important pages list.
return
Definition at line 750 of file class.ilObjWiki.php.
References $ilDB.
Referenced by addImportantPage().
Here is the caller graph for this function:
|
static |
Lookup whether important pages are activated.
| int | $a_wiki_id | Wiki ID |
Definition at line 928 of file class.ilObjWiki.php.
References _lookup().
Referenced by ilWikiPageConfig\configureByObjectId().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Lookup whether public notes are activated.
| int | $a_wiki_id | Wiki ID |
Definition at line 615 of file class.ilObjWiki.php.
References _lookup().
Referenced by ilWikiPageGUI\addHeaderAction(), and ilWikiPageGUI\preview().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Lookup whether rating is activated.
| int | $a_wiki_id | Wiki ID |
Definition at line 579 of file class.ilObjWiki.php.
References _lookup().
Referenced by ilWikiFunctionsBlockGUI\fillDataSection(), and ilObjWikiGUI\renderSideBlock().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Lookup whether rating side block is activated.
| int | $a_wiki_id | Wiki ID |
Definition at line 603 of file class.ilObjWiki.php.
References _lookup().
Here is the call graph for this function:
|
static |
Lookup whether rating categories are activated.
| int | $a_wiki_id | Wiki ID |
Definition at line 591 of file class.ilObjWiki.php.
References _lookup().
Referenced by ilObjWikiGUI\renderSideBlock().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Lookup whether rating is activated for whole object.
| int | $a_wiki_id | Wiki ID |
Definition at line 567 of file class.ilObjWiki.php.
References _lookup().
Referenced by ilWikiPageGUI\addHeaderAction().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Lookup start page.
| int | $a_wiki_id | Wiki ID |
Definition at line 646 of file class.ilObjWiki.php.
References _lookup().
Referenced by ilWikiHandlerGUI\executeCommand(), ilWikiFunctionsBlockGUI\fillDataSection(), ilWikiImportantPagesBlockGUI\fillDataSection(), ilObjWikiGUI\getGotoLink(), ilWikiPage\getOrphanedPages(), and ilWikiPage\rename().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Search in Wiki.
Definition at line 668 of file class.ilObjWiki.php.
References ilObjectSearchFactory\_getWikiContentSearchInstance().
Referenced by ilObjWikiGUI\performSearchObject(), and ilWikiPageGUI\searchWikiLinkAC().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjWiki::addImportantPage | ( | $a_page_id, | |
$a_nr = 0, |
|||
$a_indent = 0 |
|||
| ) |
Add important page.
| int | page id |
Definition at line 768 of file class.ilObjWiki.php.
References $ilDB, _lookupMaxOrdNrImportantPages(), ilObject\getId(), and isImportantPage().
Here is the call graph for this function:
|
static |
Check availability of short title.
Definition at line 479 of file class.ilObjWiki.php.
Referenced by ilObjWikiGUI\saveObject(), and ilObjWikiGUI\saveSettingsObject().
Here is the caller graph for this function:| ilObjWiki::cloneObject | ( | $a_target_id, | |
$a_copy_id = 0 |
|||
| ) |
Clone wiki.
| int | target ref_id |
| int | copy id |
Definition at line 939 of file class.ilObjWiki.php.
References $ilDB, ilObject\$ilias, $ilUser, ilCopyWizardOptions\_getInstance(), _lookupImportantPagesList(), ilObjStyleSheet\_lookupStandard(), ilRatingCategory\getAllForObject(), ilWikiPage\getAllPages(), ilObject\getId(), getImportantPages(), getIntroduction(), getOnline(), ilWikiPage\getPageIdForTitle(), getPageToc(), getPublicNotes(), getRating(), getRatingAsBlock(), getRatingCategories(), getRatingForNewPages(), getRatingOverall(), getShortTitle(), getStartPage(), getStyleSheetId(), and ilObject\getTitle().
Here is the call graph for this function:| ilObjWiki::create | ( | $a_prevent_start_page_creation = false | ) |
Create new wiki.
Definition at line 327 of file class.ilObjWiki.php.
References $ilDB, getEmptyPageTemplate(), ilObject\getId(), getIntroduction(), getOnline(), getPublicNotes(), getRating(), getShortTitle(), getStartPage(), getStyleSheetId(), and ilObjStyleSheet\writeStyleUsage().
Here is the call graph for this function:| ilObjWiki::createWikiPage | ( | $a_page_title, | |
$a_template_page = 0 |
|||
| ) |
Create new wiki page.
| string | $a_page_title | page title |
| int | $a_template_page | template page id |
Definition at line 1055 of file class.ilObjWiki.php.
References $t, ilAdvancedMDValues\_cloneValues(), getEmptyPageTemplate(), ilObject\getId(), getRating(), getRatingForNewPages(), ilObject\getRefId(), ilWikiUtil\makeDbTitle(), and ilWikiPageTemplate\TYPE_NEW_PAGES.
Here is the call graph for this function:| ilObjWiki::delete | ( | ) |
delete object and all related data
@access public
Reimplemented from ilObject.
Definition at line 451 of file class.ilObjWiki.php.
References $ilDB, $query, ilWikiPage\deleteAllPagesOfWiki(), ilObject\getId(), ilNotification\removeForObject(), and ilNotification\TYPE_WIKI.
Here is the call graph for this function:| ilObjWiki::fixImportantPagesNumbering | ( | ) |
Fix important pages numbering.
Definition at line 884 of file class.ilObjWiki.php.
References $ilDB, _lookupImportantPagesList(), and ilObject\getId().
Referenced by removeImportantPage().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Implements ilAdvancedMetaDataSubItems.
Definition at line 1106 of file class.ilObjWiki.php.
References ilObject\$lng, and ilWikiPage\lookupTitle().
Here is the call graph for this function:| ilObjWiki::getEmptyPageTemplate | ( | ) |
Get empty page template.
Definition at line 305 of file class.ilObjWiki.php.
References $empty_page_templ.
Referenced by create(), createWikiPage(), getTemplateSelectionOnCreation(), and update().
Here is the caller graph for this function:| ilObjWiki::getImportantPages | ( | ) |
Get important pages.
Definition at line 189 of file class.ilObjWiki.php.
Referenced by cloneObject(), and update().
Here is the caller graph for this function:| ilObjWiki::getIntroduction | ( | ) |
Get Introduction.
Definition at line 249 of file class.ilObjWiki.php.
Referenced by cloneObject(), create(), and update().
Here is the caller graph for this function:| ilObjWiki::getOnline | ( | ) |
Get Online.
Definition at line 53 of file class.ilObjWiki.php.
References $online.
Referenced by cloneObject(), create(), and update().
Here is the caller graph for this function:| ilObjWiki::getPageToc | ( | ) |
Get page toc.
Definition at line 285 of file class.ilObjWiki.php.
Referenced by cloneObject(), and update().
Here is the caller graph for this function:| ilObjWiki::getPublicNotes | ( | ) |
Get public notes.
Definition at line 169 of file class.ilObjWiki.php.
References $public_notes.
Referenced by cloneObject(), create(), and update().
Here is the caller graph for this function:| ilObjWiki::getRating | ( | ) |
Get Enable Rating.
Definition at line 93 of file class.ilObjWiki.php.
Referenced by cloneObject(), create(), createWikiPage(), and update().
Here is the caller graph for this function:| ilObjWiki::getRatingAsBlock | ( | ) |
Get Enable Rating Side Block.
Definition at line 113 of file class.ilObjWiki.php.
Referenced by cloneObject(), and update().
Here is the caller graph for this function:| ilObjWiki::getRatingCategories | ( | ) |
Get Enable Rating Categories.
Definition at line 153 of file class.ilObjWiki.php.
Referenced by cloneObject(), and update().
Here is the caller graph for this function:| ilObjWiki::getRatingForNewPages | ( | ) |
Get Enable Rating For New Pages.
Definition at line 133 of file class.ilObjWiki.php.
Referenced by cloneObject(), createWikiPage(), and update().
Here is the caller graph for this function:| ilObjWiki::getRatingOverall | ( | ) |
Get Enable Rating For Object.
Definition at line 73 of file class.ilObjWiki.php.
Referenced by cloneObject(), and update().
Here is the caller graph for this function:| ilObjWiki::getShortTitle | ( | ) |
Get ShortTitle.
Definition at line 229 of file class.ilObjWiki.php.
Referenced by cloneObject(), create(), and update().
Here is the caller graph for this function:| ilObjWiki::getStartPage | ( | ) |
Get Start Page.
Definition at line 209 of file class.ilObjWiki.php.
Referenced by cloneObject(), create(), and update().
Here is the caller graph for this function:| ilObjWiki::getStyleSheetId | ( | ) |
get ID of assigned style sheet object
Definition at line 257 of file class.ilObjWiki.php.
Referenced by cloneObject(), create(), and update().
Here is the caller graph for this function:| ilObjWiki::getTemplateSelectionOnCreation | ( | ) |
Get template selection on creation? If more than one template (including empty page template) is activated -> return true.
Definition at line 1034 of file class.ilObjWiki.php.
References getEmptyPageTemplate(), ilObject\getId(), and ilWikiPageTemplate\TYPE_NEW_PAGES.
Here is the call graph for this function:| ilObjWiki::ilObjWiki | ( | $a_id = 0, |
|
$a_call_by_reference = true |
|||
| ) |
Constructor @access public.
| integer | reference_id or object_id |
| boolean | treat the id as reference_id (true) or object_id (false) |
Definition at line 32 of file class.ilObjWiki.php.
References ilObject\ilObject().
Here is the call graph for this function:| ilObjWiki::isImportantPage | ( | $a_page_id | ) |
Is page an important page?
return
Definition at line 795 of file class.ilObjWiki.php.
References $ilDB.
Referenced by addImportantPage().
Here is the caller graph for this function:
|
static |
Is wiki an online help wiki?
Definition at line 315 of file class.ilObjWiki.php.
Referenced by ilObjWikiGUI\isOnlineHelpWiki().
Here is the caller graph for this function:| ilObjWiki::notify | ( | $a_event, | |
| $a_ref_id, | |||
| $a_parent_non_rbac_id, | |||
| $a_node_id, | |||
$a_params = 0 |
|||
| ) |
notifys an object about an event occured Based on the event happend, each object may decide how it reacts.
If you are not required to handle any events related to your module, just delete this method. (For an example how this method is used, look at ilObjGroup)
@access public
| string | event |
| integer | reference id of object where the event occured |
| array | passes optional parameters if required |
Reimplemented from ilObject.
Definition at line 507 of file class.ilObjWiki.php.
References $_GET, and ilObject\getType().
Here is the call graph for this function:| ilObjWiki::read | ( | ) |
Read wiki data.
Definition at line 414 of file class.ilObjWiki.php.
References $ilDB, $query, ilObject\getId(), ilObjStyleSheet\lookupObjectStyle(), setEmptyPageTemplate(), setImportantPages(), setIntroduction(), setOnline(), setPageToc(), setPublicNotes(), setRating(), setRatingAsBlock(), setRatingCategories(), setRatingForNewPages(), setRatingOverall(), setShortTitle(), setStartPage(), and setStyleSheetId().
Here is the call graph for this function:| ilObjWiki::removeImportantPage | ( | $a_id | ) |
Remove important page.
| int | page id |
Definition at line 815 of file class.ilObjWiki.php.
References $ilDB, and fixImportantPagesNumbering().
Here is the call graph for this function:| ilObjWiki::saveOrderingAndIndentation | ( | $a_ord, | |
| $a_indent | |||
| ) |
Save ordering and indentation.
return
Definition at line 833 of file class.ilObjWiki.php.
References $ilDB, _lookupImportantPagesList(), ilObject\getId(), and ilUtil\sortArray().
Here is the call graph for this function:| ilObjWiki::setEmptyPageTemplate | ( | $a_val | ) |
Set empty page template.
| boolean | $a_val | empty page template |
Definition at line 295 of file class.ilObjWiki.php.
Referenced by read().
Here is the caller graph for this function:| ilObjWiki::setImportantPages | ( | $a_val | ) |
Set important pages.
| boolean | $a_val | important pages |
Definition at line 179 of file class.ilObjWiki.php.
Referenced by read().
Here is the caller graph for this function:| ilObjWiki::setIntroduction | ( | $a_introduction | ) |
Set Introduction.
| string | $a_introduction | Introduction |
Definition at line 239 of file class.ilObjWiki.php.
Referenced by read().
Here is the caller graph for this function:| ilObjWiki::setOnline | ( | $a_online | ) |
Set Online.
| boolean | $a_online | Online |
Definition at line 43 of file class.ilObjWiki.php.
Referenced by read().
Here is the caller graph for this function:| ilObjWiki::setPageToc | ( | $a_val | ) |
Set page toc.
| boolean | $a_val | page toc |
Definition at line 275 of file class.ilObjWiki.php.
Referenced by read().
Here is the caller graph for this function:| ilObjWiki::setPublicNotes | ( | $a_val | ) |
Set public notes.
Definition at line 161 of file class.ilObjWiki.php.
Referenced by read().
Here is the caller graph for this function:| ilObjWiki::setRating | ( | $a_rating | ) |
Set Enable Rating.
| boolean | $a_rating | Enable Rating |
Definition at line 83 of file class.ilObjWiki.php.
Referenced by read().
Here is the caller graph for this function:| ilObjWiki::setRatingAsBlock | ( | $a_rating | ) |
Set Enable Rating Side Block.
| boolean | $a_rating |
Definition at line 103 of file class.ilObjWiki.php.
Referenced by read().
Here is the caller graph for this function:| ilObjWiki::setRatingCategories | ( | $a_rating | ) |
Set Enable Rating Categories.
| boolean | $a_rating |
Definition at line 143 of file class.ilObjWiki.php.
Referenced by read().
Here is the caller graph for this function:| ilObjWiki::setRatingForNewPages | ( | $a_rating | ) |
Set Enable Rating For New Pages.
| boolean | $a_rating |
Definition at line 123 of file class.ilObjWiki.php.
Referenced by read().
Here is the caller graph for this function:| ilObjWiki::setRatingOverall | ( | $a_rating | ) |
Set Enable Rating For Object.
| boolean | $a_rating | Enable Rating |
Definition at line 63 of file class.ilObjWiki.php.
Referenced by read().
Here is the caller graph for this function:| ilObjWiki::setShortTitle | ( | $a_shorttitle | ) |
Set ShortTitle.
| string | $a_shorttitle | ShortTitle |
Definition at line 219 of file class.ilObjWiki.php.
Referenced by read().
Here is the caller graph for this function:| ilObjWiki::setStartPage | ( | $a_startpage | ) |
Set Start Page.
| string | $a_startpage | Start Page |
Definition at line 199 of file class.ilObjWiki.php.
References ilWikiUtil\makeDbTitle().
Referenced by read().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjWiki::setStyleSheetId | ( | $a_style_id | ) |
set ID of assigned style sheet object
Definition at line 265 of file class.ilObjWiki.php.
Referenced by read().
Here is the caller graph for this function:| ilObjWiki::update | ( | $a_prevent_start_page_creation = false | ) |
update object data
@access public
Definition at line 367 of file class.ilObjWiki.php.
References $ilDB, ilWikiPage\exists(), getEmptyPageTemplate(), ilObject\getId(), getImportantPages(), getIntroduction(), getOnline(), getPageToc(), getPublicNotes(), getRating(), getRatingAsBlock(), getRatingCategories(), getRatingForNewPages(), getRatingOverall(), getShortTitle(), getStartPage(), getStyleSheetId(), and ilObjStyleSheet\writeStyleUsage().
Here is the call graph for this function:
|
static |
Write start page.
Definition at line 654 of file class.ilObjWiki.php.
References $ilDB, and ilWikiUtil\makeDbTitle().
Referenced by ilWikiPage\rename().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 24 of file class.ilObjWiki.php.
Referenced by getEmptyPageTemplate().
|
protected |
Definition at line 22 of file class.ilObjWiki.php.
Referenced by getOnline().
|
protected |
Definition at line 23 of file class.ilObjWiki.php.
Referenced by getPublicNotes().