tags.php
Table of Contents
Functions
- get_tags() : array<string|int, string>
- Return the list of all tags.
- get_texttags() : array<string|int, string>
- Return the list of all text tags.
- getTextTitle() : string
- get_tag_selectoptions() : string
- get_texttag_selectoptions() : string
- get_txtag_selectoptions() : string
- get_archivedtexttag_selectoptions() : string
- saveWordTags() : void
- Save the tags for words.
- saveTextTags() : void
- Save the tags for texts.
- saveArchivedTextTags() : void
- Save the tags for archived texts.
- getWordTags() : string
- getTextTags() : string
- Return a HTML-formatted list of the text tags.
- getArchivedTextTags() : string
- Return a HTML-formatted list of the text tags for an archived text.
- addtaglist() : string
- addarchtexttaglist() : string
- addtexttaglist() : string
- removetaglist() : string
- removearchtexttaglist() : string
- removetexttaglist() : string
Functions
get_tags()
Return the list of all tags.
    
                    get_tags([int $refresh = 0 ]) : array<string|int, string>
    
        Parameters
- $refresh : int = 0
- 
                    If true, refresh all tags for session 
Tags
Return values
array<string|int, string> —All tags
get_texttags()
Return the list of all text tags.
    
                    get_texttags([int $refresh = 0 ]) : array<string|int, string>
    
        Parameters
- $refresh : int = 0
- 
                    If true, refresh all text tags for session 
Tags
Return values
array<string|int, string> —All text tags
getTextTitle()
    
                    getTextTitle(mixed $textid) : string
    
        Parameters
- $textid : mixed
Return values
stringget_tag_selectoptions()
    
                    get_tag_selectoptions(mixed $v, mixed $l) : string
    
        Parameters
- $v : mixed
- $l : mixed
Return values
stringget_texttag_selectoptions()
    
                    get_texttag_selectoptions(mixed $v, mixed $l) : string
    
        Parameters
- $v : mixed
- $l : mixed
Return values
stringget_txtag_selectoptions()
    
                    get_txtag_selectoptions(mixed $l, mixed $v) : string
    
        Parameters
- $l : mixed
- $v : mixed
Return values
stringget_archivedtexttag_selectoptions()
    
                    get_archivedtexttag_selectoptions(mixed $v, mixed $l) : string
    
        Parameters
- $v : mixed
- $l : mixed
Return values
stringsaveWordTags()
Save the tags for words.
    
                    saveWordTags(mixed $wid) : void
    
        Parameters
- $wid : mixed
saveTextTags()
Save the tags for texts.
    
                    saveTextTags(mixed $tid) : void
    
        Parameters
- $tid : mixed
Tags
saveArchivedTextTags()
Save the tags for archived texts.
    
                    saveArchivedTextTags(mixed $tid) : void
    
        Parameters
- $tid : mixed
Tags
getWordTags()
    
                    getWordTags(mixed $wid) : string
    
        Parameters
- $wid : mixed
Return values
stringgetTextTags()
Return a HTML-formatted list of the text tags.
    
                    getTextTags(int $tid) : string
    
        Parameters
- $tid : int
- 
                    Text ID. Can be below 1 to create an empty list. 
Tags
Return values
string —UL list of text tags
getArchivedTextTags()
Return a HTML-formatted list of the text tags for an archived text.
    
                    getArchivedTextTags(int $tid) : string
    
        Parameters
- $tid : int
- 
                    Text ID. Can be below 1 to create an empty list. 
Tags
Return values
string —UL list of text tags
addtaglist()
    
                    addtaglist(mixed $item, mixed $list) : string
    
        Parameters
- $item : mixed
- $list : mixed
Return values
stringaddarchtexttaglist()
    
                    addarchtexttaglist(mixed $item, mixed $list) : string
    
        Parameters
- $item : mixed
- $list : mixed
Return values
stringaddtexttaglist()
    
                    addtexttaglist(mixed $item, mixed $list) : string
    
        Parameters
- $item : mixed
- $list : mixed
Return values
stringremovetaglist()
    
                    removetaglist(mixed $item, mixed $list) : string
    
        Parameters
- $item : mixed
- $list : mixed
Return values
stringremovearchtexttaglist()
    
                    removearchtexttaglist(mixed $item, mixed $list) : string
    
        Parameters
- $item : mixed
- $list : mixed
Return values
stringremovetexttaglist()
    
                    removetexttaglist(mixed $item, mixed $list) : string
    
        Parameters
- $item : mixed
- $list : mixed