Is there a way to unset a FatFree variable inside a view template?

I am aware you can set a F3 variable by using <set name="John" /> but I'm wondering if there is something like <unset foo />. I want to be able to do this inside a view template. I've looked all over the Internet but yet to find anything...

-------------Problems Reply------------

There's no such <unset> directive. But you can achieve the same using one of the two following options:

  • <set foo="{{NULL}}"/>
  • {~ unset($foo) ~}
Category:php Views:1 Time:2017-09-12

Related post

Copyright (C), All Rights Reserved.

processed in 0.167 (s). 11 q(s)