Replace variable on templates before rendering

S

Scandal

Guest
Member
Hello all!

1. Let's say we have the template variable $post.User.username.

On $post I have a getEditedUsername() getter.

Is that possible via php / class extension (without modification of the template) etc. when on the templates called the $post.User.username, in reality to give as result the $post.getEditedUsername()? I mean to look backward, bypass the .User.

2. Another question: is that possible via a class extension and a method...

Read more
Replace variable on templates before rendering

free plugins
minecraft paid for free
mcmarket
mc-market
free minecraft paid plugins
free minecraft plugins
spigotmc
SpigotMC
aac free
ewg free
Minecraft Premium Plugins
ewg free download
litebans free
epicworldgenerator free
free schematics
leaked schematics minecraft
schematics
schematics leaked
schematics free
minecraft schematics free
paid minecraft schematics free
paid minecraft schematics for free
free cracked plugins
free cracked minecraft plugins
plugins
featherboard download
featherboard plugin download
antiaura download
xenforo leaked
xenforo for free
xenforo addons
 
BlackSpigot General Chat
Rules Help Users
    S @ SkAlpha: how to gift a someone rank
    Top