PHP Class App\Http\Controllers\EditorController

Inheritance: extends Controller
Mostrar archivo Open project: xpressengine/xpressengine Class Usage Examples

Public Methods

Method Description
fileDestroy ( Storage $storage, string $instanceId, string $id ) : Xpressengine\Presenter\RendererInterface file destory
fileDownload ( EditorHandler $handler, Storage $storage, string $instanceId, string $id ) : void file download
fileSource ( EditorHandler $handler, string $instanceId, string $id ) : void get file source
fileUpload ( Request $request, EditorHandler $handler, Storage $storage, MediaManager $mediaManager, string $instanceId ) : Xpressengine\Presenter\RendererInterface file upload
getDetailSetting ( EditorHandler $handler, ConfigManager $configs, $instanceId )
hashTag ( Request $request, TagHandler $tag ) : mixed 해시태그 suggestion 리스트
mention ( Request $request ) : mixed 멘션 suggestion 리스트
postDetailSetting ( Request $request, EditorHandler $handler, ConfigManager $configs, $instanceId )
setting ( EditorHandler $handler, Request $request, $instanceId )

Method Details

fileDestroy() public method

file destory
public fileDestroy ( Storage $storage, string $instanceId, string $id ) : Xpressengine\Presenter\RendererInterface
$storage Xpressengine\Storage\Storage
$instanceId string
$id string
return Xpressengine\Presenter\RendererInterface

fileDownload() public method

file download
public fileDownload ( EditorHandler $handler, Storage $storage, string $instanceId, string $id ) : void
$handler Xpressengine\Editor\EditorHandler editor handler
$storage Xpressengine\Storage\Storage storage
$instanceId string instance id
$id string
return void

fileSource() public method

get file source
public fileSource ( EditorHandler $handler, string $instanceId, string $id ) : void
$handler Xpressengine\Editor\EditorHandler editor handler
$instanceId string instance id
$id string document id
return void

fileUpload() public method

file upload
public fileUpload ( Request $request, EditorHandler $handler, Storage $storage, MediaManager $mediaManager, string $instanceId ) : Xpressengine\Presenter\RendererInterface
$request Xpressengine\Http\Request request
$handler Xpressengine\Editor\EditorHandler editor handler
$storage Xpressengine\Storage\Storage storage
$mediaManager Xpressengine\Media\MediaManager media manager
$instanceId string instance id
return Xpressengine\Presenter\RendererInterface

getDetailSetting() public method

public getDetailSetting ( EditorHandler $handler, ConfigManager $configs, $instanceId )
$handler Xpressengine\Editor\EditorHandler
$configs Xpressengine\Config\ConfigManager

hashTag() public method

해시태그 suggestion 리스트
public hashTag ( Request $request, TagHandler $tag ) : mixed
$request Xpressengine\Http\Request
$tag Xpressengine\Tag\TagHandler
return mixed

mention() public method

멘션 suggestion 리스트
public mention ( Request $request ) : mixed
$request Xpressengine\Http\Request
return mixed

postDetailSetting() public method

public postDetailSetting ( Request $request, EditorHandler $handler, ConfigManager $configs, $instanceId )
$request Xpressengine\Http\Request
$handler Xpressengine\Editor\EditorHandler
$configs Xpressengine\Config\ConfigManager

setting() public method

public setting ( EditorHandler $handler, Request $request, $instanceId )
$handler Xpressengine\Editor\EditorHandler
$request Xpressengine\Http\Request