Ftp_Module

+------------------------------------------------------------+ | apnscp | +------------------------------------------------------------+ | Copyright (c) Apis Networks | +------------------------------------------------------------+ | Licensed under Artistic License 2.0 | +------------------------------------------------------------+ | Author: Matt Saladna (msaladna@apisnetworks.com) | +------------------------------------------------------------+
extends Module\Skeleton\Standard implements Opcenter\Contracts\Hookable
Methods Summary
public
public
# jail_user( $user , $dir = '' )
public
# set_option( $user , $c_directive , $c_val = NULL )
protected
# _set_option_real( $user , $c_directive , $c_val = NULL )
public
# deny_user( $user )
protected
# getPamServiceName( )
Wrapper for backwards compatibility during dev

todo


public
# permit_user( $user )
public
# _edit_user( string $user , string $usernew , array $pwd )
public
# user_enabled( $user )
protected
# _user_jailed_real( $user )
public
# has_configuration( $user )
public
# get_option( $user , $c_directive )
protected
# _get_option_real( $user , $c_directive )
public
# _reload( $what = NULL )
public
public
# user_jailed( $user )
public
# unjail_user( $user )
public
public
# enabled( )
public
# _verify_conf( Opcenter\Service\ConfigurationContext $ctx )
public
public
public
Methods inherited from Module\Skeleton\Standard
__construct(), setUserParameters(), autoloadModule(), __wakeup(), _invoke(), __debugInfo(), getExportedFunctions(), _reset(), cleanUserParameters(), query()
Constants Summary
public array DEPENDENCY_MAP
# array ( 0 => 'siteinfo', 1 => 'users', )
public string VSFTPD_CONF_DIR
{{{ void __construct(void)
# '/etc/vsftpd'
public string VSFTPD_CHROOT_FILE
# '/etc/vsftpd.chroot_list'
public string PAM_SVC_NAME
# 'ftp'
Constants inherited from Module\Skeleton\Standard
DEPENDENCY_MAP
Properties inherited from Module\Skeleton\Standard
$exportedFunctions, $username, $password, $domain, $user_id, $group_id, $permission_level, $session_id, $site, $site_id