first commit

This commit is contained in:
2024-10-23 13:44:50 +02:00
commit b6107b8c75
7924 changed files with 1087672 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 ] );
}
}