MediaIdentifier
extends Identifier
in package
Interface IdentifierInterface
Tags
Table of Contents
Properties
- $object : MediaObjectInterface|null
Methods
- __construct() : mixed
- IdentifierInterface constructor.
- __debugInfo() : array<string|int, mixed>
- createFromObject() : MediaIdentifier<string|int, T>
- getId() : string
- Get identifier's ID.
- getObject() : T
- getType() : string
- Get identifier's type.
- jsonSerialize() : array<string|int, mixed>
- setObject() : void
- findFlash() : array<string|int, mixed>|null
- getFlash() : FlexFormFlash
- getFlexObject() : FlexObjectInterface|null
Properties
$object
private
MediaObjectInterface|null
$object
= null
Methods
__construct()
IdentifierInterface constructor.
public
__construct(string $id) : mixed
Parameters
- $id : string
__debugInfo()
public
__debugInfo() : array<string|int, mixed>
Return values
array<string|int, mixed>createFromObject()
public
static createFromObject(MediaObjectInterface $object) : MediaIdentifier<string|int, T>
Parameters
- $object : MediaObjectInterface
Return values
MediaIdentifier<string|int, T>getId()
Get identifier's ID.
public
getId() : string
Tags
Return values
stringgetObject()
public
getObject() : T
Return values
TgetType()
Get identifier's type.
public
getType() : string
Tags
Return values
stringjsonSerialize()
public
jsonSerialize() : array<string|int, mixed>
Return values
array<string|int, mixed>setObject()
public
setObject(T $object) : void
Parameters
- $object : T
findFlash()
protected
findFlash(array<string|int, mixed> $parts) : array<string|int, mixed>|null
Parameters
- $parts : array<string|int, mixed>
Return values
array<string|int, mixed>|nullgetFlash()
protected
getFlash(string $folder, string $uniqueId) : FlexFormFlash
Parameters
- $folder : string
- $uniqueId : string
Return values
FlexFormFlashgetFlexObject()
protected
getFlexObject(string $type, string $key) : FlexObjectInterface|null
Parameters
- $type : string
- $key : string