jaxon-php /
jaxon-mono
| 1 | <?php $this->extends('templates::examples/layout.php') ?> |
||||
| 2 | |||||
| 3 | <?php $this->block('content') ?> |
||||
| 4 | <div class="row"> |
||||
| 5 | <div class="col-md-12" id="div2"> |
||||
| 6 | Showing page number 1 |
||||
| 7 | </div> |
||||
| 8 | <div class="col-md-12" id="pagination"> |
||||
| 9 | </div> |
||||
| 10 | </div> |
||||
| 11 | <?php $this->endblock() ?> |
||||
| 12 | |||||
| 13 | <?php $this->block('code') ?> |
||||
| 14 | <div class="card code"> |
||||
| 15 | <div class="card-body"> |
||||
| 16 | <?= highlight_file(__DIR__ . '/code.php', true) ?> |
||||
|
0 ignored issues
–
show
Bug
introduced
by
Loading history...
|
|||||
| 17 | </div> |
||||
| 18 | </div> |
||||
| 19 | <?php $this->endblock() ?> |
||||
| 20 | |||||
| 21 | <?php $this->block('javascript') ?> |
||||
| 22 | <script type='text/javascript'> |
||||
| 23 | /* <![CDATA[ */ |
||||
| 24 | window.onload = function() { |
||||
| 25 | <?= rq('HelloWorld')->showPage(1) ?>; |
||||
|
0 ignored issues
–
show
The method
showPage() does not exist on Jaxon\Script\Call\JxnCall. Since you implemented __call, consider adding a @method annotation.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
Loading history...
|
|||||
| 26 | } |
||||
| 27 | /* ]]> */ |
||||
| 28 | </script> |
||||
| 29 | <?php $this->endblock() ?> |
||||
| 30 |