\CodeFareith\CfGoogleAuthenticator\UtilityPathUtility

Helper class to create extension links

This utility provides methods for effortless path generation.

Summary

Methods
Properties
Constants
makePath()
stripLeadingAndTrailingSlash()
stripLeadingSlash()
stripTrailingSlash()
makeExtensionPath()
makeLocalLangLinkPath()
$languageDirectoryPath
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$languageDirectoryPath

$languageDirectoryPath : 

Type

Methods

makePath()

makePath(string  segments) : 

Parameters

string segments

Returns

stripLeadingAndTrailingSlash()

stripLeadingAndTrailingSlash(string  string) : 

Parameters

string string

Returns

stripLeadingSlash()

stripLeadingSlash(string  string) : 

Parameters

string string

Returns

stripTrailingSlash()

stripTrailingSlash(string  string) : 

Parameters

string string

Returns

makeExtensionPath()

makeExtensionPath(string  relativePath) : 

Parameters

string relativePath

Returns

makeLocalLangLinkPath()

makeLocalLangLinkPath(string  id, string  file = null) : 

Parameters

string id
string file

Returns