[Admin_GetPref] is used to fetch the values of preferences stored internally in Lasso. This tag requires administrator privileges to be run. It requires one parameter which can take two forms. The parameter can be the name of a single preference to be fetched. In this case the value of the preference is returned by the method. Null is returned if the preference is not set. The parameter can be map of preference names and values. Each preference in the map is fetched and the value in the map is set to the new value. If a preference cannot be found then the value in the map is not modified. The modified map is returned as the method value.
Admin_GetPref('name')
Admin_GetPref(map('name','name'))
Use the [Admin_GetPref] method.
Code
Admin_GetPref('session_default_driver')
Result
sqlite
Please note that periodically LassoSoft will go through the notes and may incorporate information from them into the documentation. Any submission here gives LassoSoft a non-exclusive license and will be made available in various formats to the Lasso community.
©LassoSoft Inc 2015 | Web Development by Treefrog Inc | Privacy | Legal terms and Shipping | Contact LassoSoft
Recent Comments