Stud.IP  6.0
TestBlock Class Reference
Inheritance diagram for TestBlock:
BlockType

Public Member Functions

 initialPayload ()
 
 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 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
 

Member Function Documentation

◆ copyPayload()

copyPayload ( string  $rangeId = '')

Copy the payload of this block into the given range id.

◆ getCategories()

static getCategories ( )
static

Get the list of categories for this block type.

◆ getContentTypes()

static getContentTypes ( )
static

Get the list of content types for this block type.

◆ getDescription()

static getDescription ( )
static

Get the description of this type of block.

◆ getFileTypes()

static getFileTypes ( )
static

Get the list of file types for this block type.

◆ getJsonSchema()

static getJsonSchema ( )
static

Get the JSON schema for the payload of this block type.

◆ getTitle()

static getTitle ( )
static

Get the title of this type of block.

◆ getType()

static getType ( )
static

Get a short string describing this type of block.

◆ initialPayload()

initialPayload ( )

Get the initial payload of every instance of this block.


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