-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
For more details see https://issues.ibexa.co/browse/IBX-9103 and #440 Key changes: * Added RelationType for filtering purposes to fetch relations methods
- Loading branch information
Showing
7 changed files
with
210 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
<?php | ||
|
||
/** | ||
* @copyright Copyright (C) Ibexa AS. All rights reserved. | ||
* @license For full copyright and license information view LICENSE file distributed with this source code. | ||
*/ | ||
declare(strict_types=1); | ||
|
||
namespace Ibexa\Contracts\Core\Repository\Values\Content; | ||
|
||
enum RelationType: int | ||
{ | ||
/** | ||
* The relation type COMMON is a general relation between object set by a user. | ||
*/ | ||
case COMMON = 1; | ||
|
||
/** | ||
* the relation type EMBED is set for a relation which is anchored as embedded link in an attribute value. | ||
*/ | ||
case EMBED = 2; | ||
|
||
/** | ||
* the relation type LINK is set for a relation which is anchored as link in an attribute value. | ||
*/ | ||
case LINK = 4; | ||
|
||
/** | ||
* the relation type FIELD is set for a relation which is part of an relation attribute value. | ||
*/ | ||
case FIELD = 8; | ||
|
||
/** | ||
* the relation type ASSET is set for a relation to asset in an attribute value. | ||
*/ | ||
case ASSET = 16; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.