Stud.IP  5.4
Text Class Reference
Inheritance diagram for Text:
BlockType

Public Member Functions

 initialPayload ()
 
 getPayload ()
 
 setPayload ($payload)
 
 getFiles ()
 
 copyPayload (string $rangeId='')
 
- Public Member Functions inherited from BlockType
 initialPayload ()
 
 validatePayload ($payload)
 
 __construct (\Courseware\Block $block)
 
 getPayload ()
 
 setPayload ($payload)
 
 copyPayload (string $rangeId='')
 
 getFiles ()
 
 getFeedback ()
 
 getPdfHtmlTemplate ()
 

Static Public Member Functions

static getType ()
 
static getTitle ()
 
static getDescription ()
 
static getJsonSchema ()
 
static getCategories ()
 
static getContentTypes ()
 
static getFileTypes ()
 
static getTags ()
 
- Static Public Member Functions inherited from BlockType
static getType ()
 
static getTitle ()
 
static getDescription ()
 
static getJsonSchema ()
 
static getCategories ()
 
static getContentTypes ()
 
static getFileTypes ()
 
static getTags ()
 
static getBlockTypes ()
 
static isBlockType (string $blockType)
 
static findBlockType (string $blockType)
 
static factory (\Courseware\Block $block)
 

Additional Inherited Members

- Protected Member Functions inherited from BlockType
 decodePayloadString (string $payload)
 
 getFileById (string $fileId)
 
 getFileRefById (string $fileId)
 
 copyFileById (string $fileId, string $rangeId)
 
 copyFolderById (string $folderId, string $rangeId)
 
- Protected Attributes inherited from BlockType
 $block
 

Detailed Description

This class represents the content of a Courseware text block.

Author
Ron Lucke lucke.nosp@m.@ela.nosp@m.n-ev..nosp@m.de GPL2 or any later version
Since
Stud.IP 5.0

Member Function Documentation

◆ copyPayload()

copyPayload ( string  $rangeId = '')

◆ getCategories()

static getCategories ( )
static

◆ getContentTypes()

static getContentTypes ( )
static

◆ getDescription()

static getDescription ( )
static

◆ getFiles()

getFiles ( )

get all files related to this block.

Returns
[] list of file references realted to this block

◆ getFileTypes()

static getFileTypes ( )
static

◆ getJsonSchema()

static getJsonSchema ( )
static

◆ getPayload()

getPayload ( )

◆ getTags()

static getTags ( )
static

◆ getTitle()

static getTitle ( )
static

◆ getType()

static getType ( )
static

◆ initialPayload()

initialPayload ( )

◆ setPayload()

setPayload (   $payload)

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