PHP Class Sulu\Bundle\ContentBundle\Content\InternalLinksContainer

Inheritance: implements Sulu\Component\Util\ArrayableInterface
Exibir arquivo Open project: sulu/sulu Class Usage Examples

Public Methods

Method Description
__construct ( $ids, Sulu\Component\Content\Query\ContentQueryExecutorInterface $contentQueryExecutor, Sulu\Component\Content\Query\ContentQueryBuilderInterface $contentQueryBuilder, $params, Psr\Log\LoggerInterface $logger, $webspaceKey, $languageCode, $showDrafts )
__get ( $name ) magic getter.
__isset ( $name ) magic isset.
getData ( ) : Sulu\Component\Content\Compat\StructureInterface[] Lazy loads the data based on the filter criteria from the config.
toArray ( $depth = null )

Private Methods

Method Description
loadData ( ) lazy load data.

Method Details

__construct() public method

public __construct ( $ids, Sulu\Component\Content\Query\ContentQueryExecutorInterface $contentQueryExecutor, Sulu\Component\Content\Query\ContentQueryBuilderInterface $contentQueryBuilder, $params, Psr\Log\LoggerInterface $logger, $webspaceKey, $languageCode, $showDrafts )
$contentQueryExecutor Sulu\Component\Content\Query\ContentQueryExecutorInterface
$contentQueryBuilder Sulu\Component\Content\Query\ContentQueryBuilderInterface
$logger Psr\Log\LoggerInterface

__get() public method

magic getter.
public __get ( $name )

__isset() public method

magic isset.
public __isset ( $name )

getData() public method

Lazy loads the data based on the filter criteria from the config.
public getData ( ) : Sulu\Component\Content\Compat\StructureInterface[]
return Sulu\Component\Content\Compat\StructureInterface[]

toArray() public method

public toArray ( $depth = null )