Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
Класс EntityLink

Открытые члены

 __construct (int $entityTypeId, int $entityId, string $href)
 
 render ()
 

Открытые статические члены

static createByOrder (int $orderId, string $link)
 

Подробное описание

HTML link to entity detail page.

См. определение в файле entitylink.php строка 14

Конструктор(ы)

◆ __construct()

__construct ( int $entityTypeId,
int $entityId,
string $href )
Аргументы
int$entityTypeId
int$entityId
string$href

См. определение в файле entitylink.php строка 25

Методы

◆ createByOrder()

static createByOrder ( int $orderId,
string $link )
static

Create instance from order.

By id of order finds entity binding, and read entityTypeId and entityId. If order not found, type set as Undefined. If order found, but not found binding, type set as Order.

Аргументы
int$orderId
string$link
Возвращает
self

См. определение в файле entitylink.php строка 44

◆ render()

render ( )

Get HTML string

Возвращает
string

См. определение в файле entitylink.php строка 105