3

I have a custom table in a view which uses JModelLegacy instead of JModelList since the data source isn't a database. But I still want to use the global default-list-limit value for fetching values from the source. How do I access this, or any other global config values?

1 Answer 1

3

JFactory::getApplication()->get('list_limit');

I suppose I got a bit confused by the jargon ambiguity and so did my google searches for the same. Feel free to mark this as a duplicate question if it is.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.