BlueSpice MediaWiki master
 All Classes Namespaces Files Functions Variables Groups Pages
BlueSpice\Social\Entity\Text Class Reference
Inheritance diagram for BlueSpice\Social\Entity\Text:
Collaboration diagram for BlueSpice\Social\Entity\Text:

Public Member Functions

 getFullData ($a=array())
 
 getText ()
 
 getParsedText ($bForceInvalidateFirst=false)
 
 getAttachments ($bForceInvalidateFirst=false)
 
 getParserOutput ()
 
 getParserOptions ()
 
 setText ($sText)
 
 setValuesByObject (\stdClass $o)
 
 save (\User $oUser=null, $aOptions=array())
 
 invalidateCache ()
 
- Public Member Functions inherited from BlueSpice\Social\Entity
 getConfig ()
 
 getOwnerID ()
 
 getOwner ()
 
 getOwnerName ()
 
 getOwnerRealName ()
 
 getTimestampTouched ()
 
 getTimestampCreated ()
 
 getHeaderMessageKey ()
 
 getHeader ($oMsg=null)
 
 save (\User $oUser=null, $aOptions=array())
 
 delete (\User $oUser=null, $aOptions=array())
 
 deleteChildren (\User $oUser)
 
 getFullData ($a=array())
 
 getChildren ($aOptions=array(), $aFilters=array(), $bForceReload=false, $bCheckPermission=true)
 
 getAttachments ($bForceInvalidateFirst=false)
 
 hasParent ()
 
 getParent ()
 
 getParentID ()
 
 setParentID ($iID)
 
 setValuesByObject (\stdClass $o)
 
 render ($sType= 'Default', $bNoCache=false)
 
 getOutput ()
 
 getRelatedTitle ()
 
 getVarMessage ($sVarName)
 
 userCan ($sAction= 'read',\User $oUser=null)
 
 getActions (array $aActions=[],\User $oUser=null)
 
 invalidateCache ()
 
- Public Member Functions inherited from BlueSpice\Entity
 getConfig ()
 
 getTitle ()
 
 getTimestampTouched ()
 
 getTimestampCreated ()
 
 save (\User $oUser=null, $aOptions=[])
 
 delete (\User $oUser=null, $aOptions=[])
 
 getFullData ($aData=array())
 
 exists ()
 
 isArchived ()
 
 hasUnsavedChanges ()
 
 getID ()
 
 getOwnerID ()
 
 getType ()
 
 setUnsavedChanges ($bStatus=true)
 
 setOwnerID ($iOwnerID)
 
 toJson ()
 
 jsonSerialize ()
 
 setValuesByObject (\stdClass $oData)
 
 userIsOwner (\User $oUser)
 
 invalidateCache ()
 

Protected Member Functions

 getAttachmentImages ()
 
- Protected Member Functions inherited from BlueSpice\Social\Entity
 getChildrenFromIndex ()
 
 checkPermission ($sAction,\User $oUser,\Title $oTitle=null)
 
- Protected Member Functions inherited from BlueSpice\Entity
 __construct (\stdClass $oStdClass, EntityConfig $oConfig, EntityFactory $entityFactory=null)
 
 invalidateTitleCache ($purgeTime=null)
 

Protected Attributes

 $sType = 'text'
 
 $sText = ''
 
 $sParsedText = ''
 
 $aAttachements = array()
 
 $oParserOutput = null
 
- Protected Attributes inherited from BlueSpice\Social\Entity
 $aChildren = null
 
 $oOutput = null
 
 $iParentID = 0
 
- Protected Attributes inherited from BlueSpice\Entity
 $entityFactory = null
 
 $bUnsavedChanges = true
 
 $oConfig = null
 
 $iID = 0
 
 $iOwnerID = 0
 
 $sType = ''
 
 $bArchived = false
 

Additional Inherited Members

- Static Public Member Functions inherited from BlueSpice\Entity
static newFromFactory (\stdClass $data, EntityConfig $oConfig, EntityFactory $entityFactory)
 
static newFromContent (EntityContent $sContent)
 
static newFromObject ($oObject)
 
static getTitleFor ($iID)
 
static newFromID ($iID, $bForceReload=false)
 
static newFromTitle (\Title $oTitle, $bForceReload=false)
 
- Public Attributes inherited from BlueSpice\Social\Entity
const NS = NS_BSSOCIAL
 
- Public Attributes inherited from BlueSpice\Entity
const NS = -1
 
const ATTR_TYPE = 'type'
 
const ATTR_ID = 'id'
 
const ATTR_OWNER_ID = 'ownerid'
 
const ATTR_ARCHIVED = 'archived'
 
const ATTR_PARENT_ID = 'parentid'
 
const ATTR_TIMESTAMP_CREATED = 'timestampcreated'
 
const ATTR_TIMESTAMP_TOUCHED = 'timestamptouched'
 

Member Function Documentation

BlueSpice\Social\Entity\Text::getAttachmentImages ( )
protected

Returns the attachments of type images as array

Returns
type
BlueSpice\Social\Entity\Text::getAttachments (   $bForceInvalidateFirst = false)

Returns the attachments as an array

Parameters
boolean$bForceInvalidateFirst
Returns
array
BlueSpice\Social\Entity\Text::getFullData (   $a = array())

Gets the BSSociaEntityText attributes formated for the api

Returns
object
BlueSpice\Social\Entity\Text::getParsedText (   $bForceInvalidateFirst = false)

Returns the parsed text

Parameters
type$bForceInvalidateFirst
Returns
string
BlueSpice\Social\Entity\Text::getParserOptions ( )
Returns
ParserOptions
BlueSpice\Social\Entity\Text::getParserOutput ( )
Returns
ParserOutput
BlueSpice\Social\Entity\Text::getText ( )

Returns the text

Returns
String
BlueSpice\Social\Entity\Text::setText (   $sText)

Sets the text

Parameters
string
Returns
BSSociaEntityText

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