Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
public function getUnreadCountForCurrentUser() { $searchAttributeData = $this->getMetadataForUnreadForCurrentUser(); $joinTablesAdapter = new RedBeanModelJoinTablesQueryAdapter('Mission'); $where = RedBeanModelDataProvider::makeWhere('Mission', $searchAttributeData, $joinTablesAdapter); return Mission::getCount($joinTablesAdapter, $where, 'Mission', true); }