PHP Class Todaymade\Daux\Daux

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

Méthodes publiques

Свойство Type Description
$internal_base string
$local_base string
$options Config
$tree Todaymade\Daux\Tree\Root

Protected Properties

Свойство Type Description
$generator Todaymade\Daux\Format\Base\Generator
$processor Todaymade\Daux\Processor
$typeHandler Todaymade\Daux\ContentTypes\ContentTypeHandler
$validExtensions string[]

Méthodes publiques

Méthode Description
__construct ( string $mode )
finalizeTree ( Directory $current, $prev = null )
generateTree ( ) Generate the tree that will be used
getConfigurationOverride ( $override_file )
getContentExtensions ( ) : string[] Get all content file extensions
getContentTypeHandler ( )
getGenerator ( ) : Todaymade\Daux\Format\Base\Generator
getGenerators ( )
getParams ( ) : Config
getProcessor ( ) : Todaymade\Daux\Processor
getProcessorClass ( )
initializeConfiguration ( string $override_file = null )
normalizeDocumentationPath ( $path )
normalizeThemePath ( $path )
setProcessor ( Todaymade\Daux\Processor $processor )
sortTree ( Directory $current )

Méthodes protégées

Méthode Description
loadBaseConfiguration ( ) Load and validate the global configuration
loadConfiguration ( string $config_file, boolean $optional = true )

Method Details

__construct() public méthode

public __construct ( string $mode )
$mode string

finalizeTree() public méthode

public finalizeTree ( Directory $current, $prev = null )
$current Todaymade\Daux\Tree\Directory

generateTree() public méthode

Generate the tree that will be used
public generateTree ( )

getConfigurationOverride() public méthode

public getConfigurationOverride ( $override_file )

getContentExtensions() public méthode

Get all content file extensions
public getContentExtensions ( ) : string[]
Résultat string[]

getContentTypeHandler() public méthode

getGenerator() public méthode

public getGenerator ( ) : Todaymade\Daux\Format\Base\Generator
Résultat Todaymade\Daux\Format\Base\Generator

getGenerators() public méthode

public getGenerators ( )

getParams() public méthode

public getParams ( ) : Config
Résultat Config

getProcessor() public méthode

public getProcessor ( ) : Todaymade\Daux\Processor
Résultat Todaymade\Daux\Processor

getProcessorClass() public méthode

public getProcessorClass ( )

initializeConfiguration() public méthode

public initializeConfiguration ( string $override_file = null )
$override_file string

loadBaseConfiguration() protected méthode

Load and validate the global configuration
protected loadBaseConfiguration ( )

loadConfiguration() protected méthode

protected loadConfiguration ( string $config_file, boolean $optional = true )
$config_file string
$optional boolean

normalizeDocumentationPath() public méthode

public normalizeDocumentationPath ( $path )

normalizeThemePath() public méthode

public normalizeThemePath ( $path )

setProcessor() public méthode

public setProcessor ( Todaymade\Daux\Processor $processor )
$processor Todaymade\Daux\Processor

sortTree() public méthode

public sortTree ( Directory $current )
$current Todaymade\Daux\Tree\Directory

Property Details

$generator protected_oe property

protected Generator,Todaymade\Daux\Format\Base $generator
Résultat Todaymade\Daux\Format\Base\Generator

$internal_base public_oe property

public string $internal_base
Résultat string

$local_base public_oe property

public string $local_base
Résultat string

$options public_oe property

public Config,Todaymade\Daux $options
Résultat Config

$processor protected_oe property

protected Processor,Todaymade\Daux $processor
Résultat Todaymade\Daux\Processor

$tree public_oe property

public Root,Todaymade\Daux\Tree $tree
Résultat Todaymade\Daux\Tree\Root

$typeHandler protected_oe property

protected ContentTypeHandler,Todaymade\Daux\ContentTypes $typeHandler
Résultat Todaymade\Daux\ContentTypes\ContentTypeHandler

$validExtensions protected_oe property

protected string[] $validExtensions
Résultat string[]