Install plugin
Handle upgrading of mod rewrite needed database table columns
void
install
()
Delete plugin
Removed done changes to database during installation/upgrade process
void
uninstall
()
Upgrade plugin
Handle upgrading of mod rewrite needed database table columns
void
upgrade
()
Check articles on websafe name
Check all articles in the current category on existing same websafe name
boolean
_inArticles
([string $sName = ''], [integer $iArtId = 0], [integer $iLangId = 0], [integer $iCatId = 0])
-
string
$sName: Websafe name to check
-
integer
$iArtId: current article id
-
integer
$iLangId: current language id
-
integer
$iCatId: current category id
Check categories on websafe name
Check all categories in the main parent category on existing same websafe name
boolean
_inCategory
([string $sName = ''], [integer $iCatId = 0], [integer $iLangId = 0])
-
string
$sName: Websafe name to check
-
integer
$iCatId: current category id
-
integer
$iLangId: current language id
Set websafe name in article list
insert new websafe name in article list
boolean
_setArticle
([string $sName = ""], [integer $iArtId = 0], [integer $iLangId = 0], [ $iCatId = 0])
-
string
$sName: original name (will be converted)
-
integer
$iArtId: current article id
-
integer
$iLangId: current language id
-
$iCatId
Set websafe name in category list
insert new websafe name in category list
boolean
_setCategory
([string $sName = ''], [integer $iCatId = 0], [integer $iLangId = 0])
-
string
$sName: original name (will be converted)
-
integer
$iCatId: current article id
-
integer
$iLangId: current language id
Build and set recursiv path for mod_rewrite rule like server directories (dir1/dir2/dir3)
string
_setCategoryPath
([int $iCatId = 0], [int $iLangId = 0], [int $iLastId = 0])
-
int
$iCatId: Latest category id
-
int
$iLangId: Language id
-
int
$iLastId: Last category id