Initial import: Carteasy Shop (Dev-Stand)

This commit is contained in:
Thomas Bartelt
2026-04-20 01:03:43 +02:00
commit d504f8a05d
3845 changed files with 761050 additions and 0 deletions
+44
View File
@@ -0,0 +1,44 @@
<?php
class CSTicketHelper {
//=========================================
//
// THIS CLASS IS STATIC ONLY
//
//=========================================
private function __construct() {}
private function __clone() {}
//=========================================
//
// THE PUBLIC INTERFACE
//
//=========================================
public static function get_tickets_by_ids($ids) {
$db = Registry::get('base')->db;
$sql = "SELECT
*
FROM
tickets
WHERE
order_id
IN
(".$db->real_escape_string($ids).")";
$result = $db->query($sql);
if ($result->num_rows > 0) {
while ($obj = $result->fetch_object()) {
$return[] = $obj;
}
return $return;
}
return false;
}
}