This contains utility functions for dealing with multiple identities

include_once (SM_PATH.'include/load_prefs.php') (line 20)
SM_PATH = '../' (line 17)

Used to simplify includes

empty_identity (line 259)

Function to test if identity is empty

boolean empty_identity ( $ident, array $identity)
  • array $identity: Identity Array
  • $ident
get_identities (line 27)

Returns an array of all the identities.

Array is keyed: full_name, reply_to, email_address, index, signature

  • return: full_name,reply_to,email_address,index,signature
array get_identities ()
save_identities (line 67)

Function to save the identities array

void save_identities (array $identities)
  • array $identities: Array of identities
sqfixidentities (line 121)

Returns an array with a fixed set of identities

array sqfixidentities (array $identities, int $id, string $action, [boolean $override_edit_identity = FALSE])
  • array $identities: Array of identities
  • int $id: Identity to modify
  • string $action: Action to perform
  • boolean $override_edit_identity: For use by plugins where the incoming identities array is trusted (OPTIONAL; default FALSE)

Documentation generated on Mon, 14 Oct 2019 04:24:40 +0200 by phpDocumentor 1.4.3