testing search function
This commit is contained in:
parent
b9b37e07dd
commit
336b170aa3
@ -113,6 +113,10 @@ class SearchPage extends Page {
|
||||
}
|
||||
}
|
||||
|
||||
print('DEBUG result of $mustIncludeArray: ');
|
||||
var_dump($mustIncludeArray);
|
||||
print('<br>');
|
||||
|
||||
$items = get_items($type);
|
||||
$out = array();
|
||||
foreach($items as $item) {
|
||||
@ -127,6 +131,24 @@ class SearchPage extends Page {
|
||||
print('<br>');
|
||||
|
||||
|
||||
/* ============
|
||||
|
||||
if () {
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
else if () {
|
||||
|
||||
|
||||
|
||||
}
|
||||
else
|
||||
|
||||
|
||||
*/
|
||||
|
||||
// $mustIncludeCheck = array();
|
||||
// foreach($mustIncludeArray as $mustIncludeTerm) {
|
||||
// if ($item->matches($mustIncludeTerm)) {
|
||||
@ -159,13 +181,6 @@ class SearchPage extends Page {
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// else if (True) {
|
||||
|
||||
|
||||
// }
|
||||
// else {
|
||||
|
||||
// }
|
||||
}
|
||||
return $out;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user