Bug #6647

ObjectAccess doesn't know that is*() is also a possible getter method name

Added by Robert Lemke over 5 years ago. Updated almost 5 years ago.

Status:Resolved Start date:2010-03-01
Priority:Should have Due date:
Assigned To:Robert Lemke % Done:

100%

Category:Reflection
Target version:TYPO3 Flow Base Distribution - 1.0 alpha 8
PHP Version: Complexity:
Has patch: Affected Flow version:

Description

ObjectAccess::getProperty() tries to call a method getFoo() in order to retrieve property "foo". However, it doesn't know that isFoo() is also a valid getter name for boolean properties.

Associated revisions

Revision ffab1f3c
Added by Robert Lemke over 5 years ago

[+BUGFIX] FLOW3 (Reflection): ObjectAccess know correctly recognizes isFoo() getter methods for boolean properties. Fixes #6647

History

#1 Updated by Robert Lemke over 5 years ago

  • Status changed from Accepted to Resolved
  • % Done changed from 0 to 100

Applied in changeset r3892.

Also available in: Atom PDF