PHP Class Todaymade\Daux\Format\HTML\Generator

Inheritance: implements Todaymade\Daux\Format\Base\Generator, implements Todaymade\Daux\Format\Base\LiveGenerator, use trait Todaymade\Daux\Console\RunAction
Mostra file Open project: justinwalsh/daux.io

Protected Properties

Property Type Description
$daux Todaymade\Daux\Daux
$indexed_pages

Public Methods

Method Description
__construct ( Daux $daux )
generateAll ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output, $width )
generateOne ( Entry $node, Config $params ) : Todaymade\Daux\Format\Base\Page
getContentTypes ( ) : array

Protected Methods

Method Description
copyThemes ( string $destination, string $local_base ) Copy all files from $local to $destination
ensureEmptyDestination ( $destination )

Private Methods

Method Description
generateRecursive ( Directory $tree, string $output_dir, Config $params, Symfony\Component\Console\Output\OutputInterface $output, integer $width, boolean $index_pages, string $base_url = '' ) Recursively generate the documentation
strip_html_tags ( string $text ) : string Remove HTML tags, including invisible text such as style and script code, and embedded objects. Add line breaks around block-level tags to prevent word joining after tag removal.

Method Details

__construct() public method

public __construct ( Daux $daux )
$daux Todaymade\Daux\Daux

copyThemes() protected method

Copy all files from $local to $destination
protected copyThemes ( string $destination, string $local_base )
$destination string
$local_base string

ensureEmptyDestination() protected method

protected ensureEmptyDestination ( $destination )

generateAll() public method

public generateAll ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output, $width )
$input Symfony\Component\Console\Input\InputInterface
$output Symfony\Component\Console\Output\OutputInterface

generateOne() public method

public generateOne ( Entry $node, Config $params ) : Todaymade\Daux\Format\Base\Page
$node Todaymade\Daux\Tree\Entry
$params Todaymade\Daux\Config
return Todaymade\Daux\Format\Base\Page

getContentTypes() public method

public getContentTypes ( ) : array
return array

Property Details

$daux protected_oe property

protected Daux,Todaymade\Daux $daux
return Todaymade\Daux\Daux

$indexed_pages protected_oe property

protected $indexed_pages