SoaContent
final class SoaContent (View source)
Splits stored SOA content into its seven named fields for display.
Constants
| FIELD_KEYS |
|
Methods
static array|null
parse(string $content)
No description
static string|null
duration(string $seconds)
Compact duration in the largest whole units, e.g. 10800 is "3h" and 90000 is "1d 1h".
Details
static array|null
parse(string $content)
No description
static string|null
duration(string $seconds)
Compact duration in the largest whole units, e.g. 10800 is "3h" and 90000 is "1d 1h".
assets/textareaAutoResize.js (soaDuration) must produce the same output.