Method | Description | |
---|---|---|
addResource ( Symfony\Component\Config\Resource\FileResource $resource ) | Adds a new FileResource, which is required to determine if the cache is fresh. | |
getIterator ( ) : Traversable |
(PHP 5 >= 5.0.0) Retrieve an external iterator. |
|
getPortal ( $key ) : |
Returns the portal with the given index. | |
getPortalInformations ( $environment, array | null $types = null ) : |
Returns the portal informations for the given environment. | |
getPortals ( ) : |
Returns all the portals of this collection. | |
getResources ( ) : array | Returns the resources used to build this collection. | |
getWebspace ( $key ) : |
Returns the webspace with the given key. | |
getWebspaces ( ) : |
||
length ( ) : integer | Returns the length of the collection. | |
setPortalInformations ( array $portalInformations ) | Sets the portal Information for this collection. | |
setPortals ( |
Sets the portals for this collection. | |
setWebspaces ( |
||
toArray ( ) : array | Returns the content of these portals as array. |
public addResource ( Symfony\Component\Config\Resource\FileResource $resource ) | ||
$resource | Symfony\Component\Config\Resource\FileResource |
public getIterator ( ) : Traversable | ||
return | Traversable | An instance of an object implementing Iterator or Traversable |
public getPortal ( $key ) : |
||
$key | string The index of the portal | |
return |
public getPortalInformations ( $environment, array | null $types = null ) : |
||
$environment | string The environment to deliver | |
$types | array | null | Defines which typr of portals are requested (null for all) |
return |
public getPortals ( ) : |
||
return |
public getResources ( ) : array | ||
return | array | The resources build to use this collection |
public getWebspace ( $key ) : |
||
$key | string The key of the webspace | |
return |
public getWebspaces ( ) : |
||
return |
public setPortalInformations ( array $portalInformations ) | ||
$portalInformations | array |
public setPortals ( |
||
$portals |
public setWebspaces ( |
||
$webspaces |