PHP Класс eZ\Publish\Core\FieldType\Author\AuthorCollection

This collection can only hold {@link \eZ\Publish\Core\FieldType\Author\Author} objects.
Наследование: extends ArrayObjec\ArrayObject
Показать файл Открыть проект

Открытые методы

Метод Описание
__construct ( array $elements = [] )
offsetSet ( integer $offset, Author $value ) Adds a new author to the collection.
removeAuthorsById ( array $authorIds ) Removes authors from current collection with a list of Ids.

Описание методов

__construct() публичный Метод

public __construct ( array $elements = [] )
$elements array

offsetSet() публичный Метод

Adds a new author to the collection.
public offsetSet ( integer $offset, Author $value )
$offset integer
$value Author

removeAuthorsById() публичный Метод

Removes authors from current collection with a list of Ids.
public removeAuthorsById ( array $authorIds )
$authorIds array Author's Ids to remove from current collection