Documentation

IMP_Ftree_Eltdiff
in package
implements Serializable

Track element changes in the folder tree.

Tags
author

Michael Slusarz slusarz@horde.org

category

Horde

copyright

2013-2017 Horde LLC

license

http://www.horde.org/licenses/gpl GPL

Table of Contents

Interfaces

Serializable

Constants

ADD  = 1
CHANGE  = 2
DELETE  = 4
EXIST  = 8

Properties

$add  : array<string|int, mixed>
$change  : array<string|int, mixed>
$changed  : bool
Has the internal data structure changed?
$changed_elts  : int
$delete  : array<string|int, mixed>
$track  : bool
$_changes  : array<string|int, mixed>
List of diffs.
$_track  : bool
Is tracking active?

Methods

__call()  : mixed
__get()  : mixed
__serialize()  : array<string|int, mixed>
__set()  : mixed
__unserialize()  : void
add()  : void
change()  : void
clear()  : mixed
Clear diff stats.
delete()  : void
serialize()  : mixed
unserialize()  : mixed

Constants

Properties

$add read-only

public array<string|int, mixed> $add

List of added elements.

$change read-only

public array<string|int, mixed> $change

List of changed elements.

$changed

Has the internal data structure changed?

public bool $changed = \false

$changed_elts read-only

public int $changed_elts

The number of changed elements tracked.

$delete read-only

public array<string|int, mixed> $delete

List of deleted elements.

$track

public bool $track

Is tracking active?

$_changes

List of diffs.

protected array<string|int, mixed> $_changes = array()

$_track

Is tracking active?

protected bool $_track = \false

Methods

__call()

public __call(mixed $name, mixed $args) : mixed
Parameters
$name : mixed
$args : mixed

__get()

public __get(mixed $name) : mixed
Parameters
$name : mixed

__serialize()

public __serialize() : array<string|int, mixed>
Return values
array<string|int, mixed>

__set()

public __set(mixed $name, mixed $value) : mixed
Parameters
$name : mixed
$value : mixed

__unserialize()

public __unserialize(array<string|int, mixed> $data) : void
Parameters
$data : array<string|int, mixed>

add()

public add(string $elt) : void

Element added to tree.

Parameters
$elt : string

change()

public change(string $elt) : void

Element changed in tree.

Parameters
$elt : string

clear()

Clear diff stats.

public clear() : mixed

delete()

public delete(string $elt) : void

Element deleted in tree.

Parameters
$elt : string

serialize()

public serialize() : mixed

unserialize()

public unserialize(mixed $data) : mixed
Parameters
$data : mixed

        
On this page

Search results