Thanks Kenji for the answer. I posted my question here because I didn't get any help from the documentation actually. When I try, I receive errors such as :
BadMethodCallException
Call to undefined method App\Models\AdminModels\OffersModel::pager
SYSTEMPATH\Model.php at line 730 -
PHP Code:
throw new BadMethodCallException('Call to undefined method ' . static::class . '::' . $name);