名前空間 | |
XH | |
関数 | |
autogallery ($u) | |
rp ($p) | |
amp () | |
guestbooklink () | |
chkdl ($fl) | |
rf ($fl) | |
chkfile ($fl, $writable) | |
preCallPlugins ($pageIndex=-1) | |
writelog ($m) | |
Backward compatible functionality.
compat.php に定義があります。
amp | ( | ) |
Returns &
or &
according to the setting of `$cf['xhtml']['amp']`.
array The configuration of the core.
&
instead. compat.php の 80 行目に定義があります。
autogallery | ( | $u | ) |
Returns the code to display a photogallery.
string | $u | Autogallery's installation folder. |
string The URL of the active page.
compat.php の 29 行目に定義があります。
chkdl | ( | $fl | ) |
Returns whether the file exists in the download folder and is available for download.
string | $fl | The download URL, e.g. ?download=file.ext |
array The paths of system files and folders. string The script name.
compat.php の 121 行目に定義があります。
chkfile | ( | $fl, | |
$writable | |||
) |
Checks wether the file exists, is readable, and if $writeable is true, is writeable.
Appends an according message to $e otherwise.
string | $fl | A key of $pth['file']. |
bool | $writable | Whether the file has to writable. |
array The paths of system files and folders.
compat.php の 176 行目に定義があります。
guestbooklink | ( | ) |
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.
int | $pageIndex | The page index. |
bool Whether edit-mode is active. array The contents of all pages. int The Index of the active page. array The URLs of all pages.
compat.php の 226 行目に定義があります。
rf | ( | $fl | ) |
Returns the content of file $filename, if it does exist, null otherwise.
string | $fl | The file name. |
compat.php の 151 行目に定義があります。
rp | ( | $p | ) |
Returns the canonicalized absolute pathname on success. Otherwise returns its input.
string | $p | The file name. |
compat.php の 60 行目に定義があります。
writelog | ( | $m | ) |
Appends a message to the logfile.
On failure an according message is appended to $e.
string | $m | The log message. |
array The paths of system files and folders.
compat.php の 255 行目に定義があります。