Moved many field related get methods to its own classes

This commit is contained in:
2022-09-10 10:12:13 +02:00
parent 4a32d3d50e
commit c5a85f167e
34 changed files with 2406 additions and 32 deletions

View File

@@ -124,7 +124,7 @@ class Placeholder implements PlaceholderInterface
// make sure the placeholders is an array
if (!ArrayHelper::check($placeholder))
{
// This is an error, (TODO) actualy we need to add a kind of log here to know that this happened
// This is an error, TODO actually we need to add a kind of log here to know that this happened
return $data;
}
// continue with the work of replacement
@@ -189,9 +189,6 @@ class Placeholder implements PlaceholderInterface
{
switch ($type)
{
case 3:
return [ 'start' => "", 'end' => ""];
break;
case 11:
//***[REPLACED$$$$]***//**1**/
if ($this->config->get('add_placeholders', false) === true)