|
| getObjectName () |
|
| getUri () |
|
| getBlockContent ($iBlockId, $sLang=false, $iRevision=false) |
|
| getContents ($sAllExceptSpecified='', $sOnlySpecified='') |
|
| getMissingTranslations ($sLang=false) |
|
| getOutdatedTranslations ($sLang=false) |
|
| isAllowed ($sType, $iProfileId=false) |
|
| addPage ($sPageUri, $sTitleLangKey) |
|
| actionGetTranslation () |
|
| actionDeleteVersion () |
|
| actionAddPage () |
|
| actionAdd () |
|
| actionDeleteBlock () |
|
| actionHistory () |
|
| actionTranslate () |
|
| actionEdit ($bTranslate=false) |
|
| actionConvertLinks () |
|
| updateBlockIndexingData ($iBlockId) |
|
| getVarsForHistory ($iBlockId, $sLang) |
|
|
| __construct ($aObject) |
|
| getPageUrl ($sPageUri, $bPermalink=true, $bAddRootUrl=true) |
|
| isContentChanged ($iBlockId, $sLang, $sContent) |
|
| getFieldRev ($oForm, $sLang, $aWikiVer) |
|
| getFieldMainLangFlag ($oForm, $sLang, $aWikiVer) |
|
| getFieldUnsafeFlag ($oForm, $sLang, $aWikiVer) |
|
| getLangsForInput ($iBlockId, $bTranslateForm, &$sMainLangLabel, &$aWikiVerMain, &$sLangForTranslate) |
|
WIKI object.
It's possble to create different WIKI object which will different URLs, Menus and permissions. For example it's possible to create http://example.com/wiki/somepageshere and http://example.com/docs/anotherpageshere
Creating the WIKI object:
Add record to 'sys_objects_wiki' table:
- object: name of the WIKI object, this name will be user in URL as well, for example, 'wiki' will have URLs like this: http://example.com/wiki/somepageshere
- uri: wiki module URI
- title: title of the WIKI, for example, documentation, help, tutorial
- module: module name WIKI object belongs to
- override_class_name: user defined class name
- override_class_file: the location of the user defined class, leave it empty if class is located in system folders.
Add record to 'sys_rewrite_rules' table:
- preg - regular expression which matches some URL
- service - service method to call if abbe regular expression matches
- active - active flag
Add record to 'sys_permalinks' table:
- standard - how link should look like when permalinks are off
- permalink - how link should look like when permalinks are on, some special server configuration may be required to make permalink to work, such as 'mod_rewrite' and .htaccess file for Apache
- check - option name which enables/disables permalinks
- compare_by_prefix - compare by prefix