Méthode | Description | |
---|---|---|
__construct ( DvsField $Field, DvsGlobalField $GlobalField ) | Construct a new FieldsRepository | |
findContentRequestedFieldsList ( integer $pageVersionId ) : Field | Find all fields where content requested is true for given page version id and builds a list of field keys | |
findFieldByGlobalKeyAndLanguage ( string $key, integer $languageId ) : DvsGlobalField | Find a field by it's global key and language id | |
findFieldById ( integer $id ) : DvsField | Find the field by id | |
findFieldByIdAndScope ( integer $fieldId, string $fieldScope ) : DvsField | Find a field by it's id and scope (page or global) | |
findFieldByKeyAndPageVersion ( string $key, $pageVersionId, $collectionInstanceId ) : Field | Find existing page field given key and pageId | |
findPristinePageFields ( string $key ) : Collection | Find all pristine page fields that match this key | |
findTrashedFieldByGlobalKeyAndLanguage ( [type] $key, [type] $languageId ) : [type] | [findFieldByGlobalKeyAndLanguage description] | |
findTrashedFieldByIdAndScope ( integer $fieldId, string $fieldScope ) : DvsField | Find a field by it's scope and included fields that have been deleted | |
findTrashedFieldByKeyAndPageVersion ( string $key, $pageVersionId ) : Field | Find existing page field (only if it has been trashed) | |
findTrashedGlobalFieldByKeyAndLanguage ( string $key, integer $languageId ) : DvsGlobalField | Find existing global field (only if it has been trashed) |
public __construct ( DvsField $Field, DvsGlobalField $GlobalField ) | ||
$Field | DvsField | |
$GlobalField | DvsGlobalField |
public findContentRequestedFieldsList ( integer $pageVersionId ) : Field | ||
$pageVersionId | integer | |
Résultat | Field |
public findFieldByGlobalKeyAndLanguage ( string $key, integer $languageId ) : DvsGlobalField | ||
$key | string | |
$languageId | integer | |
Résultat | DvsGlobalField |
public findFieldById ( integer $id ) : DvsField | ||
$id | integer | |
Résultat | DvsField |
public findFieldByIdAndScope ( integer $fieldId, string $fieldScope ) : DvsField | ||
$fieldId | integer | |
$fieldScope | string | |
Résultat | DvsField | || DvsGlobalField |
public findFieldByKeyAndPageVersion ( string $key, $pageVersionId, $collectionInstanceId ) : Field | ||
$key | string | |
Résultat | Field |
public findPristinePageFields ( string $key ) : Collection | ||
$key | string | |
Résultat | Collection |
public findTrashedFieldByGlobalKeyAndLanguage ( [type] $key, [type] $languageId ) : [type] | ||
$key | [type] | |
$languageId | [type] | |
Résultat | [type] |
public findTrashedFieldByIdAndScope ( integer $fieldId, string $fieldScope ) : DvsField | ||
$fieldId | integer | |
$fieldScope | string | |
Résultat | DvsField | || DvsGlobalField |
public findTrashedFieldByKeyAndPageVersion ( string $key, $pageVersionId ) : Field | ||
$key | string | |
Résultat | Field |
public findTrashedGlobalFieldByKeyAndLanguage ( string $key, integer $languageId ) : DvsGlobalField | ||
$key | string | |
$languageId | integer | |
Résultat | DvsGlobalField |