Watch_Module

+------------------------------------------------------------+ | apnscp | +------------------------------------------------------------+ | Copyright (c) Apis Networks | +------------------------------------------------------------+ | Licensed under Artistic License 2.0 | +------------------------------------------------------------+ | Author: Matt Saladna (msaladna@apisnetworks.com) | +------------------------------------------------------------+
extends Module\Skeleton\Standard
Methods Summary
public
# export( string $id )
Export a checkpoint
public
# fetch( string $id )
Retrieve stored checkpoint from cache
public
# import( string $data )
Import a saved checkpoint
public
# batch( $path , $id1 , string $mode = 'unlock' )
Unattended file change calcuation
public
# checkpoint( string $path )
Make a filesystem checkpoint Note: this only works on publicly readable locations
public
# compare( string $id1 , string $id2 )
Compare checkpoints for changes
public
# lockdown( string $path , array $diff , string $mode = 'unlock' )
Change ownership to active user + open up only to $diff files
Methods inherited from Module\Skeleton\Standard
__construct(), setUserParameters(), autoloadModule(), __wakeup(), _invoke(), __debugInfo(), getExportedFunctions(), _reset(), cleanUserParameters(), query()
Constants Summary
public int CACHE_STORAGE_DURATION
# 7200
public string CACHE_PREFIX
# 'watch.'
Constants inherited from Module\Skeleton\Standard
DEPENDENCY_MAP
Properties Summary
public $exportedFunctions
# array ( '*' => 3, )
Properties inherited from Module\Skeleton\Standard
$exportedFunctions, $username, $password, $domain, $user_id, $group_id, $permission_level, $session_id, $site, $site_id