static bool addSystemMessage(
string
$level, string
$message, [
$location = false]
)
|
|
adds a system message
Parameters:
|
string |
$level: |
Message-Level, common levels: Notice, Error, Hidden |
|
string |
$message: |
Message-Content |
|
|
$location: |
|
API Tags:
| Return: | this function always returns true |
| Access: | public |
Information Tags:
| Author: | Matthias Reuter |
| Since: | 2.0 |
static true setLang(
string
$lang
)
|
|
Set's current SDK language
Parameters:
|
string |
$lang: |
language-name |
API Tags:
| Return: | if language was loaded, otherwise false |
| Access: | public |
Information Tags:
| Author: | Matthias Reuter |
| Since: | 2.0 |
static void updateSession(
)
|
|
Update Member Session Informations
API Tags:
Information Tags:
| Author: | Matthias Reuter |
| Since: | 2.01 |
string date(
[int
$timeStamp = false], [string
$dateFormat = '%A, %d. %B %Y @ %T'], [int
$noBoard = false], [int
$noMember = false]
)
|
|
Returns textual/timestamp offsetted date by board and by member offset and DST setting.
Parameters:
|
int |
$timeStamp: |
Numeric representation of the time beeing formatted |
|
string |
$dateFormat: |
strftime() compliant format (see PHP manual) |
|
int |
$noBoard: |
true = Offset with Board Time firstly, default = false |
|
int |
$noMember: |
true = Bypass member's time offset and DST, default = false |
API Tags:
| Return: | formatted, localized date |
| Access: | public |
Information Tags:
board-var-value, getBoardVar(
string
$var
)
|
|
gets the requested board-var
Parameters:
|
string |
$var: |
board-var-name |
API Tags:
| Return: | returns false if not exists |
| Access: | public |
Information Tags:
| Author: | Matthias Reuter |
| Since: | 2.0 |
native getLibLang(
[string
$var = false]
)
|
|
gets the language-var from actual requested native language-bit
Parameters:
|
string |
$var: |
language-var-name |
API Tags:
| Return: | language bit or error msg |
| Access: | public |
Information Tags:
| Author: | Matthias Reuter |
| Since: | 2.0 |
informations about the current IPBWI and PHP installation
API Tags:
| Return: | HTML-code including the informations |
| Access: | public |
Information Tags:
| Author: | Matthias Reuter |
| Since: | 2.0 |
Redefined in descendants as:
proper makeSafe(
string
$var
)
|
|
filtering html-strings, e.g. for db-queries
Parameters:
API Tags:
| Return: | and safe string |
| Access: | public |
Information Tags:
| Author: | Matthias Reuter |
| Since: | 2.0 |
true printSystemMessages(
[string
$level = false], [
$simple = false]
)
|
|
prints system messages
Parameters:
|
string |
$level: |
Message-Level, common levels: Notice, Error, Hidden |
|
|
$simple: |
|
API Tags:
| Return: | HTML-Code containing requested messages |
| Access: | public |
Information Tags:
| Author: | Matthias Reuter |
| Since: | 2.0 |
proper properXHTML(
string
$var
)
|
|
filtering HTML strings
Parameters:
API Tags:
| Return: | XHTML string |
| Access: | public |
Information Tags:
| Author: | Matthias Reuter |
| Since: | 2.0 |