Project

General

Profile

Actions

Feature proposal #8703

closed

Implement typed parameters

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

Updated by krileon about 2 years ago

  • Target version changed from 7.0.0 to 6.0.0
  • % Done changed from 0 to 60

Implemented for global params, stream, and notification params thus far. Needs also implemented for actual objects like an activity object for known params.

Actions #2

Updated by krileon about 2 years ago

  • % Done changed from 60 to 90
Actions #3

Updated by krileon over 1 year ago

  • Status changed from Assigned to Resolved
  • % Done changed from 90 to 100
Actions #4

Updated by krileon over 1 year ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF