Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
Класс Page
+ Граф наследования:Page:

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

 __construct ($id, $items, $totalCount)
 
 getTotalCount ()
 
 getId ()
 
 getItems ()
 
 getIterator ()
 
 offsetExists ($offset)
 
 offsetGet ($offset)
 
 offsetSet ($offset, $value)
 
 offsetUnset ($offset)
 
 jsonSerialize ()
 
 toArray ()
 

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

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

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

◆ __construct()

__construct ( $id,
$items,
$totalCount )
Аргументы
string$idId of collection.
array | \Traversable$items
int | \Closure$totalCountThe parameter can be Closure to prevent unnecessary actions for calculation.

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

Методы

◆ getId()

getId ( )
Возвращает
string

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

◆ getItems()

getItems ( )
Возвращает
array

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

◆ getIterator()

getIterator ( )

Retrieve an external iterator An instance of an object implementing Iterator or Traversable 5.0.0

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

◆ getTotalCount()

getTotalCount ( )
Возвращает
int

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

◆ jsonSerialize()

jsonSerialize ( )

Specify data which should be serialized to JSON mixed data which can be serialized by json_encode, which is a value of any type other than a resource. 5.4.0

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

◆ offsetExists()

offsetExists ( $offset)

Whether a offset exists mixed $offset An offset to check for.

Возвращает
boolean true on success or false on failure.

The return value will be casted to boolean if non-boolean was returned.

Начиная с
5.0.0

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

◆ offsetGet()

offsetGet ( $offset)

Offset to retrieve mixed $offset The offset to retrieve.

Возвращает
mixed Can return all value types.
Начиная с
5.0.0

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

◆ offsetSet()

offsetSet ( $offset,
$value )

Offset to set mixed $offset The offset to assign the value to.

Аргументы
mixed$value

The value to set.

Возвращает
void
Начиная с
5.0.0

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

◆ offsetUnset()

offsetUnset ( $offset)

Offset to unset mixed $offset The offset to unset.

Возвращает
void
Начиная с
5.0.0

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

◆ toArray()

toArray ( )
Возвращает
array

Замещает Arrayable.

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