1 | <?php |
||
17 | trait Factory |
||
18 | { |
||
19 | /** |
||
20 | * Return the javascript call to an Jaxon object method |
||
21 | * |
||
22 | * @param string $sMethod The method (without class) name |
||
23 | * @param ... $xParams The parameters of the method |
||
24 | * |
||
25 | * @return object |
||
26 | */ |
||
27 | public function call($sMethod) |
||
33 | |||
34 | /** |
||
35 | * Make the pagination links for a registered Jaxon class method |
||
36 | * |
||
37 | * @param integer $nItemsTotal the total number of items |
||
38 | * @param integer $nItemsPerPage the number of items per page |
||
39 | * @param integer $nCurrentPage the current page |
||
40 | * @param string $sMethod the name of the method |
||
41 | * @param ... $parameters the parameters of the method |
||
42 | * |
||
43 | * @return string the pagination links |
||
44 | */ |
||
45 | public function paginate($nItemsTotal, $nItemsPerPage, $nCurrentPage, $sMethod) |
||
51 | } |
||
52 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.