⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.89
Server IP:
41.128.143.86
Server:
Linux host.raqmix.cloud 6.8.0-1025-azure #30~22.04.1-Ubuntu SMP Wed Mar 12 15:28:20 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
8.3.23
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
psa-pear
/
pear
/
php
/
Horde
/
SyncMl
/
Edit File: DataStore.php
<?php /** * The Horde_SyncMl_DataStore class describes one of the possible datastores * (i.e. databases) of the device. * * Most important attributes are the preferred MIME Types for sending and * receiving data for this datastore: $Tx_Pref and $Rx_Pref. * * Copyright 2005-2016 Horde LLC (http://www.horde.org/) * * See the enclosed file COPYING for license information (LGPL). If you * did not receive this file, see http://www.horde.org/licenses/lgpl21. * * @author Karsten Fourmont <karsten@horde.org> * @author Jan Schneider <jan@horde.org> * @package SyncMl */ class Horde_SyncMl_DataStore { /** * The local URI of the datastore. * * @var string */ public $SourceRef; /** * The display name of the datastore * * @var string */ public $DisplayName; /** * The maximum size of a global unique identifier for the datastore in * bytes. * * @var integer */ public $MaxGUIDSize; /** * The preferred types and versions of a content type received by the * device. * * The content types (CTType) are the keys, the versions (VerCT) are the * values. * * @var array */ public $Rx_Pref = array(); /** * The supported types and versions of a content type received by the * device. * * The content types (CTType) are the keys, the versions (VerCT) are the * values. * * @var array */ public $Rx = array(); /** * The preferred types and versions of a content type transmitted by the * device. * * The content types (CTType) are the keys, the versions (VerCT) are the * values. * * @var array */ public $Tx_Pref = array(); /** * The supported types and versions of a content type transmitted by the * device. * * The content types (CTType) are the keys, the versions (VerCT) are the * values. * * @var array */ public $Tx = array(); /** * The maximum memory and item identifier for the datastore. * * Not implemented yet. */ public $DSMem; /** * The synchronization capabilities of the datastore. * * The synchronization types (SyncType) are stored in the keys of the * hash. * * @var array */ public $SyncCap = array(); /** * Returns the preferred content type the client wants to receive. * * @return string The device's preferred content type or null if not * specified (which is not allowed). */ public function getPreferredRXContentType() { reset($this->Rx_Pref); return key($this->Rx_Pref); } /** * Returns the version of the preferred content type the client wants to * receive. * * @return string The device's preferred content type version or null if * not specified (which is not allowed). */ public function getPreferredRXContentTypeVersion() { return reset($this->Rx_Pref); } }
Simpan