\Fuman_Action_Descriptor_Virtual

Describes an virtual action by its implemented interfaces and superclasses.

Summary

Methods
Properties
Constants
__construct()
getLinkObject()
getApp()
getName()
getLayoutPriority()
getClassName()
getIconPath()
getTranslationName()
hasInterface()
hasInterfaces()
getInterfaceNames()
toArray()
initByArray()
getInstalledActions()
No public properties found
No constants found
_buildNameParts()
$_className
$_interfaces
$_app
$_name
$_layoutPriority
$_iconPath
N/A
No private methods found
No private properties found
N/A

Properties

$_className

$_className : string

Type

string

$_interfaces

$_interfaces : array<mixed,string>

Type

array<mixed,string>

$_app

$_app : string

Type

string

$_name

$_name : string

Type

string

$_layoutPriority

$_layoutPriority : 

Type

$_iconPath

$_iconPath : 

Type

Methods

__construct()

__construct(null|string  $className = null, null|string  $iconPath = null, null|array  $interfaces = null, null|array  $configurations = null) 

Constructor

Parameters

null|string $className
null|string $iconPath
null|array $interfaces
null|array $configurations

getLinkObject()

getLinkObject() : \stdClass

Returns link object

Returns

\stdClass

getApp()

getApp() : string

Gets app name

Returns

string

getName()

getName() : string

Gets action name

Returns

string

getLayoutPriority()

getLayoutPriority() : integer

Gets the action priority

Returns

integer

getClassName()

getClassName() : null|string

Gets class name

Returns

null|string

getIconPath()

getIconPath(string  $extension = 'svg') : string

Gets icon path

Parameters

string $extension

Returns

string

getTranslationName()

getTranslationName() : string

Gets translation name

Returns

string

hasInterface()

hasInterface(string  $interfaceName) : boolean

Has interface

Parameters

string $interfaceName

Returns

boolean

hasInterfaces()

hasInterfaces(string  $name1, string|null  $name2 = null) : boolean

Does underlying action has interface name

Parameters

string $name1
string|null $name2

Returns

boolean

getInterfaceNames()

getInterfaceNames() : array<mixed,string>

Gets interface names

Returns

array<mixed,string>

toArray()

toArray() : array

To array

Returns

array

initByArray()

initByArray(array<mixed,string>  $arr) : void

Init from array

Parameters

array<mixed,string> $arr

getInstalledActions()

getInstalledActions() : array<mixed,\Fuman_Action_Descriptor>

Gets all installed action

Returns

array<mixed,\Fuman_Action_Descriptor>

_buildNameParts()

_buildNameParts() : array

Build name parts

Returns

array