51 string val =
m_properties.get()->get(
"global",
"in_menu",
"true");
59 string date =
m_properties.get()->get(
"global",
"publish_date",
"");
60 return date ==
"" ? boost::lexical_cast<
string>(
m_modifyTime) : date;
boost::shared_ptr< WsAbstractNode > NodePtr
Reprensents a Directory on disk.
bool isAllowed(const std::set< string > &gids)
Return true or false whether the gids are allowed or no.
Represents a node on disk.
NodePropertiesPtr m_properties
const uintmax_t getSize()
return the size of the file
const string getAuthor()
returns the author name.
bool getDisplayInMenu()
returns true if the item should be displayed in the menu. This value is set in the configuration file...
const set< string > getGroups()
returns the list of the groups allowed to access this node
const string getPublishDate()
returns the publish date of the file