get file set name

Permalink
Hello.

Is it possible to echo out the name of a image set? If so, what is the code? i have been trying a lot and cant figure it out.

thank you.

 
moosh replied on at Permalink Reply
moosh
Hello,

You try to get fileset name of a particular file OR you try to get fileset name from a fileset ID ?

Thx
berteldk replied on at Permalink Reply
I need the name of the file set... The name i gave the file set in the filemanager. I need it displayed on my page everytime i add a new fileset. Understand?
PauloCarvalhoDesign replied on at Permalink Best Answer Reply
PauloCarvalhoDesign
Think you know it by now:)
However for future reference:
Loader::model('file_set');
$fs = FileSet::getByID(file_set_id here);
$fsname = $fs->fsName;
<h2>This fileset his called :<?php echo $fsname;?></h2>
berteldk replied on at Permalink Reply
hehe well i havent got the code yet, but i guess i can see soon :) Thank you again.