\Location

Location

Summary

Methods
Properties
Constants
splitPath()
getDir()
isWritable()
$path
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$path

$path : 

var

Type

Methods

splitPath()

splitPath(  dir) : mixed||string|int

Split a file path into array elements

Parameters

dir

Returns

mixed||string|int —

getDir()

getDir(  prefix,   encoded,   html,   up) : 

Get the current directory.

Parameters

prefix

Include the prefix ("./")

encoded

URL-encode the string

html

HTML-encode the string

up

No. levels to go up

Returns

directory n-levels up

isWritable()

isWritable() : 

Is directory writable

Returns