File/plugins/test/setup.php

Description

NaSMail Test plugin Copyright (c) 2007 The NaSMail Project This file is part of NaSMail test 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

  • version: $Id: setup.php 1453 2009-10-26 10:02:59Z tokul $
Functions
squirrelmail_plugin_init_test (line 26)

init function

void squirrelmail_plugin_init_test ()
test_function (line 65)

Calculates memory usage

string test_function ()
test_menuline (line 114)

Adds link to plugin in menuline

void test_menuline ()
test_microtime_float (line 133)

Returns current time with microseconds as float

Source: PHP microtime() manual

  • since: 1.1
float test_microtime_float ()
test_move_before_move (line 142)

Registers move_before_move time

  • since: 1.1
void test_move_before_move ()
test_print_usage (line 95)

Prints memory usage information

Function can be used in hooks that don't have output formating rules.

void test_print_usage (array $args)
  • array $args: Hook arguments
test_register_in_session (line 77)

Saves memory usage information in session

void test_register_in_session (array $args)
  • array $args: Hook arguments
test_version (line 123)

Shows plugin version

string test_version ()

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