TYPO3  7.6
Functions | Variables
generate-list.php File Reference

Go to the source code of this file.

Functions

 buildSubdomain (&$node, $tldParts)
 
 writeNode ($fp, $valueTree, $key=null, $indent=0)
 

Variables

const LIST_URL 'http://mxr.mozilla.org/mozilla-central/source/netwerk/dns/effective_tld_names.dat?raw=1'
 
const OUTPUT_FILE dirname(__FILE__) . '/public-suffix-list.php'
 
 try
 
 $response = $request->send()
 
if(200!=$response->getStatus()) $list = $response->getBody()
 
if(false===strpos($list,
'//===BEGIN ICANN DOMAINS==='))
if(!($fp=@fopen(OUTPUT_FILE,
'wt'))) catch(Exception $e) 
$tldTree = array()
 
 $license = true
 

Function Documentation

buildSubdomain ( $node,
  $tldParts 
)

Definition at line 16 of file generate-list.php.

writeNode (   $fp,
  $valueTree,
  $key = null,
  $indent = 0 
)

Definition at line 29 of file generate-list.php.

Variable Documentation

$license = true

Definition at line 75 of file generate-list.php.

if (200!=$response->getStatus()) $list = $response->getBody()

Definition at line 62 of file generate-list.php.

Referenced by UserSettingsController\addToList(), DatabaseConnection\cleanIntList(), ContentObjectRenderer\clearTSProperties(), GeneralUtility\cmpFQDN(), GeneralUtility\cmpIP(), GeneralUtility\cmpIPv4(), GeneralUtility\cmpIPv6(), DatabaseIntegrityCheck\countRecords(), IndexSearchRepository\execFinalQuery(), SearchFormController\execFinalQuery(), ExtensionManagementUtility\executePositionedStringInsertion(), GeneralUtility\expandList(), AdministrationRepository\extGetTreeList(), Indexer\extractLinks(), ImportExport\flatDBrels(), ImportExport\flatSoftRefs(), IndexSearchRepository\freeIndexUidWhere(), SearchFormController\freeIndexUidWhere(), DataHandler\getExcludeListArray(), AuthenticationService\getGroups(), AbstractRecordCollection\getItemUidList(), SchedulerModuleController\getRegisteredClasses(), SchedulerModuleController\getRegisteredTaskGroups(), IndexSearchRepository\getResultRows_SQLpointer(), SearchFormController\getResultRows_SQLpointer(), TemplateService\getRootlineLevel(), BackendUtility\getSQLselectableList(), InitialDatabaseSchemaUpdate\getUserInput(), GeneralUtility\implodeAttributes(), CrawlerHook\indexExtUrl(), GeneralUtility\inList(), BackendUtility\isModuleSetInTBE_MODULES(), DeletedRecordsCommand\main_autoFix(), OrphanRecordsCommand\main_autoFix(), VersionsCommand\main_autoFix(), FrontendConfigurationManager\overrideStoragePidIfStartingPointIsSet(), AbstractPlugin\pi_prependFieldsWithTable(), ExtensionManagementUtility\removeDuplicatesForInsertion(), UserSettingsController\removeFromList(), GeneralUtility\rmFromList(), IndexSearchRepository\sectionTableWhere(), SearchFormController\sectionTableWhere(), QueryGenerator\setAndCleanUpExternalLists(), OnTheFly\setProviderList(), and DoubleMetaPhoneUtility\StringAt().

$response = $request->send()

Definition at line 57 of file generate-list.php.

