*
* @return array The array with "first" and "last"
*/
- private static function splitName($name) {
+ public static function splitName($name) {
$name = trim($name);
// Is the name longer than 64 characters? Then cut the rest of it.
$profile = $r[0];
$handle = $profile["addr"];
- $splitted_name = self::splitName($profile['name']);
- $first = $splitted_name['first'];
- $last = $splitted_name['last'];
+ $split_name = self::splitName($profile['name']);
+ $first = $split_name['first'];
+ $last = $split_name['last'];
$large = System::baseUrl().'/photo/custom/300/'.$profile['uid'].'.jpg';
$medium = System::baseUrl().'/photo/custom/100/'.$profile['uid'].'.jpg';