HumHub Documentation (unofficial)

ContentOwner

Interface for classes which are able to return content instances.

Tags
see
Content
author

buddha

since
1.2

Table of Contents

Methods

getContent()  : mixed
getContentDescription()  : mixed
Returns a text, markdown or richtext description e.g. the message of a post which is for example used for content previews and mails.
getContentName()  : mixed

Methods

getContent()

public getContent() : mixed
Tags
returns

Content content instance of this content owner

getContentDescription()

Returns a text, markdown or richtext description e.g. the message of a post which is for example used for content previews and mails.

public getContentDescription() : mixed
Tags
returns

string a plaintext, markdown or richtext description e.g. the message of a post

getContentName()

public getContentName() : mixed
Tags
returns

string name of the content like 'comment', 'post'


        
On this page

Search results