Skip to content

Commit

Permalink
Update turorial
Browse files Browse the repository at this point in the history
  • Loading branch information
kamshory committed Aug 3, 2024
1 parent 3af8c64 commit b1fad7b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions manual/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5867,8 +5867,8 @@ <h3>Pageable</h3>
$sortable-&gt;add($sort3);

$pageable = new PicoPageable(new PicoLimit(0, 100), $sortable);
// page limit = 100
// page offset = 0
// offset = 0
/// limit = 100
// ORDER BY user_name ASC, email DESC, phone ASC</code></pre>
<p>or</p>
<pre><code class="language-php">$sortable = PicoSortable::getInstance()
Expand All @@ -5884,8 +5884,8 @@ <h3>Pageable</h3>
;

$pageable = new PicoPageable(new PicoLimit(0, 100), $sortable);
// page limit = 100
// page offset = 0
// offset = 0
/// limit = 100
// ORDER BY user_name ASC, email DESC, phone ASC</code></pre>
<ol>
<li>Construtor with page as PicoPageable and sortable as PicoSortable</li>
Expand Down
8 changes: 4 additions & 4 deletions tutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -6486,8 +6486,8 @@ $sortable->add($sort2);
$sortable->add($sort3);
$pageable = new PicoPageable(new PicoLimit(0, 100), $sortable);
// page limit = 100
// page offset = 0
// offset = 0
/// limit = 100
// ORDER BY user_name ASC, email DESC, phone ASC
```

Expand All @@ -6511,8 +6511,8 @@ $sortable = PicoSortable::getInstance()
;
$pageable = new PicoPageable(new PicoLimit(0, 100), $sortable);
// page limit = 100
// page offset = 0
// offset = 0
/// limit = 100
// ORDER BY user_name ASC, email DESC, phone ASC
```

Expand Down

0 comments on commit b1fad7b

Please sign in to comment.