class EmbeddedObject (View source)

Constants

TYPE_SHAPE

TYPE_MOVIECLIP

TYPE_JPEG

TYPE_PNG

TYPE_FRAME

TYPE_SOUND

Properties

protected $option
protected $type
protected $id

Methods

__construct(string $option, type $type, int $id)

No description

string
getOption()

No description

string
getType()

No description

int
getId()

No description

static string
detectType(string $type)

Detect type based on the raw output

Details

__construct(string $option, type $type, int $id)

Parameters

string $option The option to pass to the command line to extract
type $type The type of embedded object, one of the self::TYPE_* constants
int $id The id of the object

string getOption()

Return Value

string

string getType()

Return Value

string

int getId()

Return Value

int

static string detectType(string $type)

Detect type based on the raw output

Parameters

string $type The raw output

Return Value

string