Skip to content

How to upgrade smarty v2 register_resource function to v3/v4 registerResource function call #833

Answered by wisskid
subramanya-n asked this question in Q&A
Discussion options

You must be logged in to vote

You need to wrap your functions in classes that extend Smarty_Resource and register them aa instantiated objects one by one.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by wisskid
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants