concrete/src/Entity/File/File.php
public function inFileSet(Set $fs)
    {
        $db = Loader::db();
        $r = $db->GetOne(
            'select fsfID from FileSetFiles where fID = ? and fsID = ?',
            [$this->getFileID(), $fs->getFileSetID()]
        );

        return $r > 0;
    }
public function inFileSet(Set $fs)
    {
        $db = Loader::db();
        $r = $db->GetOne(
            'select fsfID from FileSetFiles where fID = ? and fsID = ?',
            [$this->getFileID(), $fs->getFileSetID()]
        );

        return $r > 0;
    }
public function inFileSet ( Set $ fs ) { $ db = Loader :: db ( ) ; $ r = $ db -> GetOne ( 'select fsfID from FileSetFiles where fID = ? and fsID = ?' , [ $ this -> getFileID ( ) , $ fs -> getFileSetID ( ) ] ) ; return $ r > 0 ; }
If a file is in a particular file set.

@param Set $fs

@return bool true if its in the set
If a file is in a particular file set .