Changeset 82696 in spip-zone
- Timestamp:
- May 23, 2014, 8:53:08 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
_plugins_/indexer/trunk/iterateur/sphinx2.php
r82666 r82696 717 717 718 718 719 /** 720 * Pagination 721 * 722 * @param string $idb 723 * @param object $boucles 724 * @param object $crit 725 */ 726 function critere_SPHINX2_pagination_dist($idb, &$boucles, $crit) { 727 $boucle = &$boucles[$idb]; 728 // critere multiple 729 $boucle->hash .= "\n\tif (!isset(\$spagination_init)) { \$command['pagination'] = array(); \$spagination_init = true; }\n"; 730 731 $boucle->hash .= "\t\$command['pagination'] = array(" 732 . "intval(@\$Pile[0]['debut".$idb."'])," 733 . (isset($crit->param[0]) ? calculer_liste($crit->param[0], array(), $boucles, $boucles[$idb]->id_parent) : '0') 734 . ");\n"; 735 736 // appliquer enfin le critere {pagination} normal 737 return critere_pagination_dist($idb, &$boucles, $crit); 738 } 739 719 740 720 741 /**
Note: See TracChangeset
for help on using the changeset viewer.