onOffice WP Plugin

EstateFiles
in package

Table of Contents

$_estateFiles  : array<string|int, mixed>
$_pictureCategories  : array<string|int, mixed>
getAllFiles()  : mixed
EstateFiles constructor.
getEstateFileUrl()  : string
getEstateLinks()  : array<string|int, mixed>
getEstateMovieLinks()  : array<string|int, mixed>
getEstatePictures()  : array<string|int, mixed>
getEstatePictureText()  : string
getEstatePictureTitle()  : string
getEstatePictureValues()  : array<string|int, mixed>
collectEstateFiles()  : mixed
correctUrl()  : string
getFilesOfTypeByCallback()  : array<string|int, mixed>

Properties

$_estateFiles

private array<string|int, mixed> $_estateFiles = array()

$_pictureCategories

private array<string|int, mixed> $_pictureCategories = array()

Methods

getAllFiles()

EstateFiles constructor.

public getAllFiles(array<string|int, string> $pictureCategories, array<string|int, mixed> $estateIds, SDKWrapper $pSDKWrapper) : mixed
Parameters
$pictureCategories : array<string|int, string>
$estateIds : array<string|int, mixed>
$pSDKWrapper : SDKWrapper
Tags
throws
APIEmptyResultException
throws
HttpFetchNoResultException
Return values
mixed

getEstateFileUrl()

public getEstateFileUrl(int $fileId, int $estateId[, array<string|int, mixed> $options = null ]) : string
Parameters
$fileId : int
$estateId : int
$options : array<string|int, mixed> = null
Return values
string
public getEstateLinks(int $estateId[, mixed $type = '' ]) : array<string|int, mixed>
Parameters
$estateId : int
$type : mixed = ''
Return values
array<string|int, mixed>
public getEstateMovieLinks(int $estateId) : array<string|int, mixed>
Parameters
$estateId : int
Return values
array<string|int, mixed>

getEstatePictures()

public getEstatePictures(int $estateId) : array<string|int, mixed>
Parameters
$estateId : int
Return values
array<string|int, mixed>

getEstatePictureText()

public getEstatePictureText(int $imageId, int $estateId) : string
Parameters
$imageId : int
$estateId : int
Return values
string

getEstatePictureTitle()

public getEstatePictureTitle(int $imageId, int $estateId) : string
Parameters
$imageId : int
$estateId : int
Return values
string

getEstatePictureValues()

public getEstatePictureValues(int $imageId, int $estateId) : array<string|int, mixed>
Parameters
$imageId : int
$estateId : int
Return values
array<string|int, mixed>

collectEstateFiles()

private collectEstateFiles(array<string|int, mixed> $responseArrayEstatePictures) : mixed
Parameters
$responseArrayEstatePictures : array<string|int, mixed>
Return values
mixed

correctUrl()

private correctUrl(string $url) : string
Parameters
$url : string
Return values
string

getFilesOfTypeByCallback()

private getFilesOfTypeByCallback(int $estateId, string $callback) : array<string|int, mixed>
Parameters
$estateId : int
$callback : string
Return values
array<string|int, mixed>

Search results