eZ/Publish/Core/Repository/Helper/DomainMapper.php 1 location
|
@@ 422-424 (lines=3) @@
|
| 419 |
|
throw new InvalidArgumentValue('hidden', $locationCreateStruct->hidden, 'LocationCreateStruct'); |
| 420 |
|
} |
| 421 |
|
|
| 422 |
|
if ($locationCreateStruct->remoteId !== null && (!is_string($locationCreateStruct->remoteId) || empty($locationCreateStruct->remoteId))) { |
| 423 |
|
throw new InvalidArgumentValue('remoteId', $locationCreateStruct->remoteId, 'LocationCreateStruct'); |
| 424 |
|
} |
| 425 |
|
|
| 426 |
|
if ($locationCreateStruct->sortField !== null && !$this->isValidLocationSortField($locationCreateStruct->sortField)) { |
| 427 |
|
throw new InvalidArgumentValue('sortField', $locationCreateStruct->sortField, 'LocationCreateStruct'); |
eZ/Publish/Core/Repository/LocationService.php 1 location
|
@@ 446-448 (lines=3) @@
|
| 443 |
|
throw new InvalidArgumentValue('priority', $locationUpdateStruct->priority, 'LocationUpdateStruct'); |
| 444 |
|
} |
| 445 |
|
|
| 446 |
|
if ($locationUpdateStruct->remoteId !== null && (!is_string($locationUpdateStruct->remoteId) || empty($locationUpdateStruct->remoteId))) { |
| 447 |
|
throw new InvalidArgumentValue('remoteId', $locationUpdateStruct->remoteId, 'LocationUpdateStruct'); |
| 448 |
|
} |
| 449 |
|
|
| 450 |
|
if ($locationUpdateStruct->sortField !== null && !$this->domainMapper->isValidLocationSortField($locationUpdateStruct->sortField)) { |
| 451 |
|
throw new InvalidArgumentValue('sortField', $locationUpdateStruct->sortField, 'LocationUpdateStruct'); |
eZ/Publish/Core/Repository/UserService.php 1 location
|
@@ 696-698 (lines=3) @@
|
| 693 |
|
} |
| 694 |
|
} |
| 695 |
|
|
| 696 |
|
if ($userUpdateStruct->password !== null && (!is_string($userUpdateStruct->password) || empty($userUpdateStruct->password))) { |
| 697 |
|
throw new InvalidArgumentValue('password', $userUpdateStruct->password, 'UserUpdateStruct'); |
| 698 |
|
} |
| 699 |
|
|
| 700 |
|
if ($userUpdateStruct->enabled !== null && !is_bool($userUpdateStruct->enabled)) { |
| 701 |
|
throw new InvalidArgumentValue('enabled', $userUpdateStruct->enabled, 'UserUpdateStruct'); |