Replies: 3 comments 6 replies
-
I also have the same problem. |
Beta Was this translation helpful? Give feedback.
-
I think the problem is quite a bit deeper than I had hoped. My plan was to extend the e.g. In my app, I was already using a customised extended class based on Unfortunately, when using Volt for rendering views, In V4, Phalcon's Volt complier class Right now, I'm thinking that if you are not using a Form class then basically the best thing to do is to refactor any code that used I'm thinking of raising this as an issue, but I'll ping the Discord channel for advice first. |
Beta Was this translation helpful? Give feedback.
-
Humor me guys. I know Why would one want this? (full disclosure I have never used this in a project). As for the implementation, the problem we had with Tag (and still exists) is access and manipulation of the globals, that was the main reason this was not implemented in the The implementation will require a change to the interface of I do not want us to use superglobals for Thoughts? |
Beta Was this translation helpful? Give feedback.
-
I am currently upgrading from v4 to v5 and one issue I have run into is that Phalcon\Html\TagFactory does not seem to have a
setDefault()
orsetDefaults()
method.In the v5 docs, it says "NOTE Phalcon\Tag will be removed in a future Phalcon version. The functionality is offered by the Phalcon\Html\TagFactory component."
So in my v4 app bootstrap, where I set the
tag
service I used to do:My v5 app bootstrap looks like this:
Does anyone know how to call the
setDefaults()
method (or the v5 equivalent) if using Phalcon\Html\TagFactory instead of Phalcon\Tag ?Beta Was this translation helpful? Give feedback.
All reactions