The SimplxRequest lookup Method
The SimplxRequest Class has one especially interesting method:
This is a regexp powered lookup function which uses a very simple query syntax to get values from the SimplxRequest object.
SimplxRequest::lookup('query.id') Returns the value of the "id" field in the "query" section.
SimplxRequest::lookup('query.id=1') Returns the value of the "id" field in the "query" section IF the value is 1.
SimplxRequest::lookup('query.action?/modResource/i') Returns the value of the field "action" in the "query" section.
Default Fields and Sections in the SimplxRequest Class
New in Simplx Request 1.0
There are no release notes for this version.
More from Lars Wallin
Simple Plugin fix to enable reordering of chosen items in the Multiselect…View
Go with the flow! Please see the forum thread for tutorial and information…View