if (is_array($params)) { $params =
(object)$params;
} if (!
isset($params->filename
) /* || Zend_Loader::isReadable($params['filename']) */
) { /**
* @see Zend_Mail_Storage_Exception
*/
throw new Zend_Mail_Storage_Exception('no valid filename given in params'
);
} $this->
_openMboxFile($params->filename
);
$this->_has
['top'
] = true;
$this->_has
['uniqueid'
] = false;
} /**
* check if given file is a mbox file
*
* if $file is a resource its file pointer is moved after the first line
*
* @param resource|string $file stream resource of name of file
* @param bool $fileIsString file is string or resource
* @return bool file is mbox file
*/