public
void
|
#
__construct(
string
$dir
)
Parameters$dir string Directory location with journal file |
public
void
|
#
__destruct(
)
|
public
void
|
#
write(
string
$key,
array
$dependencies
)
Writes entry information into the journal. Writes entry information into the journal. Parameters$key string$dependencies arrayImplementation of |
public
array
|
#
clean(
array
$conditions
)
Cleans entries from journal. Cleans entries from journal. Parameters$conditions arrayReturnsarray of removed items or NULL when performing a full cleanup
Implementation of |
Methods Inherited From NObject
getReflection(), __call(), __callStatic(), extensionMethod(), __get(), __set(), __isset(), __unset()
FILE |
'btfj.dat' # |
FILE_MAGIC |
1651795562 # |
INDEX_MAGIC |
1768842341 # |
DATA_MAGIC |
1684108385 # |
NODE_SIZE |
4096 # |
BITROT |
12 # |
HEADER_SIZE |
4096 # |
INT32_SIZE |
4 # |
INFO |
'i' # |
TYPE |
't' # |
IS_LEAF |
'il' # |
PREV_NODE |
'p' # |
END |
'e' # |
MAX |
'm' # |
INDEX_DATA |
'id' # |
LAST_INDEX |
'l' # |
TAGS |
't' # |
PRIORITY |
'p' # |
ENTRIES |
'e' # |
DATA |
'd' # |
KEY |
'k' # |
DELETED |
'd' # |
static
|
$debug | false |
Debug mode, only for testing purposes # |