PHP Class Todaymade\Daux\Tree\Entry

Afficher le fichier Open project: justinwalsh/daux.io Class Usage Examples

Protected Properties

Свойство Type Description
$info SplFileInfo
$name string
$parent Directory
$path string
$title string
$uri string

Méthodes publiques

Méthode Description
__construct ( Directory $parent, string $uri, SplFileInfo $info = null )
dump ( )
getFileinfo ( ) : SplFileInfo
getName ( ) : string
getParent ( ) : Directory
getParents ( ) : Directory[] Return all parents starting with the root
getPath ( ) : string
getRelativePath ( ) : string Get the path to the file from the root of the documentation
getTitle ( ) : string
getUri ( ) : string
getUrl ( ) : string
setName ( string $name )
setTitle ( string $title )
setUri ( string $uri )

Méthodes protégées

Méthode Description
setParent ( Directory $parent )

Method Details

__construct() public méthode

public __construct ( Directory $parent, string $uri, SplFileInfo $info = null )
$parent Directory
$uri string
$info SplFileInfo

dump() public méthode

public dump ( )

getFileinfo() public méthode

public getFileinfo ( ) : SplFileInfo
Résultat SplFileInfo

getName() public méthode

public getName ( ) : string
Résultat string

getParent() public méthode

public getParent ( ) : Directory
Résultat Directory

getParents() public méthode

Return all parents starting with the root
public getParents ( ) : Directory[]
Résultat Directory[]

getPath() public méthode

public getPath ( ) : string
Résultat string

getRelativePath() public méthode

Get the path to the file from the root of the documentation
public getRelativePath ( ) : string
Résultat string

getTitle() public méthode

public getTitle ( ) : string
Résultat string

getUri() public méthode

public getUri ( ) : string
Résultat string

getUrl() public méthode

public getUrl ( ) : string
Résultat string

setName() public méthode

public setName ( string $name )
$name string

setParent() protected méthode

protected setParent ( Directory $parent )
$parent Directory

setTitle() public méthode

public setTitle ( string $title )
$title string

setUri() public méthode

public setUri ( string $uri )
$uri string

Property Details

$info protected_oe property

protected SplFileInfo $info
Résultat SplFileInfo

$name protected_oe property

protected string $name
Résultat string

$parent protected_oe property

protected Directory,Todaymade\Daux\Tree $parent
Résultat Directory

$path protected_oe property

protected string $path
Résultat string

$title protected_oe property

protected string $title
Résultat string

$uri protected_oe property

protected string $uri
Résultat string