From: Tomas K. <to...@us...> - 2005-07-03 12:22:56
|
Update of /cvsroot/squirrelmail/squirrelmail/functions In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13477 Modified Files: identity.php Log Message: adding since tags. information is useful for developers that use SquirrelMail API. Index: identity.php =================================================================== RCS file: /cvsroot/squirrelmail/squirrelmail/functions/identity.php,v retrieving revision 1.11 retrieving revision 1.12 diff -u -w -r1.11 -r1.12 --- identity.php 29 Jun 2005 19:24:17 -0000 1.11 +++ identity.php 3 Jul 2005 12:22:27 -0000 1.12 @@ -10,19 +10,23 @@ * * @version $Id$ * @package squirrelmail + * @since 1.4.2 */ -/** Used to simplify includes */ +/** @ignore + * Used to simplify includes */ if (!defined('SM_PATH')) { define('SM_PATH','../'); } +/** preference and signature functions */ include_once(SM_PATH . 'include/load_prefs.php'); /** * Returns an array of all the identities. * Array is keyed: full_name, reply_to, email_address, index, signature * @return array full_name,reply_to,email_address,index,signature + * @since 1.4.2 */ function get_identities() { @@ -63,6 +67,7 @@ * Function to save the identities array * * @param array $identities Array of identities + * @since 1.5.1 and 1.4.5 */ function save_identities($identities) { @@ -112,6 +117,7 @@ * @param int $id Identity to modify * @param string $action Action to perform * @return array + * @since 1.5.1 and 1.4.5 */ function sqfixidentities( $identities, $id, $action ) { @@ -185,6 +191,7 @@ * * @param array $identity Identitiy Array * @return boolean + * @since 1.5.1 and 1.4.5 */ function empty_identity($ident) { if (empty($ident['full_name']) && empty($ident['email_address']) && empty($ident['signature']) && empty($ident['reply_to'])) { |