/**
* Return the mailbox list instance.
* For IMP/MIMP, returns an IMP_Mailbox_List_Track object.
- * For DIMP, returns an IMP_Mailbox_List object.
+ * For DIMP/Mobile, returns an IMP_Mailbox_List object.
*
* @param string $mailbox The mailbox name.
- * @param IMP_Indices $indices An indices object.
+ * @param IMP_Indices $indices An indices object. Only used for 'imp' and
+ * 'mimp' views.
*
* @return IMP_Mailbox_List The singleton instance.
* @throws IMP_Exception
/**
* Using the preferences and the current mailbox, determines the messages
* to view on the current page.
- *
- * @see buildMailboxPage()
*/
public function buildMailboxPage($page = 0, $start = 0, $opts = array())
{
}
/**
- * Determines if a rebuild is needed, and, if necessary, performs
- * the rebuild.
- *
- * @param boolean $force Force a rebuild?
*/
protected function _rebuild($force = false)
{
}
/**
- * Returns the current sorted array without the given messages.
- *
- * @param mixed $indices An IMP_Indices object or true to remove all
- * messages in the mailbox.
*/
public function removeMsgs($indices)
{
/* Update the current array index to its new position in the
* message array. */
$this->setIndex(0);
+
+ return true;
}
+
+ return false;
}
}