|
XCL Web Application Platform 2.5.0
The XoopsCube Legacy Project
|
Public Member Functions | |
| __construct () | |
| Private Constructor. In other words, it's impossible to generate an instance of this class. | |
| formatMessage () | |
| formatMessageByMap ( $subject, $arr) | |
| recursiveRemove (string $delete_path) | |
| preloadActive (string $pre_disable, string $pre_active) | |
Static Public Member Functions | |
| static | redirectHeader ( $url, $time, $messages=null) |
| [Static] The alias for the current controller::redirectHeader(). This function will be deprecated. | |
| static | formatString () |
| [Static] Formats string with special care for international. | |
| static | encrypt (string $plain_text, string $key=null) |
| [Static] To encrypt strings by "DES-ECB". | |
| static | decrypt (string $crypt_text, string $key=null) |
| [Static] To decrypt strings by "DES-ECB". | |
Definition at line 13 of file XCube_Utils.class.php.
| __construct | ( | ) |
Private Constructor. In other words, it's impossible to generate an instance of this class.
Definition at line 18 of file XCube_Utils.class.php.
|
static |
[Static] To decrypt strings by "DES-ECB".
| string | $crypt_text | |
| string | null | $key |
Definition at line 164 of file XCube_Utils.class.php.
|
static |
[Static] To encrypt strings by "DES-ECB".
| string | $plain_text | |
| string | null | $key |
Definition at line 117 of file XCube_Utils.class.php.
| formatMessage | ( | ) |
Definition at line 215 of file XCube_Utils.class.php.
| formatMessageByMap | ( | $subject, | |
| $arr ) |
| $subject | |
| $arr |
Definition at line 243 of file XCube_Utils.class.php.
|
static |
[Static] Formats string with special care for international.
This method renders a String with modifiers and parameters. Parameters are .NET style, not printf style. Because .NET style is clear.
It's possible to add a modifier to the parameter placeholders with ':' mark.
This function is useful for messages automatically combined by message catalogues.
Definition at line 70 of file XCube_Utils.class.php.
| preloadActive | ( | string | $pre_disable, |
| string | $pre_active ) |
Preload Active Copy preload from directory /preload/disabled
| string | $pre_disable | |
| string | $pre_active |
Definition at line 279 of file XCube_Utils.class.php.
| recursiveRemove | ( | string | $delete_path | ) |
Recursively delete directory /install
| string | $delete_path |
Definition at line 259 of file XCube_Utils.class.php.
|
static |
[Static] The alias for the current controller::redirectHeader(). This function will be deprecated.
| string | $url | |
| int | $time | |
| null | $messages |
Definition at line 34 of file XCube_Utils.class.php.