Documentation

AbstractGenerator
in package
implements GeneratorInterface

AbstractYes

Abstract generator class

Tags
category

Pop

author

Nick Sagona, III dev@nolainteractive.com

copyright

Copyright (c) 2009-2024 NOLA Interactive, LLC. (http://www.nolainteractive.com)

license

http://www.popphp.org/license New BSD License

version
5.0.0

Table of Contents

Interfaces

GeneratorInterface
Generator interface

Properties

$indent  : int
Code indent spaces
$output  : string|null
Output string

Methods

getIndent()  : int
Get the indent
getOutput()  : string
Get the output
hasIndent()  : bool
Has indent
hasOutput()  : bool
Has output
isRendered()  : bool
Is rendered (alias to hasOutput())
printIndent()  : string
Print the indent
render()  : string
Render method
setIndent()  : AbstractGenerator
Set the indent

Properties

Methods

isRendered()

Is rendered (alias to hasOutput())

public isRendered() : bool
Return values
bool

printIndent()

Print the indent

public printIndent() : string
Return values
string

render()

Render method

public abstract render() : string
Return values
string

        
On this page

Search results