Feature #5995

Implicitly call __toString method if action result is an object

Added by Robert Lemke over 11 years ago. Updated over 10 years ago.

Status:
Resolved
Priority:
Could have
Assignee:
Category:
MVC
Start date:
2010-01-13
Due date:
% Done:

100%

Estimated time:
PHP Version:
Has patch:
Complexity:

Description

If an action method returns an object, the ActionController should check if a __toString method exists and if so call it and append its result to the response content.

#1

Updated by Robert Lemke over 11 years ago

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

Applied in changeset r3606.

Also available in: Atom PDF