.. include:: /Includes.rst.txt .. _configuration-api: ================= Configuration API ================= In order to access the :ref:`extension configuration `, a slim PHP API exists. Each configuration option is accessible by an appropriate class method. .. php:namespace:: EliasHaeussler\Typo3Warming\Configuration .. php:class:: Configuration API to access all available extension configuration options. .. php:method:: getCrawler() Get the configured :ref:`crawler class `. :returntype: :php:`class-string` .. php:method:: getCrawlerOptions() Get the configured :ref:`crawler options `. :returntype: array .. php:method:: getVerboseCrawler() Get the configured :ref:`verbose crawler class `. :returntype: :php:`class-string` .. php:method:: getVerboseCrawlerOptions() Get the configured :ref:`verbose crawler options `. :returntype: array .. php:method:: getLimit() Get the configured :ref:`crawler limit `. :returntype: int .. php:method:: getExcludePatterns() Get the configured :ref:`exclude patterns `. :returntype: :php:`list` .. php:method:: getStrategy() Get the configured :ref:`crawling strategy `. :returntype: string|null .. php:method:: isEnabledInPageTree() Check whether cache warmup from :ref:`page tree ` is enabled. :returntype: bool .. php:method:: getSupportedDoktypes() Get all :ref:`doktypes ` that support cache warmup from page tree. :returntype: :php:`list` .. php:method:: isEnabledInToolbar() Check whether cache warmup from :ref:`toolbar ` is enabled. :returntype: bool .. php:method:: getUserAgent() Get the calculated user-agent. :returntype: string .. seealso:: View the sources on GitHub: - `Configuration `__