/functions/identity.php

Description

identity.php

This contains utility functions for dealing with multiple identities

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

Used to simplify includes

Functions
empty_identity (line 208)

Function to test if identity is empty

boolean empty_identity ( $ident, array $identity)
  • array $identity: Identitiy 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 116)

Returns an array with a fixed set of identities

array sqfixidentities (array $identities, int $id, string $action)
  • array $identities: Array of identities
  • int $id: Identity to modify
  • string $action: Action to perform

Documentation generated on Thu, 23 Oct 2014 04:21:38 +0200 by phpDocumentor 1.4.3