PHP Class MockFS_Node

Exibir arquivo Open project: lucatume/wp-browser Class Usage Examples

Public Properties

Property Type Description
$name
$path The type of the entry 'f' for file, 'd' for Directory
$type The "name" of the entry, does not include a slash (exception, root)

Public Methods

Method Description
__construct ( $path ) The full path to the entry.
is_dir ( )
is_file ( )

Method Details

__construct() public method

The full path to the entry.
public __construct ( $path )

is_dir() public method

public is_dir ( )

is_file() public method

public is_file ( )

Property Details

$name public_oe property

public $name

$path public_oe property

The type of the entry 'f' for file, 'd' for Directory
public $path

$type public_oe property

The "name" of the entry, does not include a slash (exception, root)
public $type