File/nasmail/functions/identity.php

Description

identity.php

This contains utility functions for dealing with multiple identities

Depends on preference and plugin functions.

  • version: $Id: identity.php 441 2007-06-25 11:09:05Z tokul $
  • copyright: (c) 1999-2006 The SquirrelMail Project Team
  • copyright: (c) 2006-2007 The NaSMail Project
  • license: GNU Public License
Functions
empty_identity (line 202)

Function to test if identity is empty

boolean empty_identity (array $ident)
  • array $ident: ident Identity Array
get_identities (line 21)

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 61)

Function to save the identities array

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

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 Sun, 22 Nov 2009 17:36:38 +0200 by phpDocumentor 1.4.3