|
| autogallery ($u) |
| Returns the code to display a photogallery. More...
|
|
| rp ($p) |
| Returns the canonicalized absolute pathname on success. More...
|
|
| amp () |
| Returns & or & according to the setting of ‘$cf['xhtml’]['amp']`. More...
|
|
| guestbooklink () |
| Returns the link to the guestbook. More...
|
|
| chkdl ($fl) |
| Returns whether the file exists in the download folder and is available for download. More...
|
|
| rf ($fl) |
| Returns the content of file $filename, if it does exist, null otherwise. More...
|
|
| chkfile ($fl, $writable) |
| Checks wether the file exists, is readable, and if $writeable is true, is writeable. More...
|
|
| preCallPlugins ($pageIndex=-1) |
| Function preCallPlugins() => Pre-Call of Plugins. More...
|
|
| writelog ($m) |
| Appends a message to the logfile. More...
|
|
◆ amp()
Returns &
or &
according to the setting of ‘$cf['xhtml’]['amp']`.
- Returns
- string HTML
- Deprecated:
- since 1.5.4. Use
&
instead.
◆ autogallery()
Returns the code to display a photogallery.
- Parameters
-
string | $u | Autogallery's installation folder. |
- Returns
- string HTML
- Deprecated:
- since 1.5.4. Use a gallery plugin instead.
◆ chkdl()
Returns whether the file exists in the download folder and is available for download.
- Parameters
-
string | $fl | The download URL, e.g. ?download=file.ext |
- Returns
- bool
- Deprecated:
- since 1.6.
◆ chkfile()
chkfile |
( |
|
$fl, |
|
|
|
$writable |
|
) |
| |
Checks wether the file exists, is readable, and if $writeable is true, is writeable.
Appends an according message to $e otherwise.
- Parameters
-
string | $fl | A key of $pth['file']. |
bool | $writable | Whether the file has to writable. |
- Returns
- void
- Deprecated:
- since 1.6.
◆ guestbooklink()
Returns the link to the guestbook.
- Returns
- string HTML
- Deprecated:
- since 1.5.4
◆ preCallPlugins()
preCallPlugins |
( |
|
$pageIndex = -1 | ) |
|
Function preCallPlugins() => Pre-Call of Plugins.
All Plugins which are called through a function-call can use this. At the moment it is'nt possible to do this with class-based plugins. They need to be called through standard-CMSimple-Scripting.
Call a plugin: place this in your code (example): {{{PLUGIN:pluginfunction('parameters');}}}
Call a built-in function (at the moment only one for demonstration): {{{HOME}}} or: {{{HOME:name_of_Link}}} This creates a link to the first page of your CMSimple- Installation.
- Parameters
-
int | $pageIndex | The page index. |
- Returns
- void
- Author
- mvwd
- Since
- 1.0
- Deprecated:
- since 1.6
◆ rf()
Returns the content of file $filename, if it does exist, null otherwise.
- Parameters
-
- Returns
- ?string
- Deprecated:
- since 1.6
◆ rp()
Returns the canonicalized absolute pathname on success.
Otherwise returns its input.
- Parameters
-
- Returns
- string
- Deprecated:
- since 1.5.4. Use realpath() instead.
◆ writelog()
Appends a message to the logfile.
On failure an according message is appended to $e.
- Parameters
-
- Returns
- void
- Deprecated:
- since 1.6