Text/PhpTemplate.php
\Conjoon_Text_PhpTemplate
Package: Conjoon\Text
A simple Template class providing replacing placeholders with specific values.
- Parent(s)
- \Conjoon_Text_Template
- Author
- Thorsten Suckow-Homberg
- Category
- Text
Constants
TEMPLATE_RESOURCE
= 'template'
inheritedInherited from:
\Conjoon_Text_Template::TEMPLATE_RESOURCE
- Inherited_from
- \Conjoon_Text_Template::TEMPLATE_RESOURCE
VARS
= 'vars'
inheritedInherited from:
\Conjoon_Text_Template::VARS
- Inherited_from
- \Conjoon_Text_Template::VARS
PARSE_STRATEGY
= 'parseStrategy'
inheritedInherited from:
\Conjoon_Text_Template::PARSE_STRATEGY
- Inherited_from
- \Conjoon_Text_Template::PARSE_STRATEGY
Properties

$_parseStrategy= 'null'
inherited
Inherited from:
\Conjoon_Text_Template::$$_parseStrategy
Default value
nullDetails- Type
- n/a
- Inherited_from
- \Conjoon_Text_Template::$$_parseStrategy
- Type
- Conjoon_Text_ParseStrategy

$_templateResource= 'null'
inheritedInherited from:
\Conjoon_Text_Template::$$_templateResource
Default value
nullDetails- Type
- n/a
- Inherited_from
- \Conjoon_Text_Template::$$_templateResource

$_vars= 'array()'
inheritedInherited from:
\Conjoon_Text_Template::$$_vars
Default value
array()Details- Type
- n/a
- Inherited_from
- \Conjoon_Text_Template::$$_vars
Methods

__construct(
array $config
=
array()
)
:
void
Parameters
Throws
| Name | Type | Description |
|---|---|---|
| $config | array |
| Exception | Description |
|---|---|
| \Conjoon_Argument_Exception |

getTemplateResource(
)
:
void
inherited
Inherited from:
\Conjoon_Text_Template::getTemplateResource()