Method | Description | |
---|---|---|
buildAutoCreatedChildNodeIdentifier ( string $childNodeName, string $identifier ) : string | Generate a stable identifier for auto-created child nodes | |
renderValidNodeName ( string $name ) : string | Transforms a text (for example a node title) into a valid node name by removing invalid characters and transliterating special characters if possible. | |
sortDimensionValueArrayAndReturnDimensionsHash ( array &$dimensionValues ) : string | Sorts the incoming $dimensionValues array to make sure that before hashing, the ordering is made deterministic. |
public static renderValidNodeName ( string $name ) : string | ||
$name | string | The possibly invalid node name |
return | string | A valid node name |
public static sortDimensionValueArrayAndReturnDimensionsHash ( array &$dimensionValues ) : string | ||
$dimensionValues | array | Map of dimension names to dimension values, which will be ordered alphabetically after this method. |
return | string | the calculated DimensionsHash |