I have a view with filters, with "remember last option". I need to get the remembered values from these filters, in order to apply these filters to other sub-views on the site. Also I need not only to get these values, I need to set these values to another value, o reset them. Please give a clue, I don't know where to begin. Views code is to big :( Thanks!

有帮助吗?

解决方案

Doing some research in the database & printing the $_SESSION superglobal I found that these values are in $_SESSION['views']. So, I can read these values & also can update them. Problem solved :)

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top