InitTrait
Table of Contents
Methods
- prepareReferences() : void
- Loads the references of the chosen scope together with their image, which may be missing because `imageId` and `logoId` are nullable.
Methods
prepareReferences()
Loads the references of the chosen scope together with their image, which may be missing because `imageId` and `logoId` are nullable.
private
prepareReferences([string $scope = 'list' ]) : void
$scope selects the presentation subset:
list: reference list / portfolio (inList), the default.featured: highlighted work on the home page (featured).logos: strip of supplier logos (inLogos;logoIdmay be empty).all: every public reference, no subset (backward compatibility).
logos loads logoId, every other scope loads imageId; they are two separate
image channels.
Parameters
- $scope : string = 'list'