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 $email , string $passwd = NULL )
Create a new CloudFlare user
public
# add_zone( string $zone , array $subdomains = array ( ), string $resolve_to = NULL )
Add a zone to CF management
public
# remove_zone( string $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( string $zone )
public
# is_hosted( string $zone )
Verify that zone is hosted through CF CF only returns an affirmative if nameservers are delegated
public
# delete( string $key = NULL )
Methods inherited from Module\Skeleton\Standard
__construct(), setUserParameters(), autoloadModule(), __wakeup(), _invoke(), __debugInfo(), getExportedFunctions(), _reset(), cleanUserParameters(), query()
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