1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
Класс Wishes

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

 setWishes (array $wishes)
 addWish (string $wish)
 setDemoWishes ()
 getWishes ()
 setCompany (string $company)
 getCompany ()
 toArray ()

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

static fromArray (array $data)

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

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

Методы

◆ addWish()

addWish ( string $wish)

Add one more wish to list

Аргументы
string$wish
Возвращает
Wishes

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

◆ fromArray()

fromArray ( array $data)
static

Create data object from array

Аргументы
array$data
Возвращает
self

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

◆ getCompany()

getCompany ( )

Return company name, if set

Возвращает
string|null

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

◆ getWishes()

getWishes ( )

Return array ow wishes strings

Возвращает
array

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

◆ setCompany()

setCompany ( string $company)

Set company name. Empty string will be skipped

Аргументы
string$company
Возвращает
Wishes

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

◆ setDemoWishes()

setDemoWishes ( )

Set demo data to wishes

Возвращает
Wishes

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

◆ setWishes()

setWishes ( array $wishes)

Replace all wishes to passed array. Empty strings will be skipped

Аргументы
array$wishes
Возвращает
Wishes

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

◆ toArray()

toArray ( )

Transform data object to array

Возвращает
array

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


Объявления и описания членов класса находятся в файле:
  • C:/bitrix/modules/landing/lib/Copilot/Data/Wishes.php