You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -59,7 +59,7 @@ public function createRoleDraft(Role $role): RoleDraft;
59
59
/**
60
60
* Copies an existing Role.
61
61
*
62
-
* @since eZ Platform 3.0
62
+
* @since 3.0 eZ Platform 3.0 (ezplatform-kernel 1.0)
63
63
*
64
64
* @throws \Ibexa\Contracts\Core\Repository\Exceptions\UnauthorizedException if the authenticated user is not allowed to copy a role
65
65
* @throws \Ibexa\Contracts\Core\Repository\Exceptions\InvalidArgumentException if the name of the role already exists or if limitation of the same type
@@ -73,7 +73,7 @@ public function copyRole(Role $role, RoleCopyStruct $roleCopyStruct): Role;
73
73
/**
74
74
* Loads a RoleDraft for the given id.
75
75
*
76
-
* @since 6.0
76
+
* @since 1.0 eZ Platform 1.0 (ezpublish-kernel 6.0)
77
77
*
78
78
* @param int $id
79
79
*
@@ -99,7 +99,7 @@ public function loadRoleDraftByRoleId(int $roleId): RoleDraft;
99
99
/**
100
100
* Updates the properties of a RoleDraft.
101
101
*
102
-
* @since 6.0
102
+
* @since 1.0 eZ Platform 1.0 (ezpublish-kernel 6.0)
/** Criterion input type description constants: single. */
21
21
publicconstFORMAT_SINGLE = 1;
22
+
/** Criterion input type description constants: array. */
22
23
publicconstFORMAT_ARRAY = 2;
23
24
24
-
/**
25
-
* Criterion input value type description constants.
26
-
* Used by {@see getDescription()} to say which type of values an operator expects.
27
-
*/
25
+
/** Criterion input value type description constants: integer. */
28
26
publicconstTYPE_INTEGER = 1;
27
+
/** Criterion input value type description constants: string. */
29
28
publicconstTYPE_STRING = 2;
29
+
/** Criterion input value type description constants: boolean. */
30
30
publicconstTYPE_BOOLEAN = 4;
31
31
32
32
/**
@@ -35,10 +35,13 @@ class Specifications
35
35
public$operator;
36
36
37
37
/**
38
-
* Format supported for the Criterion value, either {@see self::FORMAT_SINGLE} for single
39
-
* or {@see self::FORMAT_ARRAY} for multiple.
38
+
* Format supported for the Criterion value.
39
+
*
40
+
* Either {@see Specifications::FORMAT_SINGLE} for single
41
+
* or {@see Specifications::FORMAT_ARRAY} for multiple.
40
42
*
41
-
* @see self::FORMAT_*
43
+
* @see Specifications::FORMAT_SINGLE
44
+
* @see Specifications::FORMAT_ARRAY
42
45
*
43
46
* @var int
44
47
*/
@@ -47,7 +50,9 @@ class Specifications
47
50
/**
48
51
* Accepted values types, specifying what type of variables are accepted as a value.
49
52
*
50
-
* @see self::TYPE_*
53
+
* @see Specifications::TYPE_INTEGER
54
+
* @see Specifications::TYPE_STRING
55
+
* @see Specifications::TYPE_BOOLEAN
51
56
*
52
57
* @var int
53
58
*/
@@ -56,20 +61,29 @@ class Specifications
56
61
/**
57
62
* Limitation on the number of items as the value.
58
63
*
59
-
* Only usable if {@see $valueFormat} is {@see self::FORMAT_ARRAY}.
64
+
* Only usable if {@see Specifications::$valueFormat} is {@see Specifications::FORMAT_ARRAY}.
60
65
* Not setting it means that 1...n will be required
61
66
*
67
+
* @see Specifications::$valueFormat
68
+
* @see Specifications::FORMAT_ARRAY
69
+
*
62
70
* @var int
63
71
*/
64
72
public$valueCount;
65
73
66
74
/**
67
75
* Creates a new Specifications object.
68
76
*
69
-
* @param string $operator The specified operator, as one of the Operator::* constants
70
-
* @param int $valueFormat The accepted value format, either {@see self::FORMAT_ARRAY} or {@see self::FORMAT_SINGLE}
71
-
* @param int $valueTypes The supported value types, as a bit field of the {@see self::TYPE_*} constants
72
-
* @param int $valueCount The required number of values, when the accepted format is {@see self::FORMAT_ARRAY}
77
+
* @param string $operator The specified operator, as one of the {@see \Ibexa\Contracts\Core\Repository\Values\Content\Query\Criterion\Operator}::* constants
78
+
* @param int $valueFormat The accepted value format, either {@see Specifications::FORMAT_ARRAY} or {@see Specifications::FORMAT_SINGLE}
79
+
* @param int $valueTypes The supported value types, as a bit field of the self::TYPE_* constants
80
+
* @param int $valueCount The required number of values, when the accepted format is {@see Specifications::FORMAT_ARRAY}
0 commit comments