Project

General

Profile

Actions

Feature proposal #8703

closed

Implement typed parameters

Added by krileon over 2 years ago. Updated 8 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
09 September 2021
Due date:
% Done:

100%

Estimated time:

Description

Currently parameters are just a generic Registry object. This requires using generic getters and setters that are not default value aware. Implement classes that extend Registry and add typed getters and setters.

Current:
$row->getParams()->getString( 'place', '' )

New:
$row->getParams()->getPlace()

This allows strict typing and to place the default value directly in getPlace so it never has to be assumed. getParams would return our table object specific Registry.

Actions

Also available in: Atom PDF