42 if (isset($localname))
return $localname;
49 if (strpos(
$userid,
'@') === FALSE)
return NULL;
50 $decomposed = explode(
'@',
$userid);
51 if(count($decomposed) === 2) {
52 return $decomposed[0];
65 assert(
'is_array($request)');
66 assert(
'array_key_exists("Attributes", $request)');
72 if(isset($fullname)) $request[
'Attributes'][
'smartname-fullname'] =
array($fullname);
if(empty($userids)) $userid
$attributes
Attributes which should be added/appended.
Create styles array
The data for the language used.
process(&$request)
Apply filter to add or replace attributes.