1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
Класс Parents
Граф наследования:Parents:
Collection Collection

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

 getDescendant ()
 setDescendant (Location $descendant)
 isContain (Location $location)
 getItemByType (int $type)
Открытые члены унаследованные от Collection
 addItem ($location)
 save ()
Открытые члены унаследованные от Collection
 __construct (array $items=[])
 setItems (array $items)
 getItems ()
 offsetSet ($offset, $value)
 offsetExists ($offset)
 offsetUnset ($offset)
 offsetGet ($offset)
 count ()
 rewind ()
 current ()
 key ()
 next ()
 valid ()
 clear ()

Защищенные данные

 $items = []
 $descendant
Защищенные данные унаследованные от Collection
 $items = []
Защищенные данные унаследованные от Collection
 $items = []

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

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

Методы

◆ getDescendant()

getDescendant ( )
Возвращает
Location

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

◆ getItemByType()

getItemByType ( int $type)

Returns Location of given type if it is exists in this Parents chain

Аргументы
int$type
Возвращает
Location|null

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

◆ isContain()

isContain ( Location $location)

Check if the Location is in the Parents chain

Аргументы
Location$location
Возвращает
bool

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

◆ setDescendant()

setDescendant ( Location $descendant)
Аргументы
Location$descendant
Возвращает
$this

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

Поля

◆ $descendant

$descendant
protected

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

◆ $items

$items = []
protected

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


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