_import_failures; } public function tryExport() { ob_start(); $this->_export(); return ob_get_clean(); } public function tryImport() { return $this->_import(); } // no need to send email notifications (mostly) protected function _notifyUser($user, $password, $status_alert=true) { if ($this->mock_email_notifications) { $this->mock_email_notifications_sent++; return true; } else { return parent::_notifyUser($user, $password, $status_alert); } } protected function _isUploadedFile($file) { return file_exists($file); } }