Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add $segment parameter in pager call by Model.php #2843

Merged
merged 3 commits into from
Apr 22, 2020
Merged

add $segment parameter in pager call by Model.php #2843

merged 3 commits into from
Apr 22, 2020

Conversation

paul45
Copy link
Contributor

@paul45 paul45 commented Apr 18, 2020

i don't know why the $segment parameter is not present when the Pager library is call by the Model paginate function

add the $segment option when the Pager library is call by the Model paginate function

add the $segment option when the Pager library is call by the model paginate function
system/Model.php Outdated Show resolved Hide resolved
Copy link
Contributor

@jreklund jreklund left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing phpdoc describing $segment.

@lonnieezell
Copy link
Member

Please update the docs to reflect this change and then I think we're good.

@paul45
Copy link
Contributor Author

paul45 commented Apr 21, 2020

I don't know what to write in the docs and the other optional param "$page" is not in the docs
my english is bad, maybe somebody can rewrite the documentation for me

@lonnieezell
Copy link
Member

No worries, I'll update it. Thanks. FYI - from your comments here - your English is fine. :)

@lonnieezell lonnieezell merged commit 0eea4b2 into codeigniter4:develop Apr 22, 2020
@paul45
Copy link
Contributor Author

paul45 commented Apr 22, 2020

Good thx you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants