KWeb  6.4
KWebSynch Class Reference

Public Member Functions

 setEnabled ($enabled)
 isEnabled ()
 storeLog ($type, $operation, $id1, $id2=false, $data=false)
 parseXML ($data)
 Przyjmuje XML synchronizacji i zwraca listę elementów do wykonania (KWebSynchItem)...
 createSynchItem ($synchId, $type, $operation)
 findLastValue ($type, $id1, $name)
 findEntries ($type, $id1, $object)

Static Public Member Functions

static instance ($create=true)

Data Fields

const TYPE_ACCESS = 'access'
const TYPE_ITEM = 'obj/item'
const TYPE_LINK = 'obj/link'
const TYPE_OBJECT = 'obj/'
const OP_CREATE = 'create'
const OP_REMOVE = 'remove'
const OP_UPDATE = 'update'
const OP_SWITCHID = 'switchid'
const OP_SWITCHTYPE = 'switchtype'
const OP_SWITCHPARENT = 'switchparent'

Static Public Attributes

static $inst = null

Protected Member Functions

 __construct ()

Constructor & Destructor Documentation

KWebSynch::__construct ( ) [protected]

Member Function Documentation

KWebSynch::createSynchItem ( synchId,
type,
operation 
)
Returns:
KWebSynchItem
KWebSynch::findEntries ( type,
id1,
object 
)
KWebSynch::findLastValue ( type,
id1,
name 
)
static KWebSynch::instance ( create = true) [static]
Returns:
KWebSynch
KWebSynch::isEnabled ( )
KWebSynch::parseXML ( data)

Przyjmuje XML synchronizacji i zwraca listę elementów do wykonania (KWebSynchItem)...

<synch>

Nowy, testowy tytuł...

</synch>

KWebSynch::setEnabled ( enabled)
KWebSynch::storeLog ( type,
operation,
id1,
id2 = false,
data = false 
)

Field Documentation

KWebSynch::$inst = null [static]
const KWebSynch::OP_CREATE = 'create'
const KWebSynch::OP_REMOVE = 'remove'
const KWebSynch::OP_SWITCHID = 'switchid'
const KWebSynch::OP_SWITCHPARENT = 'switchparent'
const KWebSynch::OP_SWITCHTYPE = 'switchtype'
const KWebSynch::OP_UPDATE = 'update'
const KWebSynch::TYPE_ACCESS = 'access'
const KWebSynch::TYPE_ITEM = 'obj/item'
const KWebSynch::TYPE_LINK = 'obj/link'
const KWebSynch::TYPE_OBJECT = 'obj/'

The documentation for this class was generated from the following file: