Function __global->get_version_pretty__from_dotted
Definitions
sources/version2.php
- Get a pretty version number for a software version.This pretty style is not used in the software code per se, but is shown to users and hence the software may need to recognise it when searching news posts, download databases, etc.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: string
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $dotted | string | No | No | required parameter | N/A | N/A | Dotted version number (optionally in long-dotted format) |
Returns
- Pretty version number
- Type: string
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Get a pretty version number for a software version.This pretty style is not used in the software code per se, but is shown to users and hence the software may need to recognise it when searching news posts, download databases, etc.
*
* @param string $dotted Dotted version number (optionally in long-dotted format)
* @return string Pretty version number
*/
function get_version_pretty__from_dotted(string $dotted) : string
* Get a pretty version number for a software version.This pretty style is not used in the software code per se, but is shown to users and hence the software may need to recognise it when searching news posts, download databases, etc.
*
* @param string $dotted Dotted version number (optionally in long-dotted format)
* @return string Pretty version number
*/
function get_version_pretty__from_dotted(string $dotted) : string
