Documentation

File

Base class for files (exclusing folders)

Tags
copyright

Cloudrexx AG

author

Robin Glauser robin.glauser@comvation.com

author

Thomas Däppen thomas.daeppen@cloudrexx.com

author

Michael Ritter michael.ritter@cloudrexx.com

subpackage

core_mediasource

Table of Contents

Methods

__toString()  : mixed
Returns the full file path (path and filename including extension)
getExtension()  : string
Returns this file's extension
getFileSystem()  : FileSystem
Returns the FileSystem for this file
getFullName()  : string
Returns the filename (without path including extension) for this file
getMimeType()  : string
Returns the MIME type of this file
getName()  : string
Returns the filename (without path and extension) for this file
getPath()  : string
Returns the path (without filename) for this file

Methods

__toString()

Returns the full file path (path and filename including extension)

public __toString() : mixed

getExtension()

Returns this file's extension

public getExtension() : string
Return values
string

File extension

getFullName()

Returns the filename (without path including extension) for this file

public getFullName() : string
Return values
string

Filename without path including extension

getMimeType()

Returns the MIME type of this file

public getMimeType() : string
Return values
string

MIME type

getName()

Returns the filename (without path and extension) for this file

public getName() : string
Return values
string

Filename without path and extension

getPath()

Returns the path (without filename) for this file

public getPath() : string
Return values
string

Path without filename


        
On this page

Search results