Cakephp: Loading Helpers in AppView

Created on 9 Nov 2016  路  3Comments  路  Source: cakephp/cakephp

This is a (multiple allowed):

  • [ ] bug
  • [x] enhancement
  • [x] feature-discussion (RFC)

  • CakePHP Version: 3.3.3

It would be nice, if I can load Helpers in the AppView via the helpers property, similar to loading components in the AppController via the components property.

RFC enhancement

Most helpful comment

I think we're moving away from magic properties.

All 3 comments

I think we're moving away from magic properties.

You can load those with loadHelper() afair, you can setup a loop in initialize() if you want to walk arrays.

I agree, it is easily possible to provide this in user or plugin land code if desired.
The Shim plugin does similar bc approaches for other things like this.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

inoas picture inoas  路  4Comments

burzum picture burzum  路  3Comments

nrother picture nrother  路  3Comments

saeideng picture saeideng  路  3Comments

tersmitten picture tersmitten  路  3Comments