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

Public Member Functions

 getBaseTitleContent ()
 
 getFullData ($a=array())
 
 getWikiPageID ()
 
 getTitleText ()
 
 getNamespace ()
 
 setWikiPageID ($iID)
 
 setTitleText ($sTitleText)
 
 setNamespace ($iNamespace)
 
 setValuesByObject (\stdClass $o)
 
 getHeader ($oMsg=null)
 
 getRelatedTitle ()
 
 save (\User $oUser=null, $aOptions=array())
 
- Public Member Functions inherited from BlueSpice\Social\Entity\Page
 getFullData ($a=array())
 
 setValuesByObject (\stdClass $o)
 
 getDescription ()
 
 setDescription ($sDescription)
 
- 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 ()
 

Static Public Member Functions

static newFromWikiPageTitle ($oTitle)
 
- 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)
 

Protected Attributes

 $sType = 'wikipage'
 
 $iWikiPageID = 0
 
 $sTitleText = ''
 
 $iNamespace = 0
 
 $sBaseTitleContent = null
 
- Protected Attributes inherited from BlueSpice\Social\Entity\Page
 $sDescription = ''
 
- 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

- 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'
 
- 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)
 

Member Function Documentation

BlueSpice\Social\Articles\Entity\WikiPage::getFullData (   $a = array())

Gets the BSSociaEntityPage attributes formated for the api

Returns
object
static BlueSpice\Social\Articles\Entity\WikiPage::newFromWikiPageTitle (   $oTitle)
static
Parameters
\Title$oTitle
Returns
WikiPage | null

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