Cloudflare_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
public
# create( string|null $email = NULL, null $passwd )
Create a new CloudFlare user
public
# add_zone( string $zone , array $subdomains = array ( ), $resolve_to = NULL )
Add a zone to CF management
public
# remove_zone( $zone )
Remove a hosted CF zone Removal will succeed whether a zone is properly hosted or not, this is a CF API limitation
public
# get_zone_info( $zone )
public
# is_hosted( $zone )
Verify that zone is hosted through CF CF only returns an affirmative if nameservers are delegated
public
# delete( $key = NULL )
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 ENDPOINT
# 'https://api.cloudflare.com/host-gw.html'
Constants inherited from Module\Skeleton\Standard
DEPENDENCY_MAP
Properties Summary
public $exportedFunctions
# array ( '*' => 2, )
Properties inherited from Module\Skeleton\Standard
$exportedFunctions, $username, $password, $domain, $user_id, $group_id, $permission_level, $session_id, $site, $site_id, $pgsql, $mysql