Ingo_Script_String
in package
implements
Ingo_Script_Item
The Ingo_Script_String class represents a simple string.
Tags
Interfaces, Classes, Traits and Enums
- Ingo_Script_Item
- The Ingo_Script_Item interface is an interface for individual items representing code snippets of a filter script.
Table of Contents
- $_string : string
- The string to output.
- __construct() : mixed
- Constructor.
- generate() : string
- Returns the string stored by this object.
Properties
$_string
The string to output.
protected
string
$_string
= ''
Methods
__construct()
Constructor.
public
__construct(string $string) : mixed
Parameters
- $string : string
-
String to be generated.
Return values
mixed —generate()
Returns the string stored by this object.
public
generate() : string
Return values
string —The string stored by this object.