메소드 | 설명 | |
---|---|---|
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 | ||
리턴 | Traversable | An instance of an object implementing Iterator or Traversable |
public getPortal ( $key ) : |
||
$key | string The index of the portal | |
리턴 |
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) |
리턴 |
public getPortals ( ) : |
||
리턴 |
public getResources ( ) : array | ||
리턴 | array | The resources build to use this collection |
public getWebspace ( $key ) : |
||
$key | string The key of the webspace | |
리턴 |
public setPortalInformations ( array $portalInformations ) | ||
$portalInformations | array |
public setPortals ( |
||
$portals |
public setWebspaces ( |
||
$webspaces |