Ipinfo_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
# __construct( )
{{{ void __construct(void)

Overrides

public
# release_ip( $ip , $domain = NULL )
Release IP into allocation pool
protected
# __deleteIP( $ip , string $domain = NULL )
Release PTR assignment from an IP
public
public
protected
# _addIP( string $ip , string $hostname = '' )
Add an IP address to hosting
public
# _edit_user( string $userold , string $usernew , array $oldpwd )
public
public
public
public
# ip_allocated( $ip )
Check whether IP is assigned Assigned IP addresses will have PTRs. Unassigned will be empty.
public
# _verify_conf( Opcenter\Service\ConfigurationContext $ctx )
protected
# _announceIP( string $ip )
Announce an IP address via ARP
protected
# _getInterface( )
Get interface names to use with hosting
Methods inherited from Module\Skeleton\Standard
__construct(), setUserParameters(), autoloadModule(), __wakeup(), _invoke(), __debugInfo(), getExportedFunctions(), _reset(), cleanUserParameters(), query()
Constants Summary
public array IP_ALLOCATION_BLOCK
# array ( )
public string NAMEBASED_INTERFACE_FILE
# '/etc/virtualhosting/interface'
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