File/plugins/notes/functions.php

Description

Functions

Copyright (c) 2007-2008 The NaSMail Project This file is part of NaSMail notes plugin.

This plugin is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This plugin is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with plugin; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

This script uses some code from NaSMail include/options/folder.php and src/options_folder.php Copyright (c) 2001-2006 The SquirrelMail Project Team Copyright (c) 2006-2007 The NaSMail Project

  • version: $Id: functions.php 1344 2008-04-30 09:39:20Z tokul $
Functions
notes_left_main_before_do (line 56)

Creates notes folder, if not available

void notes_left_main_before_do ()
notes_left_main_folder_icon_do (line 83)

Sets folder icon

  • return: Path to notes icon file
string notes_left_main_folder_icon_do (string $mailbox)
  • string $mailbox: Mailbox name
notes_loading_prefs_do (line 91)

Loads plugin preferences and redirects notes mailbox listing

void notes_loading_prefs_do ()
notes_menuline_do (line 32)

Adds menuline

void notes_menuline_do ()
notes_optpage_loadhook_folder_do (line 110)

Adds notes options to folder preferences

void notes_optpage_loadhook_folder_do ()
notes_special_mailbox_do (line 48)

Marks notes folder as special

boolean notes_special_mailbox_do (string $mailbox)
  • string $mailbox: Tested mailbox name
save_option_notes_folder (line 138)

Processes notes folder option changes

void save_option_notes_folder (object SquirrelOption $option)
  • object SquirrelOption $option

Documentation generated on Sun, 22 Nov 2009 17:36:32 +0200 by phpDocumentor 1.4.3