本文整理汇总了PHP中Tinebase_Core::getPreference方法的典型用法代码示例。如果您正苦于以下问题:PHP Tinebase_Core::getPreference方法的具体用法?PHP Tinebase_Core::getPreference怎么用?PHP Tinebase_Core::getPreference使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Tinebase_Core
的用法示例。
在下文中一共展示了Tinebase_Core::getPreference方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: update_1
/**
* freebusy right/pref -> freebusy grant
*/
public function update_1()
{
/**
* old const from pref class
* give all useraccounts grants to view free/busy of the account this preference is yes
*/
$FREEBUSY = 'freeBusy';
try {
// get all users with freebusy pref
$freebusyUserIds = Tinebase_Core::getPreference('Calendar')->getUsersWithPref($FREEBUSY, 1);
// get all affected calendars
$containerIds = array();
foreach ($freebusyUserIds as $userId) {
$containerIds = array_merge($containerIds, Tinebase_Container::getInstance()->getPersonalContainer($userId, 'Calendar', $userId, NULL, TRUE)->getId());
}
// grant freebusy to anyone for this calendars
foreach ($containerIds as $containerId) {
$containerGrants = Tinebase_Container::getInstance()->getGrantsOfContainer($containerId, TRUE);
$anyoneGrant = $containerGrants->filter('account_type', Tinebase_Acl_Rights::ACCOUNT_TYPE_ANYONE)->getFirstRecord();
if (!$anyoneGrant) {
$anyoneGrant = new Tinebase_Model_Grants(array('account_id' => 0, 'account_type' => Tinebase_Acl_Rights::ACCOUNT_TYPE_ANYONE));
$containerGrants->addRecord($anyoneGrant);
}
$anyoneGrant->{Tinebase_Model_Grants::GRANT_FREEBUSY} = TRUE;
Tinebase_Container::getInstance()->setGrants($containerId, $containerGrants, TRUE, TRUE);
}
// drop freeBusy prefs from pref table
$this->_db->delete(SQL_TABLE_PREFIX . 'preferences', "name LIKE 'freeBusy'");
} catch (Tinebase_Exception_NotFound $nfe) {
// pref was not found in system -> no user ever set freebusy -> nothing to do
}
$this->setApplicationVersion('Calendar', '3.2');
}
示例2: printDocs
public function printDocs()
{
// print payments which are debit returns and have flag print inquiry
$resultData = array();
$filters = array(array('field' => 'is_return_debit', 'operator' => 'equals', 'value' => '1'), array('field' => 'print_inquiry', 'operator' => 'equals', 'value' => '1'), array('field' => 'inquiry_print_date', 'operator' => 'isnull', 'value' => ''));
$objFilter = new Billing_Model_PaymentFilter($filters, 'AND');
$paymentIds = Billing_Controller_Payment::getInstance()->search($objFilter, null, null, true);
foreach ($paymentIds as $paymentId) {
$payment = Billing_Controller_Payment::getInstance()->get($paymentId);
// get base payment
$basePayment = $payment->getForeignRecordBreakNull('return_debit_base_payment_id', Billing_Controller_Payment::getInstance());
if ($basePayment) {
$batchJobDta = $basePayment->getForeignRecordBreakNull('batch_job_dta_id', Billing_Controller_BatchJobDta::getInstance());
if ($batchJobDta) {
$bankAccount = Billing_Api_BankAccount::getFromBatchJobDta($batchJobDta);
$debitor = $payment->getForeignRecord('debitor_id', Billing_Controller_Debitor::getInstance());
$contact = $debitor->getForeignRecord('contact_id', Addressbook_Controller_Contact::getInstance());
$data = array();
$dummyTextBlocks = null;
$data = array_merge($data, Addressbook_Custom_Template::getContactData(array('contact' => $contact, 'user' => Tinebase_Core::get(Tinebase_Core::USER), 'userContact' => Addressbook_Controller_Contact::getInstance()->getContactByUserId(Tinebase_Core::get(Tinebase_Core::USER)->getId())), $dummyTextBlocks));
$data = array_merge($data, array('bank_name' => $bankAccount->getBank(), 'account_name' => $bankAccount->getName(), 'account_nr' => $bankAccount->getNumber(), 'bank_code' => $bankAccount->getBankCode()));
$resultData[$contact->__get('n_fileas')] = $data;
$payment->__set('inquiry_print_date', new Zend_Date());
Billing_Controller_Payment::getInstance()->update($payment);
}
}
}
$outputFileName = 'Ruecklastschrift-Nachforschung-' . strftime('%d-%m-%Y %H-%M-%S') . '.pdf';
$templateId = Tinebase_Core::getPreference('Billing')->getValue(Billing_Preference::TEMPLATE_DEBIT_RETURN_INQUIRY);
ksort($resultData);
Billing_Controller_PrintJobRecordData::getInstance()->export($resultData, $templateId, $outputFileName);
}
示例3: update_1
/**
* update function (-> 3.2)
* - check all users with 'userEmailAccount' and update their accounts / preferences
*/
public function update_1()
{
// update account types for users with userEmailAccount preference
$imapConfig = Tinebase_Config::getInstance()->getConfigAsArray(Tinebase_Config::IMAP);
if (array_key_exists('host', $imapConfig)) {
$accounts = Felamimail_Controller_Account::getInstance()->getAll();
$accountBackend = new Felamimail_Backend_Account();
foreach ($accounts as $account) {
try {
if (Tinebase_Core::getPreference('Felamimail')->getValueForUser('userEmailAccount', $account->user_id)) {
$user = Tinebase_User::getInstance()->getFullUserById($account->user_id);
// account email == user->emailAddress && account->host == system account host -> type = system
if ($account->email == $user->accountEmailAddress && $account->host == $imapConfig['host']) {
$account->type = Felamimail_Model_Account::TYPE_SYSTEM;
Tinebase_Core::getLogger()->info(__METHOD__ . '::' . __LINE__ . ' Switching to system account: ' . $account->name);
$accountBackend->update($account);
}
}
} catch (Exception $e) {
// do nothing
}
}
}
// rename preference
$this->_db->query('UPDATE ' . SQL_TABLE_PREFIX . "preferences SET name = 'useSystemAccount' WHERE name = 'userEmailAccount'");
$this->setApplicationVersion('Felamimail', '3.2');
}
示例4: handle
/**
* process the XML file and add, change, delete or fetches data
*
* @return resource
*/
public function handle()
{
$defaultAccountId = Tinebase_Core::getPreference('Felamimail')->{Felamimail_Preference::DEFAULTACCOUNT};
try {
$this->_account = Felamimail_Controller_Account::getInstance()->get($defaultAccountId);
} catch (Tinebase_Exception_NotFound $ten) {
if (Tinebase_Core::isLogLevel(Zend_Log::WARN)) {
Tinebase_Core::getLogger()->warn(__METHOD__ . '::' . __LINE__ . " no email account configured");
}
throw new ActiveSync_Exception('no email account configured');
}
if (empty(Tinebase_Core::getUser()->accountEmailAddress)) {
throw new ActiveSync_Exception('no email address set for current user');
}
$this->_saveInSent = isset($_GET['SaveInSent']) && (bool) $_GET['SaveInSent'] == 'T';
if (!is_resource($this->_inputStream)) {
$this->_inputStream = fopen("php://input", 'r');
}
if (Tinebase_Core::isLogLevel(Zend_Log::TRACE)) {
$debugStream = fopen("php://temp", 'r+');
stream_copy_to_stream($this->_inputStream, $debugStream);
rewind($debugStream);
if (Tinebase_Core::isLogLevel(Zend_Log::DEBUG)) {
Tinebase_Core::getLogger()->debug(__METHOD__ . '::' . __LINE__ . " email to send:" . stream_get_contents($debugStream));
}
// replace original stream wirh debug stream, as php://input can't be rewinded
$this->_inputStream = $debugStream;
rewind($this->_inputStream);
}
$this->_incomingMessage = new Zend_Mail_Message(array('file' => $this->_inputStream));
}
示例5: testGetTranslatedValue
/**
* testGetTranslatedValue
*
* @see 0008600: Fix fatal error in Calendar/Model/Event.php
*/
public function testGetTranslatedValue()
{
$event = new Calendar_Model_Event(array('dtstart' => new Tinebase_DateTime('2011-11-23 14:25:00'), 'dtend' => new Tinebase_DateTime('2011-11-23 15:25:00'), 'summary' => 'test event', 'organizer' => Tinebase_Core::getUser()->contact_id));
$translation = Tinebase_Translation::getTranslation('Calendar');
$timezone = Tinebase_Core::getPreference()->getValueForUser(Tinebase_Preference::TIMEZONE, Tinebase_Core::getUser()->getId());
$fileas = Calendar_Model_Event::getTranslatedValue('organizer', $event->organizer, $translation, $timezone);
$userContact = Addressbook_Controller_Contact::getInstance()->getContactByUserId(Tinebase_Core::getUser()->getId());
$this->assertEquals($userContact->n_fileas, $fileas);
}
示例6: exportArticleSellList
public function exportArticleSellList($data, $exportType)
{
$export = Billing_Custom_ArticleExportData::create($data);
if ($export->hasNoGrouping() || $exportType == 'CSV') {
$export->setRecordSet(Billing_Controller_ArticleSold::getInstance()->search($export->getFilter(), $export->getPagination()));
} elseif ($export->hasGroupingCustomer()) {
// get all customers
// -> maybe a huge set
// check restrictions of filter regarding customer (customer_group)
/* $debitorFilter = new Billing_Model_DebitorFilter(array(),'AND');
$debFilter = null;
$articleFilter = $export->getFilter();
if($articleFilter->isFilterSet('debitor_id')){
$debFilter = $articleFilter->getFilter('debitor_id');
if($debFilter->isFilterSet('id')){
$debitorFilter->addFilter($debFilter->get('id'));
}
if($debFilter->isFilterSet('debitor_group_id')){
$debitorFilter->addFilter($debFilter->get('debitor_group_id'));
}
}*/
$debitorIds = Billing_Controller_ArticleSold::getInstance()->getDebitorIds($export->getFilter());
foreach ($debitorIds as $debitorId) {
$debitor = Billing_Controller_Debitor::getInstance()->get($debitorId);
$export->addCustomerRecordSet(Billing_Controller_ArticleSold::getInstance()->search($export->getCustomerFilter($debitor), $export->getPagination()), $debitorId);
}
}
switch ($exportType) {
case 'PDF':
$outputFileName = 'Artikel-Verkaufsliste-' . strftime('%d-%m-%Y %H-%M-%S') . '.pdf';
$templateId = Tinebase_Core::getPreference('Billing')->getValue(Billing_Preference::TEMPLATE_ARTICLE_SOLD);
if ($export->hasGroupingCustomer()) {
$data = array();
$aResult = $export->customerRecordsToArray(true);
foreach ($aResult as $debitorId => $result) {
$debitor = Billing_Controller_Debitor::getInstance()->get($debitorId);
$contact = $debitor->getForeignRecord('contact_id', Addressbook_Controller_Contact::getInstance());
$data[$contact->__get('n_fileas')] = array('POS_TABLE' => $result['data'], 'customer_nr' => $debitor->__get('debitor_nr'), 'customer_name' => $contact->__get('n_fileas'), 'begin_date' => \org\sopen\app\util\format\Date::format(new Zend_Date($export->getStartDate())), 'end_date' => $export->getEndDate() ? \org\sopen\app\util\format\Date::format(new Zend_Date($export->getEndDate())) : 'heute', 'sum_total_netto' => number_format($result['total_netto'], 2, ',', '.'), 'sum_total_brutto' => number_format($result['total_brutto'], 2, ',', '.'));
}
ksort($data);
} else {
$data = array(array('POS_TABLE' => $export->toArray(true), 'begin_date' => \org\sopen\app\util\format\Date::format(new Zend_Date($export->getStartDate())), 'end_date' => $export->getEndDate() ? \org\sopen\app\util\format\Date::format(new Zend_Date($export->getEndDate())) : 'heute', 'sum_total_netto' => number_format($export->getSumTotalNetto(), 2, ',', '.'), 'sum_total_brutto' => number_format($export->getSumTotalBrutto(), 2, ',', '.')));
}
Billing_Controller_PrintJobRecordData::getInstance()->export($data, $templateId, $outputFileName);
break;
case 'CSV':
$this->exportAsCsv($export, 'Artikel-Verkaufsliste-' . strftime('%d-%m-%Y %H-%M-%S') . '.csv');
break;
}
}
示例7: setUp
/**
* set up tests
*
*/
public function setUp()
{
$this->_transactionId = Tinebase_TransactionManager::getInstance()->startTransaction(Tinebase_Core::getDb());
$this->_backend = new Calendar_Backend_Sql();
$this->_personas = Zend_Registry::get('personas');
foreach ($this->_personas as $loginName => $user) {
$defaultCalendarId = Tinebase_Core::getPreference('Calendar')->getValueForUser(Calendar_Preference::DEFAULTCALENDAR, $user->getId());
$this->_personasContacts[$loginName] = Addressbook_Controller_Contact::getInstance()->getContactByUserId($user->getId());
$this->_personasDefaultCals[$loginName] = Tinebase_Container::getInstance()->getContainerById($defaultCalendarId);
}
$this->_testUser = Tinebase_Core::getUser();
$this->_testUserContact = Addressbook_Controller_Contact::getInstance()->getContactByUserId($this->_testUser->getId());
$this->_testCalendar = Tinebase_Container::getInstance()->addContainer(new Tinebase_Model_Container(array('name' => 'PHPUnit test calendar', 'type' => Tinebase_Model_Container::TYPE_PERSONAL, 'owner_id' => Tinebase_Core::getUser(), 'backend' => $this->_backend->getType(), 'application_id' => Tinebase_Application::getInstance()->getApplicationByName('Calendar')->getId()), true));
$this->_testCalendars = new Tinebase_Record_RecordSet('Tinebase_Model_Container');
$this->_testCalendars->addRecord($this->_testCalendar);
}
示例8: _appendRelationFilter
/**
* append relation filter
*
* @param Crm_Model_LeadFilter $filter
*/
protected function _appendRelationFilter($filter)
{
if (!Tinebase_Core::getPreference()->getValue(Tinebase_Preference::ADVANCED_SEARCH, false)) {
return;
}
$relationsToSearchIn = array('Addressbook_Model_Contact', 'Sales_Model_Product', 'Tasks_Model_Task');
$leadIds = array();
foreach ($relationsToSearchIn as $relatedModel) {
$filterModel = $relatedModel . 'Filter';
$relatedFilter = new $filterModel(array(array('field' => 'query', 'operator' => 'contains', 'value' => $this->_value)));
$relatedIds = Tinebase_Core::getApplicationInstance($relatedModel)->search($relatedFilter, NULL, FALSE, TRUE);
$relationFilter = new Tinebase_Model_RelationFilter(array(array('field' => 'own_model', 'operator' => 'equals', 'value' => 'Crm_Model_Lead'), array('field' => 'related_model', 'operator' => 'equals', 'value' => $relatedModel), array('field' => 'related_id', 'operator' => 'in', 'value' => $relatedIds)));
$leadIds = array_merge($leadIds, Tinebase_Relations::getInstance()->search($relationFilter, NULL)->own_id);
}
$filter->addFilter(new Tinebase_Model_Filter_Id('id', 'in', $leadIds));
}
示例9: handle
/**
* process the XML file and add, change, delete or fetches data
*
* @return resource
*/
public function handle()
{
$defaultAccountId = Tinebase_Core::getPreference('Felamimail')->{Felamimail_Preference::DEFAULTACCOUNT};
try {
$this->_account = Felamimail_Controller_Account::getInstance()->get($defaultAccountId);
} catch (Tinebase_Exception_NotFound $ten) {
if (Tinebase_Core::isLogLevel(Zend_Log::WARN)) {
Tinebase_Core::getLogger()->warn(__METHOD__ . '::' . __LINE__ . " no email account configured");
}
throw new ActiveSync_Exception('no email account configured');
}
list($this->_messageId, $this->_partId) = explode('-', $_GET['AttachmentName'], 2);
if (Tinebase_Core::isLogLevel(Zend_Log::DEBUG)) {
Tinebase_Core::getLogger()->debug(__METHOD__ . '::' . __LINE__ . " messageId: " . $this->_messageId . ' partId: ' . $this->_partId);
}
}
示例10: getMonitionStage
public function getMonitionStage()
{
$monitionStage1Days = (int) Tinebase_Core::getPreference('Billing')->getValue(Billing_Preference::MONITION_STAGE1);
$monitionStage2Days = (int) Tinebase_Core::getPreference('Billing')->getValue(Billing_Preference::MONITION_STAGE2);
$monitionStage3Days = (int) Tinebase_Core::getPreference('Billing')->getValue(Billing_Preference::MONITION_STAGE3);
$dueDays = $this->__get('due_days');
if ($monitionStage3Days < $dueDays) {
return 3;
}
if ($monitionStage2Days < $dueDays) {
return 2;
}
if ($monitionStage1Days < $dueDays) {
return 1;
}
return 0;
}
示例11: testCreateEvent
/**
* testCreateEvent
*/
public function testCreateEvent()
{
$scleverDisplayContainerId = Tinebase_Core::getPreference('Calendar')->getValueForUser(Calendar_Preference::DEFAULTCALENDAR, $this->_personas['sclever']->getId());
$contentSeqBefore = Tinebase_Container::getInstance()->getContentSequence($scleverDisplayContainerId);
$eventData = $this->_getEvent()->toArray();
$tag = Tinebase_Tags::getInstance()->createTag(new Tinebase_Model_Tag(array('name' => 'phpunit-' . substr(Tinebase_Record_Abstract::generateUID(), 0, 10), 'type' => Tinebase_Model_Tag::TYPE_PERSONAL)));
$eventData['tags'] = array($tag->toArray());
$note = new Tinebase_Model_Note(array('note' => 'very important note!', 'note_type_id' => Tinebase_Notes::getInstance()->getNoteTypes()->getFirstRecord()->getId()));
$eventData['notes'] = array($note->toArray());
$persistentEventData = $this->_uit->saveEvent($eventData);
$loadedEventData = $this->_uit->getEvent($persistentEventData['id']);
$this->_assertJsonEvent($eventData, $loadedEventData, 'failed to create/load event');
$contentSeqAfter = Tinebase_Container::getInstance()->getContentSequence($scleverDisplayContainerId);
$this->assertEquals($contentSeqBefore + 1, $contentSeqAfter, 'content sequence of display container should be increased by 1:' . $contentSeqAfter);
$this->assertEquals($contentSeqAfter, Tinebase_Container::getInstance()->get($scleverDisplayContainerId)->content_seq);
return $loadedEventData;
}
示例12: getPrincipalByPath
/**
* (non-PHPdoc)
* @see Sabre_DAVACL_IPrincipalBackend::getPrincipalByPath()
*/
public function getPrincipalByPath($path)
{
$principal = array('uri' => 'principals/users/' . Tinebase_Core::getUser()->contact_id, '{DAV:}displayname' => Tinebase_Core::getUser()->accountDisplayName);
if (!empty(Tinebase_Core::getUser()->accountEmailAddress)) {
$principal['{http://sabredav.org/ns}email-address'] = Tinebase_Core::getUser()->accountEmailAddress;
}
if (Tinebase_Core::getUser()->hasRight('Calendar', Tinebase_Acl_Rights::RUN)) {
try {
$defaultCalendar = Tinebase_Core::getPreference('Calendar')->getValue(Calendar_Preference::DEFAULTCALENDAR);
$principal['{' . Sabre_CalDAV_Plugin::NS_CALDAV . '}schedule-inbox-URL'] = $defaultCalendar;
$principal['{' . Sabre_CalDAV_Plugin::NS_CALDAV . '}schedule-outbox-URL'] = $defaultCalendar;
} catch (Tinebase_Exception_NotFound $tenf) {
if (Tinebase_Core::isLogLevel(Zend_Log::WARN)) {
Tinebase_Core::getLogger()->warn(__METHOD__ . '::' . __LINE__ . ' no default calendar found');
}
}
}
return $principal;
}
示例13: update_1
/**
* update to 1.2
* - add window style
*/
public function update_1()
{
// add window type preference
$windowStylePref = new Tinebase_Model_Preference(array('application_id' => Tinebase_Application::getInstance()->getApplicationByName('Tinebase')->getId(), 'name' => Tinebase_Preference::WINDOW_TYPE, 'value' => 'Browser', 'account_id' => 0, 'account_type' => Tinebase_Acl_Rights::ACCOUNT_TYPE_ANYONE, 'type' => Tinebase_Model_Preference::TYPE_DEFAULT, 'options' => '<?xml version="1.0" encoding="UTF-8"?>
<options>
<option>
<label>ExtJs style</label>
<value>Ext</value>
</option>
<option>
<label>Browser style</label>
<value>Browser</value>
</option>
</options>'));
if (Tinebase_Core::isLogLevel(Zend_Log::DEBUG)) {
Tinebase_Core::getLogger()->debug(__METHOD__ . '::' . __LINE__ . print_r($windowStylePref->toArray(), TRUE));
}
Tinebase_Core::getPreference()->create($windowStylePref);
$this->setApplicationVersion('Tinebase', '1.2');
}
示例14: _handleEvent
/**
* event handler function
*
* all events get routed through this function
*
* @param Tinebase_Event_Abstract $_eventObject the eventObject
*/
protected function _handleEvent(Tinebase_Event_Abstract $_eventObject)
{
if (Tinebase_Core::isLogLevel(Zend_Log::TRACE)) {
Tinebase_Core::getLogger()->trace(__METHOD__ . ' (' . __LINE__ . ') handle event of type ' . get_class($_eventObject));
}
switch (get_class($_eventObject)) {
case 'Admin_Event_AddAccount':
//$this->createPersonalFolder($_eventObject->account);
Tinebase_Core::getPreference('Calendar')->getValueForUser(Calendar_Preference::DEFAULTCALENDAR, $_eventObject->account->getId());
break;
case 'Tinebase_Event_User_DeleteAccount':
/**
* @var Tinebase_Event_User_DeleteAccount $_eventObject
*/
$this->_handleDeleteUserEvent($_eventObject);
// let event bubble
parent::_handleEvent($_eventObject);
break;
case 'Admin_Event_UpdateGroup':
if (Tinebase_Core::isLogLevel(Zend_Log::DEBUG)) {
Tinebase_Core::getLogger()->debug(__METHOD__ . ' (' . __LINE__ . ') updated group ' . $_eventObject->group->name);
}
Tinebase_ActionQueue::getInstance()->queueAction('Calendar.onUpdateGroup', $_eventObject->group->getId());
break;
case 'Admin_Event_AddGroupMember':
if (Tinebase_Core::isLogLevel(Zend_Log::DEBUG)) {
Tinebase_Core::getLogger()->debug(__METHOD__ . ' (' . __LINE__ . ') add groupmember ' . (string) $_eventObject->userId . ' to group ' . (string) $_eventObject->groupId);
}
Tinebase_ActionQueue::getInstance()->queueAction('Calendar.onUpdateGroup', $_eventObject->groupId);
break;
case 'Admin_Event_RemoveGroupMember':
if (Tinebase_Core::isLogLevel(Zend_Log::DEBUG)) {
Tinebase_Core::getLogger()->debug(__METHOD__ . ' (' . __LINE__ . ') removed groupmember ' . (string) $_eventObject->userId . ' from group ' . (string) $_eventObject->groupId);
}
Tinebase_ActionQueue::getInstance()->queueAction('Calendar.onUpdateGroup', $_eventObject->groupId);
break;
case 'Tinebase_Event_Container_BeforeCreate':
$this->_handleContainerBeforeCreateEvent($_eventObject);
break;
}
}
示例15: handle
/**
* parse FolderUpdate request
*
*/
public function handle()
{
$xml = simplexml_import_dom($this->_inputDom);
$this->_syncKey = (int) $xml->SyncKey;
$this->_parentId = (string) $xml->ParentId;
$this->_displayName = (string) $xml->DisplayName;
$this->_serverId = (string) $xml->ServerId;
if ($this->_logger instanceof Zend_Log) {
$this->_logger->debug(__METHOD__ . '::' . __LINE__ . " synckey is {$this->_syncKey} parentId {$this->_parentId} name {$this->_displayName}");
}
$defaultAccountId = Tinebase_Core::getPreference('Felamimail')->{Felamimail_Preference::DEFAULTACCOUNT};
$this->_syncState = $this->_syncStateBackend->validate($this->_device, 'FolderSync', $this->_syncKey);
try {
$this->_folder = $this->_folderBackend->getFolder($this->_device, $this->_serverId);
$dataController = Syncope_Data_Factory::factory($this->_folder->class, $this->_device, $this->_syncTimeStamp);
$felamimail_model_folder = Felamimail_Controller_Folder::getInstance()->get($this->_folder->folderid);
$dataController->updateFolder($defaultAccountId, trim($this->_displayName), $felamimail_model_folder['globalname']);
$this->_folderBackend->update($this->_folder);
} catch (Syncope_Exception_NotFound $senf) {
if ($this->_logger instanceof Zend_Log) {
$this->_logger->debug(__METHOD__ . '::' . __LINE__ . " " . $senf->getMessage());
}
}
}