Sunnysideup\TemplateOverview\Api\AllLinks
Synopsis
class AllLinks
extends AllLinksProviderBase
{
- // members
- public $archiveCMSLinks;
- protected array $allNonCMSLinks = ;
- protected array $pagesOnFrontEnd = ;
- protected array $dataObjectsOnFrontEnd = ;
- protected array $otherControllerMethods = ;
- protected array $customNonCMSLinks = ;
- protected array $templateoverviewtestsLinks = ;
- protected array $allCMSLinks = ;
- protected array $pagesInCMS = ;
- protected array $dataObjectsInCMS = ;
- protected array $modelAdmins = ;
- protected array $reportLinks = ;
- protected array $leftAndMainLnks = ;
- protected array $customCMSLinks = ;
- private static array $exclude_list = ;
- private static integer $number_of_examples = 1;
- private static array $custom_links = ;
- private static array $controller_name_space_filter = ;
- // Inherited members from AllLinksProviderBase
- protected integer $numberOfExamples;
- // methods
- public static void is_admin_link()
- public static string sanitise_class_name()
- public void getAllLinks()
- public array ListOfAllModelAdmins()
- public array ListOfAllArchiveCMSLinks()
- public void getCustomisedLinks()
- public void ListOfAllControllerMethods()
- public void ListOfAllTemplateoverviewtestsLinks()
- public void ListOfDataObjectsLinks()
- public array ListOfPagesLinks()
- public array ListOfAllLeftAndMains()
- public array ListOfAllReports()
- protected void addToArrayOfLinks()
- // Inherited methods from AllLinksProviderBase
- public void setNumberOfExamples()
- public void getNumberOfExamples()
- public array getListOfAllClasses()
- protected void isValidClass()
- protected array arrayExcept()
- protected void tableExists()
Hierarchy
Members
private
- $controller_name_space_filter — array
- $custom_links — array
- $exclude_list
—
array
url snippets that if found in links should exclude the link altogether. - $number_of_examples — int
protected
- $allCMSLinks — array
- $allNonCMSLinks — array
- $customCMSLinks — array
- $customNonCMSLinks — array
- $dataObjectsInCMS — array
- $dataObjectsOnFrontEnd — array
- $leftAndMainLnks — array
- $modelAdmins — array
- $numberOfExamples
- $otherControllerMethods — array
- $pagesInCMS — array
- $pagesOnFrontEnd — array
- $reportLinks — array
- $templateoverviewtestsLinks — array
public
- $archiveCMSLinks — array
Methods
protected
- addToArrayOfLinks() — Pushes an array of items to an array.
public
- ListOfAllArchiveCMSLinks() — returns a list of all archive links.
- ListOfAllControllerMethods()
- ListOfAllLeftAndMains()
- ListOfAllModelAdmins() — returns a list of all model admin links.
- ListOfAllReports() — returns a list of all reports.
- ListOfAllTemplateoverviewtestsLinks()
- ListOfDataObjectsLinks()
- ListOfPagesLinks() — Takes {@link #$classNames}, gets the URL of the first instance of it (will exclude extensions of the class) and appends to the {@link #$urls} list to be checked.
- getAllLinks() — returns an array of allNonCMSLinks => [] , allCMSLinks => [], otherControllerMethods => [].
- getCustomisedLinks()
- is_admin_link()
- sanitise_class_name() — Sanitise a model class' name for inclusion in a link.
Inherited from Sunnysideup\TemplateOverview\Api\AllLinksProviderBase
protected
- arrayExcept() — Takes an array, takes one item out, and returns new array.
- isValidClass()
- tableExists()
public
- getListOfAllClasses() — returns a list of all SiteTree Classes.
- getNumberOfExamples()
- setNumberOfExamples()