\Charcoal\Admin\UiObjectContainerInterface

Defines awareness of a primary object.

Implementation, as trait, provided by \Charcoal\Admin\Ui\ObjectContainerTrait.

Summary

Methods
Constants
setObjType()
objType()
setObjId()
objId()
hasObj()
obj()
No constants found
No protected methods found
N/A
No private methods found
N/A

Methods

setObjType()

setObjType(string  $objType) : \Charcoal\Admin\Ui\ObjectContainerInterface

Set the object type.

Parameters

string $objType

The object type.

Returns

\Charcoal\Admin\Ui\ObjectContainerInterface

Chainable

objType()

objType() : string|null

Retrieve the object type.

Returns

string|null

objId()

objId() : mixed

Retrieve the object ID.

Returns

mixed

hasObj()

hasObj() : boolean

Determine if the class has a concrete object.

Returns

boolean

obj()

obj() : \Charcoal\Admin\Ui\ModelInterface

Retrieve the object.

Returns

\Charcoal\Admin\Ui\ModelInterface