PHP 클래스 eZ\Publish\Core\FieldType\Author\AuthorCollection

This collection can only hold {@link \eZ\Publish\Core\FieldType\Author\Author} objects.
상속: extends ArrayObjec\ArrayObject
파일 보기 프로젝트 열기: ezsystems/ezpublish-kernel

공개 메소드들

메소드 설명
__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