class PrivateMessageMapper in Open Social 10.2.x
Same name and namespace in other branches
- 8.9 modules/social_features/social_private_message/src/Mapper/PrivateMessageMapper.php \Drupal\social_private_message\Mapper\PrivateMessageMapper
- 8.2 modules/social_features/social_private_message/src/Mapper/PrivateMessageMapper.php \Drupal\social_private_message\Mapper\PrivateMessageMapper
- 8.3 modules/social_features/social_private_message/src/Mapper/PrivateMessageMapper.php \Drupal\social_private_message\Mapper\PrivateMessageMapper
- 8.4 modules/social_features/social_private_message/src/Mapper/PrivateMessageMapper.php \Drupal\social_private_message\Mapper\PrivateMessageMapper
- 8.5 modules/social_features/social_private_message/src/Mapper/PrivateMessageMapper.php \Drupal\social_private_message\Mapper\PrivateMessageMapper
- 8.6 modules/social_features/social_private_message/src/Mapper/PrivateMessageMapper.php \Drupal\social_private_message\Mapper\PrivateMessageMapper
- 8.7 modules/social_features/social_private_message/src/Mapper/PrivateMessageMapper.php \Drupal\social_private_message\Mapper\PrivateMessageMapper
- 8.8 modules/social_features/social_private_message/src/Mapper/PrivateMessageMapper.php \Drupal\social_private_message\Mapper\PrivateMessageMapper
- 10.3.x modules/social_features/social_private_message/src/Mapper/PrivateMessageMapper.php \Drupal\social_private_message\Mapper\PrivateMessageMapper
- 10.0.x modules/social_features/social_private_message/src/Mapper/PrivateMessageMapper.php \Drupal\social_private_message\Mapper\PrivateMessageMapper
- 10.1.x modules/social_features/social_private_message/src/Mapper/PrivateMessageMapper.php \Drupal\social_private_message\Mapper\PrivateMessageMapper
Class PrivateMessageMapper.
@package Drupal\social_private_message\Mapper
Hierarchy
- class \Drupal\social_private_message\Mapper\PrivateMessageMapper extends \Drupal\private_message\Mapper\PrivateMessageMapper uses SocialProfileTrait
Expanded class hierarchy of PrivateMessageMapper
File
- modules/
social_features/ social_private_message/ src/ Mapper/ PrivateMessageMapper.php, line 13
Namespace
Drupal\social_private_message\MapperView source
class PrivateMessageMapper extends PrivateMessageMapperBase {
use SocialProfileTrait;
/**
* {@inheritdoc}
*/
public function getUserIdsFromString($string, $count) {
if ($this->currentUser
->hasPermission('access user profiles') && $this->currentUser
->hasPermission('use private messaging system')) {
return $this
->getUserIdsFromName($string, $count);
}
return [];
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
PrivateMessageMapper:: |
public | function | ||
SocialProfileTrait:: |
private | function | Add Nickname. | |
SocialProfileTrait:: |
private | function | End a Social Profile Mention Query. | |
SocialProfileTrait:: |
public | function | Get a list of account IDs whose account names begin with the given string. | |
SocialProfileTrait:: |
private | function | Sorts the query. | |
SocialProfileTrait:: |
private | function | Start a Social Profile Mention Query. | |
SocialProfileTrait:: |
private | function | Check if can use the full name for the search. |