CanteenBase Class
Common functionality for Services, Controllers, Forms. Located in the namespace Canteen\Utilities.
Methods
parse
(
String
protected
-
content
-
substitutions
Convenience method for parsing content
Parameters:
-
content
StringThe string to parse
-
substitutions
DictionaryThe dictionary of tags to replace
Returns:
String:
The parsed string
parse
(
String
protected
-
content
Convenience method for parsing content
Parameters:
-
content
StringThe string to parse
Returns:
String:
The parsed string
Properties
parser
Parser
The parser is responsible for rendering templates
profiler
Profiler
The instance of the profiler for debugging performance