Skip to content

Commit

Permalink
[Docs]: Add mention of getCount() method in Document PHP API Document…
Browse files Browse the repository at this point in the history
…ation (pimcore#17632)

Describe the difference between getCount() and getTotalCount()
  • Loading branch information
hethehe authored Oct 3, 2024
1 parent ba7cd09 commit f0245d7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion doc/03_Documents/09_Working_with_PHP_API.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,8 @@ If you'd like to get also all the unpublished documents, set the following flag:

| Method | Arguments | Description |
|-------------------------|-------------------------------------|---------------------------------------------------------------------------------------------|
| `getTotalCount()` | | Returns total number of selected rows. |
| `getCount()` | | Returns total number of selected rows. |
| `getTotalCount()` | | Returns total number of selected rows (excluding offset and limit). |
| `getPaginatorAdapter()` | | List implements `\Iterator`, you could use the list as a paginator. |
| `getItems()` | int $offset, int $itemsCountPerPage | as arguments you have to specify the limit of rows and the offset. |
| `loadIdList()` | | Returns complete array with id as a row. |
Expand Down

0 comments on commit f0245d7

Please sign in to comment.