Property | Type | Description | |
---|---|---|---|
$m_templateContent | string | ||
$m_templateOriginalContent | string |
Method | Description | |
---|---|---|
__construct ( ) | Class constructor | |
parse ( ) : boolean | Parses the original template file and replaces old syntax with new one. | |
read ( string $p_filePath ) : boolean | Reads the original template file content. | |
write ( string $p_templateFileName = null ) : boolean | Writes the new template syntax to the output file. |
Method | Description | |
---|---|---|
getAllTagsFromTemplate ( $p_pattern ) : array | Gets all the tags from the source template. | |
getNewTagContent ( array $p_optArray, $p_oldTagContent = null ) | ||
parseOptionsString ( string $p_optionsString ) : array | Parses the options string and returns an array of words. |
protected string $m_templateOriginalContent | ||
return | string |