+
+ /** Add the '-p' optioin for callHelper
+ */
+ private function getMBoxPosition(array &$options, $id = null)
+ {
+ if (Banana::$spool->overview) {
+ if (!is_null($id) && isset(Banana::$spool->overview[$id])) {
+ $key = $id;
+ } else {
+ $key = max(Banana::$spool->ids);
+ if (!is_null($id) && $key >= $id) {
+ return;
+ }
+ }
+ if (isset(Banana::$spool->overview[$key]->storage['offset'])) {
+ $options[] = '-p ' . $key . ':' . Banana::$spool->overview[$key]->storage['offset'];
+ }
+ }
+ }