Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F117883174
IContent.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
1 KB
Referenced Files
None
Subscribers
None
IContent.php
View Options
<?php
/**
* Tine 2.0
*
* @package Syncroton
* @subpackage Backend
* @license http://www.tine20.org/licenses/lgpl.html LGPL Version 3
* @author Lars Kneschke <l.kneschke@metaways.de>
* @copyright Copyright (c) 2009-2012 Metaways Infosystems GmbH (http://www.metaways.de)
*
*/
/**
* sql backend class for the folder state
*
* @package Syncroton
* @subpackage Backend
*/
interface
Syncroton_Backend_IContent
{
/**
* create new content state
*
* @param Syncroton_Model_IContent $_contentState
* @return Syncroton_Model_IContent
*/
public
function
create
(
Syncroton_Model_IContent
$_contentState
);
/**
* mark state as deleted. The state gets removed finally,
* when the synckey gets validated during next sync.
*
* @param Syncroton_Model_IContent|string $_id
*/
public
function
delete
(
$_id
);
/**
* @param Syncroton_Model_IDevice|string $_deviceId
* @param Syncroton_Model_IFolder|string $_folderId
* @param string $_contentId
* @return Syncroton_Model_IContent
*/
public
function
getContentState
(
$_deviceId
,
$_folderId
,
$_contentId
);
/**
* get array of ids which got send to the client for a given class
*
* @param Syncroton_Model_IDevice|string $_deviceId
* @param Syncroton_Model_IFolder|string $_folderId
* @return array
*/
public
function
getFolderState
(
$_deviceId
,
$_folderId
);
/**
* reset list of stored id
*
* @param Syncroton_Model_IDevice|string $_deviceId
* @param Syncroton_Model_IFolder|string $_folderId
*/
public
function
resetState
(
$_deviceId
,
$_folderId
);
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Mon, Apr 6, 12:56 AM (5 d, 2 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
18831772
Default Alt Text
IContent.php (1 KB)
Attached To
Mode
rS syncroton
Attached
Detach File
Event Timeline