API > eden > path.php
View Source

class Eden_Path

General available methods for common pathing issues

Public Methods

public function absolute($root = NULL)

Attempts to get the full absolute path as described on the server. The path given must exist.

Arguments

  1. string|null root path

Returns this

public function append($path)

Adds a path to the existing one

Arguments

  1. string[,string..]

Returns this

public function getArray()

Returns the path array

Returns array

public function offsetExists($offset)

isset using the ArrayAccess interface

Arguments

  1. number

Returns bool

public function offsetGet($offset)

returns data using the ArrayAccess interface

Arguments

  1. number

Returns bool

public function offsetSet($offset, $value)

Sets data using the ArrayAccess interface

Arguments

  1. number
  2. mixed

Returns void

public function offsetUnset($offset)}

unsets using the ArrayAccess interface

Arguments

  1. number

Returns bool

public function prepend($path)

Adds a path before the existing one

Arguments

  1. string[,string..]

Returns string

public function pop()

Remove the last path

Returns this

public function replace($path)

Replaces the last path with this one

Arguments

  1. string

Returns string

class Eden_Path_Error

Timezone Errors

Constants

  • FULL_PATH_NOT_FOUND: The path %s or %s was not found.

© 2012 Openovate Labs. All rights reserved.