|
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".
|
|
◆ decrypt()
static decrypt |
( |
string | $crypt_text, |
|
|
string | $key = null ) |
|
static |
[Static] To decrypt strings by "DES-ECB".
- Parameters
-
string | $crypt_text | |
string | null | $key | |
- Returns
- string - Decrypted string.
◆ encrypt()
static encrypt |
( |
string | $plain_text, |
|
|
string | $key = null ) |
|
static |
[Static] To encrypt strings by "DES-ECB".
- Parameters
-
string | $plain_text | |
string | null | $key | |
- Returns
- string - Encrypted string.
◆ formatMessage()
◆ formatMessageByMap()
formatMessageByMap |
( |
| $subject, |
|
|
| $arr ) |
- Parameters
-
- Returns
- string|string[]
- Deprecated
- XCube 1.0 will remove this method.
◆ formatString()
[Static] Formats string with special care for international.
- Returns
- string - Rendered string.
This method renders a String with modifiers and parameters. Parameters are .NET style, not printf style. Because .NET style is clear.
static formatString()
[Static] Formats string with special care for international.
Definition XCube_Utils.class.php:70
It's possible to add a modifier to the parameter placeholders with ':' mark.
This function is useful for messages automatically combined by message catalogues.
- Modifiers
- -li ufFirst - Upper the first character of the parameter's value. -li toUpper - Upper the parameter's value. -li toLower - Lower the parameter's value.
◆ preloadActive()
preloadActive |
( |
string | $pre_disable, |
|
|
string | $pre_active ) |
Preload Active Copy preload from directory /preload/disabled
- Parameters
-
string | $pre_disable | |
string | $pre_active | |
◆ recursiveRemove()
recursiveRemove |
( |
string | $delete_path | ) |
|
Recursively delete directory /install
- Parameters
-
◆ redirectHeader()
static redirectHeader |
( |
| $url, |
|
|
| $time, |
|
|
| $messages = null ) |
|
static |
[Static] The alias for the current controller::redirectHeader(). This function will be deprecated.
- Parameters
-
string | $url | |
int | $time | |
null | $messages | |
- Returns
- void
- Deprecated
- XCube 1.0 will remove this method. Don't use static function of XCube layer for redirect.
The documentation for this class was generated from the following file:
- C:/Ampps/www/legacy250/html/core/XCube_Utils.class.php