Skip to content

EditorAdapterInterface

MekDrop edited this page Jul 25, 2022 · 1 revision
Notice: Wiki was automatic generated from project sources as project API documentation. Do not edit manually!# Imponeer\Contracts\Editor\Adapter\EditorAdapterInterface

Interface describing editor instance that can be rendered

Implements:

Stringable

Methods

Name Description
__toString
getAttributes Gets HTML attributes for editor container
getScriptCode Get script code that needs to be added to initialize editor
getScriptURLs Get script URL's to be included
getStyleURLs Get style urls to be included

EditorAdapterInterface::__toString

Description

 __toString (void)

Parameters

This function has no parameters.

Return Values

void


EditorAdapterInterface::getAttributes

Description

public getAttributes (void)

Gets HTML attributes for editor container

Parameters

This function has no parameters.

Return Values

array<string,string>


EditorAdapterInterface::getScriptCode

Description

public getScriptCode (void)

Get script code that needs to be added to initialize editor

Parameters

This function has no parameters.

Return Values

string


EditorAdapterInterface::getScriptURLs

Description

public getScriptURLs (void)

Get script URL's to be included

Parameters

This function has no parameters.

Return Values

string[]


EditorAdapterInterface::getStyleURLs

Description

public getStyleURLs (void)

Get style urls to be included

Parameters

This function has no parameters.

Return Values

string[]