Referenced by Swift_Events_ResponseEvent\__construct(), HTTP_Request2_SOCKS5\__construct(), Swift_Plugins_PopBeforeSmtpPlugin\_assertOk(), Swift_Transport_AbstractSmtpTransport\_assertResponseCode(), Swift_Plugins_PopBeforeSmtpPlugin\_command(), Swift_Transport_EsmtpTransport\_doHeloCommand(), Swift_Transport_AbstractSmtpTransport\_getFullResponse(), HTTP_Request2_Adapter_Mock\addResponse(), FileSystemNavigationFrameController\ajaxExpandCollapse(), PageTreeNavigationController\ajaxExpandCollapse(), Swift_Transport_Esmtp_Auth_NTLMAuthenticator\authenticate(), ExtDirectServer\checkIntegrity(), LinkHandler\checkLink(), HTTP_Request2_SOCKS5\connect(), OnlineMediaController\createAction(), ElementEntityProcessor\createClearDependentElementChildReferenceCallback(), ElementEntityProcessor\createClearDependentElementParentReferenceCallback(), Swift_Events_SimpleEventDispatcher\createResponseEvent(), HTTP_Request2_Adapter_Mock\createResponseFromFile(), HTTP_Request2_Adapter_Mock\createResponseFromString(), ActionTest\deletePage(), RecyclerAjaxController\dispatch(), ShortcutToolbarItem\editFormAction(), LinkBrowserController\encodeTypoLink(), HTTP_Request2_Adapter_Socket\establishTunnel(), Swift_Transport_EsmtpTransport\executeCommand(), Swift_Transport_AbstractSmtpTransport\executeCommand(), LoginController\formAction(), ExtDirectApi\getAPI(), ClickMenuController\getContextMenuAction(), LinkHandler\getErrorMessage(), ExternalLinktype\getErrorMessage(), InternalLinktype\getErrorMessage(), AbstractHandler\getErrorResponse(), ContextHelpAjaxController\getHelpAction(), LinkAnalyzer\getLinkStatistics(), BackendController\getModuleMenu(), LocalizationController\getRecordLocalizeSummary(), LocalizationController\getRecordUidsToCopy(), RsaEncryptionEncoder\getRsaPublicKeyAjaxHandler(), ImageManipulationWizard\getWizardAction(), WidgetRequestHandler\handleRequest(), AbstractWidgetViewHelperTest\initiateSubRequestBuildsRequestProperly(), AjaxLoginHandler\isTimedOutAction(), LiveSearchController\liveSearchAction(), AjaxLoginHandler\loginAction(), AjaxLoginHandler\logoutAction(), DummyController\mainAction(), LoginFramesetController\mainAction(), ElementBrowserFramesetController\mainAction(), OnlineMediaController\mainAction(), ElementHistoryController\mainAction(), ListController\mainAction(), EditController\mainAction(), PageFunctionsController\mainAction(), ElementBrowserController\mainAction(), FileSystemNavigationFrameController\mainAction(), ParseHtmlController\mainAction(), RteController\mainAction(), MoveElementController\mainAction(), TaskModuleController\mainAction(), UserElementsController\mainAction(), ModuleController\mainAction(), TableController\mainAction(), InfoModuleController\mainAction(), AbstractLinkBrowserController\mainAction(), AddController\mainAction(), NewContentElementController\mainAction(), FileController\mainAction(), ColorpickerController\mainAction(), RenameFileController\mainAction(), ElementInformationController\mainAction(), FileUploadController\mainAction(), BackendLayoutWizardController\mainAction(), NewRecordController\mainAction(), EditFileController\mainAction(), ConfigurationView\mainAction(), ReplaceFileController\mainAction(), ImportExportController\mainAction(), SimpleDataHandlerController\mainAction(), BackendController\mainAction(), DatabaseIntegrityView\mainAction(), TypoScriptTemplateModuleController\mainAction(), CreateFolderController\mainAction(), SchedulerModuleController\mainAction(), SetupModuleController\mainAction(), VersionModuleController\mainAction(), PageLayoutController\mainAction(), RecordList\mainAction(), EditDocumentController\mainAction(), ShortcutToolbarItem\menuAction(), Swift_Transport_Esmtp_Auth_NTLMAuthenticator\parseMessage2(), HTTP_Request2_SOCKS5\performAuthentication(), UserSettingsController\processAjaxRequest(), TypoScriptReferenceLoader\processAjaxRequest(), IconFactory\processAjaxRequest(), FileController\processAjaxRequest(), AbstractModule\processRequest(), SpellCheckingController\processRequest(), ShowImageController\processRequest(), HTTP_Request2_Adapter_Socket\readResponse(), AjaxLoginHandler\refreshAction(), ShortcutToolbarItem\removeShortcutAction(), AjaxRequestHandler\renderAsJavascript(), OpendocsToolbarItem\renderMenu(), SystemInformationToolbarItem\renderMenuAction(), Swift_Plugins_BandwidthMonitorPlugin\responseReceived(), Swift_Plugins_LoggerPlugin\responseReceived(), ExtDirectRouter\routeAction(), TaskStatus\saveCollapseState(), TaskStatus\saveSortingState(), SuggestWizard\searchAction(), HTTP_Request2\send(), Swift_Transport_Esmtp_Auth_NTLMAuthenticator\sendMessage3(), HTTP_Request2_Adapter_Mock\sendRequest(), HTTP_Request2_Adapter_Socket\sendRequest(), AbstractJsonView\sendResponse(), AjaxController\switchWorkspaceAction(), and ShortcutToolbarItem\tryAddingTheShortcut().

if (false===strpos($list, '//===BEGIN ICANN DOMAINS===')) if (!($fp=@fopen(OUTPUT_FILE, 'wt'))) catch (Exception $e) $tldTree = array()

Definition at line 74 of file generate-list.php.

const LIST_URL 'http://mxr.mozilla.org/mozilla-central/source/netwerk/dns/effective_tld_names.dat?raw=1'

Helper file for downloading Public Suffix List and converting it to PHP array

You can run this script to update PSL to the current version instead of waiting for a new release of HTTP_Request2.URL to download Public Suffix List from

Definition at line 10 of file generate-list.php.

const OUTPUT_FILE dirname(__FILE__) . '/public-suffix-list.php'

Name of PHP file to write

Definition at line 12 of file generate-list.php.

try
Initial value:
{
$request = new HTTP_Request2(LIST_URL)

Definition at line 55 of file generate-list.php.