Zend Framework  3.0
Public Member Functions | Protected Attributes | List of all members
GenericTag Class Reference

Public Member Functions

 __construct ($name=null, $content=null)
 
 setName ($name)
 
 getName ()
 
 setContent ($content)
 
 getContent ()
 
 generate ()
 
- Public Member Functions inherited from AbstractGenerator
 __construct ($options=[])
 
 setSourceDirty ($isSourceDirty=true)
 
 isSourceDirty ()
 
 setIndentation ($indentation)
 
 getIndentation ()
 
 setSourceContent ($sourceContent)
 
 getSourceContent ()
 
 setOptions ($options)
 

Protected Attributes

 $name = null
 
 $content = null
 
- Protected Attributes inherited from AbstractGenerator
 $isSourceDirty = true
 
 $indentation = ' '
 
 $sourceContent = null
 

Additional Inherited Members

- Public Attributes inherited from AbstractGenerator
const LINE_FEED = "\n"
 Line feed to use in place of EOL.
 

Constructor & Destructor Documentation

__construct (   $name = null,
  $content = null 
)
Parameters
string$name
string$content

Member Function Documentation

generate ( )
Returns
string

Implements GeneratorInterface.

getContent ( )
Returns
string
getName ( )
Returns
string

Implements PrototypeInterface.

setContent (   $content)
Parameters
string$content
Returns
GenericTag
setName (   $name)
Parameters
string$name
Returns
GenericTag

Implements PrototypeGenericInterface.

Member Data Documentation

$content = null
protected
$name = null
protected