Skip to content

Commit 04e855c

Browse files
committed
deploy: 9f9b224
1 parent ee9777b commit 04e855c

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

doc/limit_offset_resultset.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -473,6 +473,11 @@ <h2 id="resultiterator-utility-methods">ResultIterator utility methods</h2>
473473
<li><code>toArray()</code>: will cast the <code>PageIterator</code> into a plain old PHP array.</li>
474474
<li><code>map(callable $callback)</code>: will call the <code>$callback</code> on every bean of the page and return the matching array.</li>
475475
</ul>
476+
<h2 id="implements-porpiginas">Implements Porpiginas</h2>
477+
<p>If you are already familiar with <a href="https://github.com/beberlei/porpaginas">beberlei/porpaginas</a>, you probably noticed
478+
that TDBM result sets implement Porpaginas interfaces (the <code>Result</code> and <code>Page</code> concept comes from Porpaginas).</p>
479+
<p>This means that you can easily migrate to and from any ORM that uses Porpaginas for its results. You can also
480+
use any pagination library compatible with Porpaginas, like Pagerfanta.</p>
476481
<h2 id="next-step">Next step</h2>
477482
<p>Let's now learn how to <a href="generating_daos.html">regenerate DAOs</a> when your data model changes.
478483
Or if you want to have a look at advanced stuff, learn how to <a href="modeling_inheritance.html">model inheritance in your database</a>.</p>

0 commit comments

Comments
 (0)