Documentation

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
global

string $tbpref Table name prefix

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
global

string $tbpref Table name prefix

Return values
array<string|int, string>

All text tags

getTextTitle()

getTextTitle(mixed $textid) : string
Parameters
$textid : mixed
Return values
string

get_tag_selectoptions()

get_tag_selectoptions(mixed $v, mixed $l) : string
Parameters
$v : mixed
$l : mixed
Return values
string

get_texttag_selectoptions()

get_texttag_selectoptions(mixed $v, mixed $l) : string
Parameters
$v : mixed
$l : mixed
Return values
string

get_txtag_selectoptions()

get_txtag_selectoptions(mixed $l, mixed $v) : string
Parameters
$l : mixed
$v : mixed
Return values
string

get_archivedtexttag_selectoptions()

get_archivedtexttag_selectoptions(mixed $v, mixed $l) : string
Parameters
$v : mixed
$l : mixed
Return values
string

saveWordTags()

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
global

string $tbpref Database table prefix.

saveArchivedTextTags()

Save the tags for archived texts.

saveArchivedTextTags(mixed $tid) : void
Parameters
$tid : mixed
Tags
global

string $tbpref Databse table prefix.

getWordTags()

getWordTags(mixed $wid) : string
Parameters
$wid : mixed
Return values
string

getTextTags()

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
global

string $tbpref Database table prefix

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
global

string $tbpref Database table prefix

Return values
string

UL list of text tags

addtaglist()

addtaglist(mixed $item, mixed $list) : string
Parameters
$item : mixed
$list : mixed
Return values
string

addarchtexttaglist()

addarchtexttaglist(mixed $item, mixed $list) : string
Parameters
$item : mixed
$list : mixed
Return values
string

addtexttaglist()

addtexttaglist(mixed $item, mixed $list) : string
Parameters
$item : mixed
$list : mixed
Return values
string

removetaglist()

removetaglist(mixed $item, mixed $list) : string
Parameters
$item : mixed
$list : mixed
Return values
string

removearchtexttaglist()

removearchtexttaglist(mixed $item, mixed $list) : string
Parameters
$item : mixed
$list : mixed
Return values
string

removetexttaglist()

removetexttaglist(mixed $item, mixed $list) : string
Parameters
$item : mixed
$list : mixed
Return values
string

        
On this page

Search results