1954. Class

1954.1. Zend\Uri\File

File URI handler

The ‘file:...’ scheme is loosely defined in RFC-1738

1954.1.1. Methods

1954.1.1.1. isValid

isValid()

Check if the URI is a valid File URI

This applies additional specific validation rules beyond the ones required by the generic URI syntax.

Return type:bool
See :

1954.1.1.2. setUserInfo

setUserInfo()

User Info part is not used in file URIs

Parameters:string
Return type:File

1954.1.1.3. setFragment

setFragment()

Fragment part is not used in file URIs

Parameters:string
Return type:File

1954.1.1.4. fromUnixPath

fromUnixPath()

Convert a UNIX file path to a valid file:// URL

Parameters:string
Return type:File

1954.1.1.5. fromWindowsPath

fromWindowsPath()

Convert a Windows file path to a valid file:// URL

Parameters:string
Return type:File

Project Versions

Table Of Contents

Previous topic

1953. Class

Next topic

1955. Class

This Page