/** * Get a file set object by a file name * @param string $fsName * @return FileSet */ public static function getByName($fsName) { $db = Loader::db(); $row = $db->GetRow('select * from FileSets where fsName = ?', array($fsName)); if (is_array($row) && count($row)) { $fs = new FileSet(); $fs->Set($row); return $fs; } }