first commit

This commit is contained in:
2024-10-25 23:02:37 +02:00
commit faeb2e52e8
7653 changed files with 1095335 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
<?
namespace shop;
class ShopStatus {
// get_status_by_baselinker_status
static public function get_shop_status_by_baselinker_status( int $baselinker_status_id ) {
global $mdb;
return $mdb -> get( 'pp_shop_statuses', 'id', [ 'baselinker_status_id' => $baselinker_status_id ] );
}
// get_baselinker_status_by_shop_status
static public function get_baselinker_status_by_shop_status( int $shop_status_id ) {
global $mdb;
return $mdb -> get( 'pp_shop_statuses', 'baselinker_status_id', [ 'id' => $shop_status_id ] );
}
}