PHP Class pendalf89\filemanager\widgets\TinyMce

Inheritance: extends yii\widgets\InputWidget
Datei anzeigen Open project: pendalf89/yii2-filemanager Class Usage Examples

Public Properties

Property Type Description
$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

Public Methods

Method Description
init ( )
run ( ) Runs the widget.

Method Details

init() public method

public init ( )

run() public method

Runs the widget.
public run ( )

Property Details

$callbackBeforeInsert public_oe property

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 public_oe property

the options for the TinyMCE JS plugin. Please refer to the TinyMCE JS plugin Web page for possible options.
See also: http://www.tinymce.com/wiki.php/Configuration
public $clientOptions

$thumb public_oe property

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