@@ -491,19 +491,19 @@ public function showAllRecords($categoryId, $orderby = 'id', $sortby = 'ASC')
491
491
/**
492
492
* This function returns all not expired records from the given record ids.
493
493
*
494
- * @param array $record_ids Array of record ids
494
+ * @param array $recordIds Array of record ids
495
495
* @param string $orderby Order by
496
- * @param string $sortby Sort by
496
+ * @param string $sortBy Sort by
497
497
*
498
498
* @return string
499
499
*/
500
- public function showAllRecordsByIds (Array $ record_ids , $ orderby = 'fd.id ' , $ sortby = 'ASC ' )
500
+ public function showAllRecordsByIds (Array $ recordIds , $ orderBy = 'fd.id ' , $ sortBy = 'ASC ' )
501
501
{
502
502
global $ sids ;
503
503
504
- $ records = implode (', ' , $ record_ids );
504
+ $ records = implode (', ' , $ recordIds );
505
505
$ page = PMF_Filter::filterInput (INPUT_GET , 'seite ' , FILTER_VALIDATE_INT , 1 );
506
- $ tagging_id = PMF_Filter::filterInput (INPUT_GET , 'tagging_id ' , FILTER_VALIDATE_INT );
506
+ $ taggingId = PMF_Filter::filterInput (INPUT_GET , 'tagging_id ' , FILTER_DEFAULT );
507
507
$ output = '' ;
508
508
509
509
$ now = date ('YmdHis ' );
@@ -559,8 +559,8 @@ public function showAllRecordsByIds(Array $record_ids, $orderby = 'fd.id', $sort
559
559
$ records ,
560
560
$ this ->_config ->getLanguage ()->getLanguage (),
561
561
$ this ->queryPermission ($ this ->groupSupport ),
562
- $ this ->_config ->getDb ()->escape ($ orderby ),
563
- $ this ->_config ->getDb ()->escape ($ sortby ));
562
+ $ this ->_config ->getDb ()->escape ($ orderBy ),
563
+ $ this ->_config ->getDb ()->escape ($ sortBy ));
564
564
565
565
$ result = $ this ->_config ->getDb ()->query ($ query );
566
566
@@ -638,7 +638,7 @@ public function showAllRecordsByIds(Array $record_ids, $orderby = 'fd.id', $sort
638
638
$ vor = $ page - 1 ;
639
639
$ next = $ page + 1 ;
640
640
if ($ vor != 0 ) {
641
- $ url = $ sids .'&action=search&tagging_id= ' .$ tagging_id .'&seite= ' .$ vor ;
641
+ $ url = $ sids .'&action=search&tagging_id= ' .$ taggingId .'&seite= ' .$ vor ;
642
642
$ oLink = new PMF_Link (PMF_Link::getSystemRelativeUri ().'? ' .$ url , $ this ->_config );
643
643
$ oLink ->itemTitle = 'tag ' ;
644
644
$ oLink ->text = $ this ->pmf_lang ['msgPrevious ' ];
@@ -647,7 +647,7 @@ public function showAllRecordsByIds(Array $record_ids, $orderby = 'fd.id', $sort
647
647
}
648
648
$ output .= ' ' ;
649
649
if ($ next <= $ pages ) {
650
- $ url = $ sids .'&action=search&tagging_id= ' .$ tagging_id .'&seite= ' .$ next ;
650
+ $ url = $ sids .'&action=search&tagging_id= ' .$ taggingId .'&seite= ' .$ next ;
651
651
$ oLink = new PMF_Link (PMF_Link::getSystemRelativeUri ().'? ' .$ url , $ this ->_config );
652
652
$ oLink ->itemTitle = 'tag ' ;
653
653
$ oLink ->text = $ this ->pmf_lang ['msgNext ' ];
0 commit comments