AirLay backend

FeatureEntity extends DatabaseEntity
in package

Table of Contents

$_id  : ObjectId
$geometry  : Geometry|GeometryCollection
$properties  : stdClass
$systemProperties  : stdClass
$type  : string
__construct()  : mixed
__toString()  : string
addAirlayErrorToProperty()  : self
addAirlayWarningToProperty()  : self
bsonSerialize()  : array<string|int, mixed>
bsonUnserialize()  : void
createFromArray()  : FeatureEntity
deleteAirlayErrorsFromProperties()  : void
deleteAirlayWarningsFromProperties()  : void
deleteProperty()  : self
deleteValidationErrors()  : void
getCategory()  : ObjectId|null
getGeometry()  : Geometry|GeometryCollection
getId()  : ObjectId
getProperties()  : array<string|int, mixed>
getProperty()  : mixed
getPropertyByPath()  : mixed
getSystemProperties()  : stdClass
getSystemProperty()  : mixed
isDeleted()  : bool
jsonSerialize()  : array<string|int, mixed>
markAsDeleted()  : self
parseObjectId()  : ObjectId|null
setCategory()  : self
setGeometry()  : self
setId()  : self
setProperties()  : self
setProperty()  : self
setSystemProperties()  : self
setSystemProperty()  : self
toArray()  : array<string|int, mixed>
getPropertyLikeMongo()  : mixed

Properties

Methods

__construct()

public __construct([ObjectId|null $id = null ]) : mixed
Parameters
$id : ObjectId|null = null
Return values
mixed

__toString()

public __toString() : string
Return values
string

bsonSerialize()

public bsonSerialize() : array<string|int, mixed>
Return values
array<string|int, mixed>

bsonUnserialize()

public bsonUnserialize(array<string|int, mixed> $data) : void
Parameters
$data : array<string|int, mixed>
Return values
void

deleteAirlayErrorsFromProperties()

public deleteAirlayErrorsFromProperties() : void
Return values
void

deleteAirlayWarningsFromProperties()

public deleteAirlayWarningsFromProperties() : void
Return values
void

deleteProperty()

public deleteProperty(string $key) : self
Parameters
$key : string
Return values
self

deleteValidationErrors()

public deleteValidationErrors() : void
Return values
void

getCategory()

public getCategory() : ObjectId|null
Return values
ObjectId|null

getProperties()

public getProperties() : array<string|int, mixed>
Return values
array<string|int, mixed>

getProperty()

public getProperty(string $key) : mixed
Parameters
$key : string
Return values
mixed

getPropertyByPath()

public getPropertyByPath(string $path) : mixed
Parameters
$path : string
Return values
mixed

getSystemProperties()

public getSystemProperties() : stdClass
Return values
stdClass

getSystemProperty()

public getSystemProperty(string $key) : mixed
Parameters
$key : string
Return values
mixed

isDeleted()

public isDeleted() : bool
Return values
bool

jsonSerialize()

public jsonSerialize() : array<string|int, mixed>
Return values
array<string|int, mixed>

markAsDeleted()

public markAsDeleted() : self
Return values
self

parseObjectId()

public static parseObjectId(mixed $objectId) : ObjectId|null
Parameters
$objectId : mixed
Return values
ObjectId|null

setCategory()

public setCategory(ObjectId $categoryId) : self
Parameters
$categoryId : ObjectId
Return values
self

setId()

public setId(ObjectId $id) : self
Parameters
$id : ObjectId
Return values
self

setProperties()

public setProperties(array<string|int, mixed> $properties) : self
Parameters
$properties : array<string|int, mixed>
Return values
self

setProperty()

public setProperty(string $key, mixed $value) : self
Parameters
$key : string
$value : mixed
Return values
self

setSystemProperties()

public setSystemProperties(array<string|int, mixed> $properties) : self
Parameters
$properties : array<string|int, mixed>
Return values
self

setSystemProperty()

public setSystemProperty(string $key, mixed $value) : self
Parameters
$key : string
$value : mixed
Return values
self

toArray()

public toArray() : array<string|int, mixed>
Return values
array<string|int, mixed>

getPropertyLikeMongo()

private getPropertyLikeMongo(mixed $properties, array<string|int, mixed> $path) : mixed
Parameters
$properties : mixed
$path : array<string|int, mixed>
Return values
mixed

Search results