Sunnysideup\UnderConstruction\Api\CalculatedValues
Synopsis
class CalculatedValues
extends ViewableData
{
- // constants
- const UNDER_CONSTRUCTION_FOLDER_NAME = 'offline';
- const UNDER_CONSTRUCTION_FILE_NAME = 'offline.php';
- // members
- protected $sc;
- private static array $under_construction_bg_options = ;
- private static array $under_construction_fg_options = ;
- // methods
- public void __construct()
- public static void go_offline_link()
- public static void go_online_link()
- public void getSiteConfig()
- public void CreateFiles()
- public void CreateDirAndTest()
- public ArrayList UnderConstructionIpAddresses()
- public void UnderConstructionFilePath()
- public void UnderConstructionUrlPath()
- public void UnderConstructionImagePath()
- public void UnderConstructionFolderName()
- public void UnderConstructionFileName()
- public void UnderConstructionImageName()
- public void UnderConstructionOriginalImagePath()
- public void getHtAccessContent()
- public void UnderConstructionIsReady()
- public void UnderConstructionForegroundColour()
- public void UnderConstructionBackgroundColour()
- public void getHtAccessPath()
Hierarchy
Extends
- SilverStripe\View\ViewableData
Constants
Name | Value |
---|---|
UNDER_CONSTRUCTION_FOLDER_NAME | 'offline' |
UNDER_CONSTRUCTION_FILE_NAME | 'offline.php' |
Members
private
- $under_construction_bg_options
- $under_construction_fg_options
protected
- $sc
Methods
public
- __construct()
- CreateDirAndTest()
- CreateFiles()
- UnderConstructionBackgroundColour()
- UnderConstructionFileName() — something like offline
- UnderConstructionFilePath() — something like /var/www/mysite/public/offline/offline.php
- UnderConstructionFolderName() — something like offline
- UnderConstructionForegroundColour()
- UnderConstructionImageName() — something like offline.php.png.
- UnderConstructionImagePath() — something like /var/www/mysite/public/offline/offline.php.img
- UnderConstructionIpAddresses() — arraylist of ips with two values: Ip and IpEscaped
- UnderConstructionIsReady()
- UnderConstructionOriginalImagePath() — something like offline.php.png.
- UnderConstructionUrlPath() — something like https://mysite.com/offline/offline.php.
- getHtAccessContent()
- getHtAccessPath()
- getSiteConfig()
- go_offline_link()
- go_online_link()