Overview

Namespaces

  • Cloudflare
    • Organizations
      • Firewall
        • AccessRules
    • User
      • Billing
        • Subscriptions
      • Firewall
    • Zone
      • Firewall
      • SSL
      • WAF
        • Packages

Classes

  • Analytics
  • Cache
  • CustomPages
  • CustomSSL
  • Dns
  • KeylessSSL
  • Pagerules
  • Plan
  • Railgun
  • Settings
  • SSL
  • Overview
  • Namespace
  • Class

Class CustomPages

CloudFlare API wrapper

Custom Pages for a Zone

Cloudflare\Api
Extended by Cloudflare\Zone\CustomPages
Namespace: Cloudflare\Zone
Author: James Bell james@james-bell.co.uk
Version: 1
Located at CloudFlare/Zone/CustomPages.php
Methods summary
public
# custom_pages( string $zone_identifier )

Available Custom Pages (permission needed: #zone_settings:read)

Available Custom Pages (permission needed: #zone_settings:read)

Parameters

$zone_identifier
API item identifier tag
public
# details( string $zone_identifier, string $identifier )

Custom Page details (permission needed: #zone_settings:read) Details about a specific Custom page details

Custom Page details (permission needed: #zone_settings:read) Details about a specific Custom page details

Parameters

$zone_identifier
API item identifier tag
$identifier
public
# update( string $zone_identifier, string $identifier, string $url, string $state )

Update Custom page URL (permission needed: #zone_settings:edit) Update Custom page URL

Update Custom page URL (permission needed: #zone_settings:edit) Update Custom page URL

Parameters

$zone_identifier
API item identifier tag
$identifier
$url
A URL that is associated with the Custom Page.
$state
The Custom Page state
Methods inherited from Cloudflare\Api
__construct(), delete(), get(), patch(), permissions(), post(), put(), request(), setAuthKey(), setCurlOption(), setEmail()
Properties summary
protected array $permission_level

Default permissions level

Default permissions level

# ['read' => '#zone_settings:read', 'edit' => '#zone_settings:edit']
Properties inherited from Cloudflare\Api
$auth_key, $curl_options, $email
API documentation generated by ApiGen