Sunnysideup\TemplateOverview\Control\CheckAllTemplatesResponseController
Synopsis
class CheckAllTemplatesResponseController
extends Controller
implements
Flushable
{
- // members
- private static array $allowed_actions = ;
- private static boolean $use_default_admin = true;
- private static string $username = '';
- private static string $password = '';
- private static string $url_segment = 'admin/templateoverviewsmoketestresponse';
- private static boolean $use_w3_validation = false;
- private static boolean $create_diff = false;
- private $guzzleCookieJar;
- private $guzzleClient;
- private boolean $guzzleHasError = false;
- private boolean $isSuccess = false;
- private Member $member;
- private string $rawResponse = '';
- private bool $debug = false;
- // methods
- public static void flush()
- public static void get_user_email()
- public static void get_password()
- public static void get_test_user()
- public void testone()
- public void getTestUser()
- protected mixed guzzleSendRequest()
- protected void isJson()
- private void testURL()
- private void guzzleSetup()
- private void deleteUser()
Hierarchy
Extends
- SilverStripe\Control\Controller
Implements
- SilverStripe\Core\Flushable
Members
private
- $allowed_actions
—
array
Defines methods that can be called directly. - $create_diff
- $debug — Sunnysideup\TemplateOverview\Control\bool
- $guzzleClient
- $guzzleCookieJar
- $guzzleHasError
- $isSuccess
- $member
—
SilverStripe\Security\Member
temporary Admin used to log in. - $password
- $rawResponse
- $url_segment
- $use_default_admin
- $use_w3_validation
- $username
Methods
private
- deleteUser()
- guzzleSetup() — creates the basic curl.
- testURL() — ECHOES the result of testing the URL....
protected
public
- flush()
- getTestUser()
- get_password()
- get_test_user()
- get_user_email()
- testone() — Main function has two streams: 1. check on url specified in GET variable.