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.
protected
# _announceIP( string $ip )
Announce an IP address via ARP
protected
# _getInterface( )
Get interface names to use with hosting
public
# _verify_conf( Opcenter\Service\ConfigurationContext $ctx )
Methods inherited from Module\Skeleton\Standard
__construct(), __wakeup(), autoloadModule(), setUserParameters(), cleanUserParameters(), setSessionId(), _invoke(), __debugInfo(), getExportedFunctions(), _reset(), getServices(), getNewServices(), getActiveServices(), getConfig(), getServiceValue(), setConfigJournal(), setConfig(), query(), _resetModule()
Constants Summary
public string IP_ALLOCATION_BLOCK
# ''
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, $pgsql, $mysql