<?php

namespace Kendo\UI;

class EditorImageBrowserTransport extends \Kendo\SerializableObject {
//>> Properties

    /**
    * Options or URL for remote image retrieval.
    * @param string|\Kendo\JavaScriptFunction|\Kendo\UI\EditorImageBrowserTransportRead|array $value
    * @return \Kendo\UI\EditorImageBrowserTransport
    */
    public function read($value) {
        return $this->setProperty('read', $value);
    }

    /**
    * The URL for retrieving the thumbnail version of the image. If not specified a default image icon will be shown.
If function is assigned, the current path and image name will be provided.
    * @param string|\Kendo\JavaScriptFunction $value
    * @return \Kendo\UI\EditorImageBrowserTransport
    */
    public function thumbnailUrl($value) {
        return $this->setProperty('thumbnailUrl', $value);
    }

    /**
    * The URL which will handle the upload of the new images. If not specified the Upload button will not be displayed.The requirements for this handler are the same as for the save handler in the Upload widget.
    * @param string $value
    * @return \Kendo\UI\EditorImageBrowserTransport
    */
    public function uploadUrl($value) {
        return $this->setProperty('uploadUrl', $value);
    }

    /**
    * The URL responsible for serving the original image. A file name placeholder should be specified. By default the placeholder value is URL encoded. If this is not desired, use a function.
    * @param string|\Kendo\JavaScriptFunction $value
    * @return \Kendo\UI\EditorImageBrowserTransport
    */
    public function imageUrl($value) {
        return $this->setProperty('imageUrl', $value);
    }

    /**
    * Options or URL which will handle the file and directory deletion. If not specified the delete button will not be present.
    * @param string|\Kendo\UI\EditorImageBrowserTransportDestroy|array $value
    * @return \Kendo\UI\EditorImageBrowserTransport
    */
    public function destroy($value) {
        return $this->setProperty('destroy', $value);
    }

    /**
    * Options or URL which will handle the directory creation. If not specified that create new folder button will not be present.
    * @param string|\Kendo\UI\EditorImageBrowserTransportCreate|array $value
    * @return \Kendo\UI\EditorImageBrowserTransport
    */
    public function create($value) {
        return $this->setProperty('create', $value);
    }

//<< Properties
}

?>
