PHP 클래스 pendalf89\filemanager\widgets\TinyMce

상속: extends yii\widgets\InputWidget
파일 보기 프로젝트 열기: pendalf89/yii2-filemanager 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$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