Wtx ~ Wt Extension Library
WtxLib
Classes | Functions
Wtx::Crm::Activity Namespace Reference

Activity (things that happen) More...

Classes

class  Definition
 
class  Item
 
class  Template
 

Functions

void mapClasses (Wtx::Dbo::Session &session)
 
void postCreateTables (Wtx::Dbo::Session &session)
 
Wt::Dbo::ptr< Wtx::Crm::Activity::Itemadd (const std::string &key, const Wt::WDate &date, Wtx::Dbo::Session &session)
 Add an item to the lookup table. More...
 
Wt::Dbo::ptr< Wtx::Crm::Activity::Itemadd (const std::string &key, const Wt::WDateTime &dateTime, Wtx::Dbo::Session &session)
 Add an item to the lookup table. More...
 
Wt::Dbo::ptr< Wtx::Crm::Activity::Itemfind (const std::string &key, Wtx::Dbo::Session &session)
 
Wt::Dbo::ptr< Wtx::Crm::Activity::Itemifind (const std::string &key, Wtx::Dbo::Session &session)
 
std::shared_ptr< Wt::WAbstractItemModel > getComboBoxModel (int tid, const std::string &group, Wtx::Dbo::Session &session)
 
Wt::WItemDelegate * delegate (Wtx::Dbo::Session *s)
 

Detailed Description

Activity (things that happen)

This is a source for calendar things.

Function Documentation

Wt::Dbo::ptr< Wtx::Crm::Activity::Item > Wtx::Crm::Activity::add ( const std::string &  key,
const Wt::WDate &  date,
Wtx::Dbo::Session session 
)

Add an item to the lookup table.

This will add an item to the look-up table, and return that newly added item.

If an item cannot be found it is simply added.

Definition at line 28 of file Activity.cpp.

Wt::Dbo::ptr< Wtx::Crm::Activity::Item > Wtx::Crm::Activity::add ( const std::string &  key,
const Wt::WDateTime &  dateTime,
Wtx::Dbo::Session session 
)

Add an item to the lookup table.

This will add an item to the look-up table, and return that newly added item.

If an item cannot be found it is simply added.

Definition at line 74 of file Activity.cpp.