Feature proposal #7602closed
Move remaining PHP logic out of template files
No complex logic should exist in template files. At most calling a function is fine. Getting object variables are also fine (e.g. getter/setters). Other logic should be moved to table objects as functions. This will finalize preparations for CB to use Twig templates where PHP directly in templates will not be allowed.