ResourceCollection

class \TYPO3\CMS\Filelist\Dto\ResourceCollection

Implements
Countable, Iterator, ArrayAccess

Table of Contents

Interfaces

Countable
Iterator
ArrayAccess

Properties

$resources  : ResourceInterface[]

Methods

__construct()  : mixed
addResource()  : self
addResources()  : self
count()  : int
Countable
current()  : ResourceInterface|null
getFiles()  : File[]
getFolders()  : Folder[]
getResources()  : ResourceInterface[]
getTotalBytes()  : int
getTotalCount()  : int
getTotalFileCount()  : int
getTotalFolderCount()  : int
key()  : int
next()  : void
offsetExists()  : bool
offsetGet()  : ResourceInterface|null
offsetSet()  : void
Array Access
offsetUnset()  : void
rewind()  : void
Iterator
setResources()  : self
valid()  : bool

Properties

Methods

addResources()

public addResources(array $resources) : self

Parameters

$resources : array

Return values

self

count()

Countable

public count() : int

Return values

int

getTotalBytes()

public getTotalBytes() : int

Return values

int

getTotalCount()

public getTotalCount() : int

Return values

int

getTotalFileCount()

public getTotalFileCount() : int

Return values

int

getTotalFolderCount()

public getTotalFolderCount() : int

Return values

int

offsetExists()

public offsetExists(mixed $offset) : bool

Parameters

$offset : mixed

Return values

bool

offsetSet()

Array Access

public offsetSet(mixed $offset, mixed $value) : void

Parameters

$offset : mixed
$value : mixed

offsetUnset()

public offsetUnset(mixed $offset) : void

Parameters

$offset : mixed

setResources()

public setResources(array $resources) : self

Parameters

$resources : array

Return values

self

valid()

public valid() : bool

Return values

bool
On this page