芝麻web文件管理V1.00
编辑当前文件:/home/mgatv524/cms.mgaplay.com.br/lib/Entity/SearchResult.php
. */ namespace Xibo\Entity; use Xibo\Connector\ProviderDetails; /** * @SWG\Definition() */ class SearchResult implements \JsonSerializable { public $title; public $description; public $thumbnail; public $source; public $type; public $id; public $download; public $fileSize; public $width; public $height; public $orientation; public $duration; public $videoThumbnailUrl; public $tags = []; /** @var ProviderDetails */ public $provider; public function jsonSerialize() { return [ 'id' => $this->id, 'source' => $this->source, 'type' => $this->type, 'title' => $this->title, 'description' => $this->description, 'thumbnail' => $this->thumbnail, 'duration' => $this->duration, 'download' => $this->download, 'provider' => $this->provider, 'width' => $this->width, 'height' => $this->height, 'orientation' => $this->orientation, 'fileSize' => $this->fileSize, 'videoThumbnailUrl' => $this->videoThumbnailUrl, 'tags' => $this->tags ]; } }