public function getAccountRolesComputed($accountId) { $accountRoles = array(); foreach ($this->getAccountRoles($accountId) as $role) { $accountRoles[] = $this->getAccountRoleComputed($role); } return $accountRoles; }