Project

General

Profile

Actions

Feature proposal #7602

closed

Move remaining PHP logic out of template files

Added by krileon over 5 years ago. Updated over 1 year 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