You are here

function mailhandler_mailbox_load in Mailhandler 7

Same name and namespace in other branches
  1. 6.2 mailhandler.module \mailhandler_mailbox_load()
  2. 6 mailhandler.module \mailhandler_mailbox_load()
  3. 7.2 mailhandler.module \mailhandler_mailbox_load()

Load mailbox array, is a menu loader callback

Parameters

$mid: Int mailbox ID to load

Return value

Array of mailbox configuration

File

./mailhandler.module, line 113

Code

function mailhandler_mailbox_load($mid) {
  return db_fetch_array(db_query("SELECT * FROM {mailhandler} WHERE mid = %d", $mid));
}