PHP Класс pendalf89\filemanager\widgets\TinyMce

Наследование: extends yii\widgets\InputWidget
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
$callbackBeforeInsert JavaScript function, which will be called before insert file data to input. Argument data contains file data. data example: [alt: "Witch with cat", description: "123", url: "/uploads/2014/12/vedma-100x100.jpeg", id: "45"]
$clientOptions the options for the TinyMCE JS plugin. Please refer to the TinyMCE JS plugin Web page for possible options.
$thumb Optional, if set, only this image can be selected by user

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

Метод Описание
init ( )
run ( ) Runs the widget.

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

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

public init ( )

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

Runs the widget.
public run ( )

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

$callbackBeforeInsert публичное свойство

JavaScript function, which will be called before insert file data to input. Argument data contains file data. data example: [alt: "Witch with cat", description: "123", url: "/uploads/2014/12/vedma-100x100.jpeg", id: "45"]
public $callbackBeforeInsert

$clientOptions публичное свойство

the options for the TinyMCE JS plugin. Please refer to the TinyMCE JS plugin Web page for possible options.
См. также: http://www.tinymce.com/wiki.php/Configuration
public $clientOptions

$thumb публичное свойство

Optional, if set, only this image can be selected by user
public $thumb