Project

General

Profile

Actions

Feature proposal #7602

closed

Move remaining PHP logic out of template files

Added by krileon almost 5 years ago. Updated 9 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
24 June 2019
Due date:
% Done:

100%

Estimated time:

Description

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.

Actions

Also available in: Atom PDF