public function getOrderMasterCollectionsBaseIds()
    {
        $sql = "SELECT base_id FROM basusr WHERE order_master='1' AND usr_id= :usr_id";
        $result = $this->app->getApplicationBox()
            ->get_connection()
            ->executeQuery($sql, [':usr_id' => $this->user->getId()])
            ->fetchAll(\PDO::FETCH_ASSOC);


        $baseIds = [];

        foreach ($result as $item) {
            $baseIds[] = $item['base_id'];
        }

        return $baseIds;
    }
public function getOrderMasterCollectionsBaseIds()
    {
        $sql = "SELECT base_id FROM basusr WHERE order_master='1' AND usr_id= :usr_id";
        $result = $this->app->getApplicationBox()
            ->get_connection()
            ->executeQuery($sql, [':usr_id' => $this->user->getId()])
            ->fetchAll(\PDO::FETCH_ASSOC);


        $baseIds = [];

        foreach ($result as $item) {
            $baseIds[] = $item['base_id'];
        }

        return $baseIds;
    }
public function getOrderMasterCollectionsBaseIds ( ) { $ sql = "SELECT base_id FROM basusr WHERE order_master='1' AND usr_id= :usr_id" ; $ result = $ this -> app -> getApplicationBox ( ) -> get_connection ( ) -> executeQuery ( $ sql , [ ':usr_id' => $ this -> user -> getId ( ) ] ) -> fetchAll ( \ PDO :: FETCH_ASSOC ) ; $ baseIds = [ ] ; foreach ( $ result as $ item ) { $ baseIds [ ] = $ item [ 'base_id' ] ; } return $ baseIds ; }
Returns base ids on which user is 'order master'

@return array
Returns base ids on which user is order master