public function getWith()
    {
        // protect entity if it demands that nothing be sideloaded
        if ($this->entityWith == 'block') {
            return 'none';
        }

        // put entity in charge if client defers
        if ($this->suppliedWith == 'default') {
            return $this->entityWith;
        }

        // put client in charge if entity defers
        if ($this->entityWith == 'none') {
            return $this->suppliedWith;
        }

        // check for all
        if ($this->entityWith == 'all' or $this->suppliedWith == 'all') {
            return 'all';
        }

        // return merged result if nothing else was detected
        return $this->entityWith . ',' . $this->suppliedWith;
    }
public function getWith()
    {
        // protect entity if it demands that nothing be sideloaded
        if ($this->entityWith == 'block') {
            return 'none';
        }

        // put entity in charge if client defers
        if ($this->suppliedWith == 'default') {
            return $this->entityWith;
        }

        // put client in charge if entity defers
        if ($this->entityWith == 'none') {
            return $this->suppliedWith;
        }

        // check for all
        if ($this->entityWith == 'all' or $this->suppliedWith == 'all') {
            return 'all';
        }

        // return merged result if nothing else was detected
        return $this->entityWith . ',' . $this->suppliedWith;
    }
public function getWith ( ) { // protect entity if it demands that nothing be sideloaded if ( $ this -> entityWith == 'block' ) { return 'none' ; } // put entity in charge if client defers if ( $ this -> suppliedWith == 'default' ) { return $ this -> entityWith ; } // put client in charge if entity defers if ( $ this -> entityWith == 'none' ) { return $ this -> suppliedWith ; } // check for all if ( $ this -> entityWith == 'all' or $ this -> suppliedWith == 'all' ) { return 'all' ; } // return merged result if nothing else was detected return $ this -> entityWith . ',' . $ this -> suppliedWith ; }
return the correct set of related tables to include

client: default, all, none, csv
entity: block, all, none, csv

client: all, none, csv

@return string
return the correct set of related tables to include