Documentation

Factory

Descendant to kernel factory.

class Bitrix\Rpa\Factory extends Bitrix\Main\UserField\Internal\TypeFactory

Class methods

Method Description Available from version
public function getAddCommand(Item $item): Command Returns instance of element adding command.
public function getUpdateCommand(Item $item): Command Returns instance of element updating command.
public function getDeleteCommand(Item $item): Command Returns instance of element deleting command.
public function getItemDataClass($type): string Returns name of ORM data object for table of $type process elements.
public function getItemEntity($type): \Bitrix\Main\ORM\Entity Returns compiled entity class for the process $type.


© «Bitrix24», 2001-2022
Up