BlueSpice MediaWiki master
 All Classes Namespaces Files Functions Variables Groups Pages
EchoPageLinkedPresentationModel Class Reference
Inheritance diagram for EchoPageLinkedPresentationModel:
Collaboration diagram for EchoPageLinkedPresentationModel:

Public Member Functions

 getIconType ()
 
 canRender ()
 
 getPrimaryLink ()
 
 getSecondaryLinks ()
 
 getHeaderMessage ()
 
 getCompactHeaderMessage ()
 
 getLinkedPageId (EchoEvent $event)
 
- Public Member Functions inherited from EchoEventPresentationModel
 getType ()
 
 getUser ()
 
 getCategory ()
 
 getBundledIds ()
 
 getIconType ()
 
 getTimestamp ()
 
 canRender ()
 
 getHeaderMessage ()
 
 getCompactHeaderMessageKey ()
 
 getCompactHeaderMessage ()
 
 getSubjectMessage ()
 
 getBodyMessage ()
 
 getPrimaryLink ()
 
 getPrimaryLinkWithMarkAsRead ()
 
 getSecondaryLinks ()
 
 getEventId ()
 
 jsonSerialize ()
 

Protected Member Functions

 getHeaderMessageKey ()
 
 getSubjectMessageKey ()
 
- Protected Member Functions inherited from EchoEventPresentationModel
 __construct (EchoEvent $event, $language, User $user, $distributionType)
 
 getBundledEvents ()
 
 isBundled ()
 
 getBundleCount ($includeCurrent=true, $groupCallback=null)
 
 getNotificationCountForOutput ($includeCurrent=true, $groupCallback=null)
 
 userCan ($type)
 
 getAgentForOutput ()
 
 getMessageWithAgent ($key)
 
 getViewingUserForGender ()
 
 getAgentLink ()
 
 getHeaderMessageKey ()
 
 getSubjectMessageKey ()
 
 getTruncatedUsername (User $user)
 
 getTruncatedTitleText (Title $title, $includeNamespace=false)
 
 getUserLink ($user)
 
 getPageLink (Title $title, $description, $prioritized, $query=[])
 
 getDynamicActionLink (Title $title, $icon, $label, $description=null, $data=[], $query=[])
 
 getWatchActionLink (Title $title)
 

Additional Inherited Members

- Static Public Member Functions inherited from EchoEventPresentationModel
static supportsPresentationModel ($type)
 
static factory (EchoEvent $event, $language, User $user, $distributionType= 'web')
 
- Public Attributes inherited from EchoEventPresentationModel
const USERNAME_RECOMMENDED_LENGTH = 20
 
const USERNAME_AS_LABEL_RECOMMENDED_LENGTH = 15
 
const PAGE_NAME_RECOMMENDED_LENGTH = 50
 
const PAGE_NAME_AS_LABEL_RECOMMENDED_LENGTH = 15
 
const SECTION_TITLE_RECOMMENDED_LENGTH = 50
 
- Protected Attributes inherited from EchoEventPresentationModel
 $event
 
 $language
 
 $type
 

Member Function Documentation

EchoPageLinkedPresentationModel::canRender ( )

The page containing the link may be a new page that is not yet replicated. This event won't be rendered unless/until both pages are available.

Returns
bool
EchoPageLinkedPresentationModel::getLinkedPageId ( EchoEvent  $event)

Get the page ID of the linked-from page for a given event.

Parameters
EchoEvent$eventpage-linked event
Returns
int Page ID, or 0 if the page doesn't exist

The documentation for this class was generated from the following file: