PHP Класс IPBFormatterPlugin, addons

Наследование: extends Gdn_Plugin
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$_Media null
$_NBBC BBCode

Открытые методы

Метод Описание
BBCode_afterBBCodeSetup_handler ( $sender, $args )
doAttachment ( $bbcode, $action, $name, $default, $params, $content ) : string
editorPlugin_getFormats_handler ( $sender, &$args ) Hooks into the GetFormats event from the Advanced Editor plug-in and adds the IPB format.
editorPlugin_getJSDefinitions_handler ( $sender, &$args ) Hooks into the GetJSDefinitions event from the Advanced Editor plug-in and adds definitions related to the IPB format.
format ( $string ) : mixed | string
media ( ) : array | null Build an array of attachment records from the Media table, using the MediaID as each record's index.
nbbc ( ) : BBCode;

Описание методов

BBCode_afterBBCodeSetup_handler() публичный Метод

public BBCode_afterBBCodeSetup_handler ( $sender, $args )
$sender
$args

doAttachment() публичный Метод

public doAttachment ( $bbcode, $action, $name, $default, $params, $content ) : string
$bbcode
$action
$name
$default
$params
$content
Результат string

editorPlugin_getFormats_handler() публичный Метод

Hooks into the GetFormats event from the Advanced Editor plug-in and adds the IPB format.
public editorPlugin_getFormats_handler ( $sender, &$args )
$sender Instance of EditorPlugin firing the event

editorPlugin_getJSDefinitions_handler() публичный Метод

Hooks into the GetJSDefinitions event from the Advanced Editor plug-in and adds definitions related to the IPB format.
public editorPlugin_getJSDefinitions_handler ( $sender, &$args )
$sender Instance of EditorPlugin firing the event

format() публичный Метод

public format ( $string ) : mixed | string
$string
Результат mixed | string

media() публичный Метод

Build an array of attachment records from the Media table, using the MediaID as each record's index.
public media ( ) : array | null
Результат array | null

nbbc() публичный Метод

public nbbc ( ) : BBCode;
Результат BBCode;

Описание свойств

$_Media защищенное свойство

protected null $_Media
Результат null

$_NBBC защищенное свойство

protected BBCode $_NBBC
Результат BBCode